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.001284/0.001284, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001469/0.001469, allocations: 211.7 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.363/1.363, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.04941/0.04941, allocations: 9.143 MB / 321.6 MB, free: 10.21 MB / 254.1 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 0.003015/0.003015, allocations: 71.89 kB / 446.5 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.137, allocations: 54.94 MB / 0.4897 GB, free: 9.539 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.02124/0.1583, allocations: 15.4 MB / 0.5047 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002114/0.1604, allocations: 1.651 MB / 0.5063 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.745e-05/0.1604, allocations: 0 / 0.5063 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006428/0.1611, allocations: 231.9 kB / 0.5066 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.309e-05/0.1611, allocations: 31.83 kB / 0.5066 GB, free: 8.164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006889/0.168, allocations: 2.869 MB / 0.5094 GB, free: 5.289 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.911e-05/0.1681, allocations: 55.73 kB / 0.5094 GB, free: 5.234 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.1681, allocations: 7.984 kB / 0.5095 GB, free: 5.227 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.608e-05/0.1682, allocations: 27.86 kB / 0.5095 GB, free: 5.199 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.855e-05/0.1683, allocations: 11.94 kB / 0.5095 GB, free: 5.188 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.702e-06/0.1683, allocations: 0 / 0.5095 GB, free: 5.188 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005487/0.1738, allocations: 3.282 MB / 0.5127 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.1738, allocations: 0 / 0.5127 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.1738, allocations: 11.94 kB / 0.5127 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002939/0.1767, allocations: 1.555 MB / 0.5142 GB, free: 336 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.1767, allocations: 4 kB / 0.5142 GB, free: 332 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1767, allocations: 0 / 0.5142 GB, free: 332 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.1767, allocations: 3.938 kB / 0.5142 GB, free: 328 kB / 382.1 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.1938/0.3706, allocations: 446 kB / 0.5147 GB, free: 30.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.3706, allocations: 8.438 kB / 0.5147 GB, free: 30.29 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.13e-05/0.3707, allocations: 35.02 kB / 0.5147 GB, free: 30.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.3707, allocations: 1.688 kB / 0.5147 GB, free: 30.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.654e-05/0.3708, allocations: 110.5 kB / 0.5148 GB, free: 30.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.3708, allocations: 1.625 kB / 0.5148 GB, free: 30.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.3708, allocations: 0 / 0.5148 GB, free: 30.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.3709, allocations: 39.56 kB / 0.5148 GB, free: 30.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.3709, allocations: 3.938 kB / 0.5149 GB, free: 30.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-06/0.3709, allocations: 0.5625 kB / 0.5149 GB, free: 30.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.3709, allocations: 1.875 kB / 0.5149 GB, free: 30.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.959e-05/0.371, allocations: 18.48 kB / 0.5149 GB, free: 30.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001335/0.3711, allocations: 136.1 kB / 0.515 GB, free: 29.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.28e-05/0.3712, allocations: 28.2 kB / 0.515 GB, free: 29.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.066e-05/0.3712, allocations: 20.12 kB / 0.515 GB, free: 29.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02274/0.3939, allocations: 5.726 MB / 0.5206 GB, free: 29.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.3939, allocations: 38.8 kB / 0.5207 GB, free: 29.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.334e-06/0.3939, allocations: 0 / 0.5207 GB, free: 29.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002092/0.3942, allocations: 81.72 kB / 0.5208 GB, free: 29.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.3942, allocations: 52.25 kB / 0.5208 GB, free: 29.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.506e-05/0.3942, allocations: 95.23 kB / 0.5209 GB, free: 29.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.533e-06/0.3942, allocations: 25.7 kB / 0.5209 GB, free: 29.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.452e-05/0.3943, allocations: 80.14 kB / 0.521 GB, free: 29.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.3943, allocations: 22.7 kB / 0.521 GB, free: 29.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.3943, allocations: 17.56 kB / 0.521 GB, free: 29.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.582e-05/0.3944, allocations: 317.9 kB / 0.5213 GB, free: 29.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.343e-05/0.3944, allocations: 13.78 kB / 0.5214 GB, free: 29.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.93e-05/0.3944, allocations: 12.09 kB / 0.5214 GB, free: 29.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.56e-05/0.3945, allocations: 40.08 kB / 0.5214 GB, free: 29.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3945, allocations: 5.031 kB / 0.5214 GB, free: 29.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.726e-05/0.3945, allocations: 60.97 kB / 0.5215 GB, free: 29.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.3946, allocations: 10.09 kB / 0.5215 GB, free: 29.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3946, allocations: 0 / 0.5215 GB, free: 29.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.3946, allocations: 0.8125 kB / 0.5215 GB, free: 29.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.443e-06/0.3946, allocations: 0.7969 kB / 0.5215 GB, free: 29.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.3946, allocations: 1.188 kB / 0.5215 GB, free: 29.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.254e-05/0.3946, allocations: 11.88 kB / 0.5215 GB, free: 29.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.3946, allocations: 0 / 0.5215 GB, free: 29.07 MB / 382.1 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 4.886e-05/0.3947, allocations: 111.1 kB / 0.5216 GB, free: 28.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.909e-06/0.3947, allocations: 9.781 kB / 0.5216 GB, free: 28.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.3948, allocations: 175.5 kB / 0.5218 GB, free: 28.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.341e-05/0.3948, allocations: 179.5 kB / 0.5219 GB, free: 28.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.406e-05/0.3948, allocations: 180.8 kB / 0.5221 GB, free: 28.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.197e-05/0.3948, allocations: 178.9 kB / 0.5223 GB, free: 28.24 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.395, allocations: 383.2 kB / 0.5226 GB, free: 27.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-05/0.395, allocations: 103 kB / 0.5227 GB, free: 27.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.532e-05/0.395, allocations: 109.6 kB / 0.5229 GB, free: 27.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.498e-05/0.395, allocations: 185.4 kB / 0.523 GB, free: 27.44 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.3951, allocations: 185.9 kB / 0.5232 GB, free: 27.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.269e-05/0.3951, allocations: 183.3 kB / 0.5234 GB, free: 27.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.48e-05/0.3951, allocations: 181.9 kB / 0.5236 GB, free: 26.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.319e-05/0.3952, allocations: 307.3 kB / 0.5238 GB, free: 26.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.294e-05/0.3952, allocations: 106.8 kB / 0.5239 GB, free: 26.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.949e-05/0.3953, allocations: 187.8 kB / 0.5241 GB, free: 26.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.257e-05/0.3953, allocations: 110.7 kB / 0.5242 GB, free: 26.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.3954, allocations: 178.7 kB / 0.5244 GB, free: 25.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.3954, allocations: 106.7 kB / 0.5245 GB, free: 25.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.117e-05/0.3954, allocations: 102.7 kB / 0.5246 GB, free: 25.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3954, allocations: 0 / 0.5246 GB, free: 25.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001008/0.3964, allocations: 397.2 kB / 0.525 GB, free: 25.79 MB / 382.1 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.001992/0.3984, allocations: 1.361 MB / 0.5263 GB, free: 24.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.301e-05/0.3985, allocations: 17.81 kB / 0.5263 GB, free: 24.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3985, allocations: 0 / 0.5263 GB, free: 24.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.665e-06/0.3985, allocations: 1.062 kB / 0.5263 GB, free: 24.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/0.3989, allocations: 488.8 kB / 0.5268 GB, free: 24.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.4001, allocations: 1.555 MB / 0.5283 GB, free: 23.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.426e-05/0.4001, allocations: 60.81 kB / 0.5284 GB, free: 22.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.03e-05/0.4002, allocations: 5.656 kB / 0.5284 GB, free: 22.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/0.4002, allocations: 11.73 kB / 0.5284 GB, free: 22.96 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4002, allocations: 0 / 0.5284 GB, free: 22.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04978/0.45, allocations: 16.13 MB / 0.5441 GB, free: 16.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.34, allocations: 4.031 kB / 0.5441 GB, free: 16.02 MB / 382.1 MB " [Timeout remaining time 649] (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: 13.761798029299825] Failed to read output from testmodel.py, exit status != 0: 11.45153319183737 11.461585634 11.282464949 Calling exit ...