Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007262/0.0007262, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007766/0.0007766, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8543/0.8543, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.02853/0.02853, allocations: 7.518 MB / 266.7 MB, free: 6.215 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_Ts_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_Ts_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_Ts_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_Ts_parameter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 391.7 MB, free: 6.398 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.276e-05/1.447e-05, allocations: 5.234 kB / 391.7 MB, free: 6.395 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.01119/0.01121, allocations: 15.36 MB / 407.1 MB, free: 6.965 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.01235, allocations: 1.659 MB / 408.7 MB, free: 5.301 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.388e-05/0.01237, allocations: 3.938 kB / 408.7 MB, free: 5.297 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004039/0.01277, allocations: 235.8 kB / 409 MB, free: 5.066 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.865e-05/0.0128, allocations: 31.83 kB / 409 MB, free: 5.035 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003849/0.01665, allocations: 2.896 MB / 411.9 MB, free: 2.133 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.875e-05/0.01672, allocations: 59.67 kB / 412 MB, free: 2.074 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.392e-05/0.01675, allocations: 0 / 412 MB, free: 2.074 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.37e-05/0.01682, allocations: 39.84 kB / 412 MB, free: 2.035 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.854e-05/0.01685, allocations: 7.938 kB / 412 MB, free: 2.027 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.726e-06/0.01685, allocations: 0 / 412 MB, free: 2.027 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003095/0.01995, allocations: 3.309 MB / 415.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.105e-05/0.01996, allocations: 4 kB / 415.3 MB, free: 14.71 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.66e-05/0.01999, allocations: 8 kB / 415.3 MB, free: 14.7 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001825/0.02181, allocations: 1.808 MB / 417.1 MB, free: 12.89 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.02182, allocations: 3.984 kB / 417.1 MB, free: 12.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.02182, allocations: 0 / 417.1 MB, free: 12.88 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.02182, allocations: 0 / 417.1 MB, free: 12.88 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004874/0.02231, allocations: 454.8 kB / 417.6 MB, free: 12.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.02235, allocations: 12.62 kB / 417.6 MB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.583e-05/0.02237, allocations: 34.5 kB / 417.6 MB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.974e-05/0.02239, allocations: 0 / 417.6 MB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.486e-05/0.02246, allocations: 105.2 kB / 417.7 MB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.667e-06/0.02246, allocations: 3.938 kB / 417.7 MB, free: 12.22 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.951e-06/0.02247, allocations: 0 / 417.7 MB, free: 12.22 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.309e-05/0.02255, allocations: 45.69 kB / 417.8 MB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.02256, allocations: 0 / 417.8 MB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.02257, allocations: 4 kB / 417.8 MB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.02257, allocations: 7.938 kB / 417.8 MB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.905e-05/0.02259, allocations: 15.98 kB / 417.8 MB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001172/0.02271, allocations: 144.5 kB / 418 MB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.035e-05/0.02275, allocations: 34.5 kB / 418 MB, free: 11.92 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.658e-05/0.02277, allocations: 16.89 kB / 418 MB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01073/0.03349, allocations: 5.742 MB / 423.7 MB, free: 6.145 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.03351, allocations: 30.56 kB / 423.8 MB, free: 6.105 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.03351, allocations: 0 / 423.8 MB, free: 6.105 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001494/0.03366, allocations: 77.62 kB / 423.8 MB, free: 6.023 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.03369, allocations: 51.41 kB / 423.9 MB, free: 5.961 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.643e-05/0.03373, allocations: 93.86 kB / 424 MB, free: 5.859 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.03375, allocations: 29.69 kB / 424 MB, free: 5.824 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.93e-05/0.03376, allocations: 80.14 kB / 424.1 MB, free: 5.742 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.03379, allocations: 31.94 kB / 424.1 MB, free: 5.711 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.143e-05/0.03381, allocations: 13.72 kB / 424.1 MB, free: 5.691 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.132e-05/0.03388, allocations: 318.8 kB / 424.5 MB, free: 5.371 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.533e-05/0.0339, allocations: 12 kB / 424.5 MB, free: 5.359 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.221e-05/0.03391, allocations: 12 kB / 424.5 MB, free: 5.348 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.661e-05/0.03395, allocations: 41.09 kB / 424.5 MB, free: 5.305 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.03395, allocations: 0 / 424.5 MB, free: 5.305 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 4.957e-05/0.034, allocations: 69.56 kB / 424.6 MB, free: 5.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.03401, allocations: 4 kB / 424.6 MB, free: 5.227 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.03402, allocations: 0 / 424.6 MB, free: 5.227 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.03403, allocations: 0 / 424.6 MB, free: 5.227 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.03403, allocations: 8.062 kB / 424.6 MB, free: 5.219 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.03403, allocations: 0 / 424.6 MB, free: 5.219 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.237e-05/0.03404, allocations: 0 / 424.6 MB, free: 5.219 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-06/0.03405, allocations: 0 / 424.6 MB, free: 5.219 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (inletState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.334e-05/0.0341, allocations: 113.8 kB / 424.7 MB, free: 5.098 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-06/0.03411, allocations: 7.984 kB / 424.7 MB, free: 5.09 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.03421, allocations: 175 kB / 424.9 MB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.925e-05/0.03425, allocations: 180.2 kB / 425.1 MB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.022e-05/0.03429, allocations: 176.3 kB / 425.2 MB, free: 4.531 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-05/0.03433, allocations: 188.2 kB / 425.4 MB, free: 4.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.03447, allocations: 384.2 kB / 425.8 MB, free: 3.914 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.242e-05/0.03449, allocations: 108.9 kB / 425.9 MB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.97e-05/0.03452, allocations: 108.9 kB / 426 MB, free: 3.688 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.705e-05/0.03456, allocations: 180.2 kB / 426.2 MB, free: 3.504 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.379e-05/0.03461, allocations: 184.2 kB / 426.4 MB, free: 3.316 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.78e-05/0.03464, allocations: 180.3 kB / 426.5 MB, free: 3.133 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.089e-05/0.03468, allocations: 184.2 kB / 426.7 MB, free: 2.945 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.448e-05/0.03478, allocations: 307.7 kB / 427 MB, free: 2.621 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.199e-05/0.03481, allocations: 108.9 kB / 427.1 MB, free: 2.508 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.005e-05/0.03486, allocations: 184.2 kB / 427.3 MB, free: 2.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.88e-05/0.03491, allocations: 105 kB / 427.4 MB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.03495, allocations: 184.2 kB / 427.6 MB, free: 2.023 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.03498, allocations: 105 kB / 427.7 MB, free: 1.914 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.47e-05/0.03502, allocations: 99.27 kB / 427.8 MB, free: 1.816 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03502, allocations: 0 / 427.8 MB, free: 1.816 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005331/0.03555, allocations: 390.8 kB / 428.2 MB, free: 1.434 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001295/0.03685, allocations: 1.413 MB / 429.6 MB, free: 15.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.064e-05/0.03691, allocations: 19.94 kB / 429.6 MB, free: 15.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.03691, allocations: 4 kB / 429.6 MB, free: 15.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.504e-06/0.03691, allocations: 4 kB / 429.6 MB, free: 15.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.03723, allocations: 486.9 kB / 430.1 MB, free: 15.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009179/0.03815, allocations: 1.547 MB / 431.6 MB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.517e-05/0.03819, allocations: 59.34 kB / 431.7 MB, free: 13.78 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.427e-05/0.0382, allocations: 4 kB / 431.7 MB, free: 13.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.986e-05/0.03822, allocations: 8.5 kB / 431.7 MB, free: 13.77 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.03822, allocations: 0 / 431.7 MB, free: 13.77 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1416/0.1798, allocations: 16.31 MB / 448 MB, free: 92.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.782/6.962, allocations: 6.125 kB / 448 MB, free: 92.36 MB / 410.7 MB " [Timeout remaining time 653] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_Ts_parameter_fmu --startTime=0 --stopTime=2 --stepSize=1 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_Ts_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.573233022354543] Failed to read output from testmodel.py, exit status != 0: 7.048545909114182 7.055443244 7.032180691 Calling exit ...