Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_psine_Tramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_psine_Tramp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009168/0.0009169, allocations: 97.95 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005172/0.005172, allocations: 169.4 kB / 16.26 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.277/1.277, allocations: 205.4 MB / 222.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04406/0.04406, allocations: 9.072 MB / 279.8 MB, free: 12.15 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004706/0.0004708, allocations: 19.94 kB / 339.8 MB, free: 25.53 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08047/0.08095, allocations: 49.19 MB / 389 MB, free: 8.301 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.01814/0.09912, allocations: 17.85 MB / 406.9 MB, free: 6.379 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01656/0.1157, allocations: 17.79 MB / 424.7 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002146/0.116, allocations: 0 / 424.7 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000784/0.1168, allocations: 270.7 kB / 424.9 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005263/0.1173, allocations: 206.8 kB / 425.1 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1853/0.3027, allocations: 5.99 MB / 431.1 MB, free: 15.97 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003988/0.3031, allocations: 345.6 kB / 431.5 MB, free: 15.97 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.897e-05/0.3031, allocations: 15.81 kB / 431.5 MB, free: 15.97 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002963/0.3034, allocations: 152.9 kB / 431.6 MB, free: 15.97 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.3036, allocations: 98.75 kB / 431.7 MB, free: 15.97 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.3036, allocations: 4.094 kB / 431.7 MB, free: 15.97 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01659/0.3202, allocations: 9.693 MB / 441.4 MB, free: 15.71 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.191e-05/0.3204, allocations: 20.89 kB / 441.4 MB, free: 15.71 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002653/0.3206, allocations: 127.6 kB / 441.6 MB, free: 15.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01164/0.3323, allocations: 4.305 MB / 445.9 MB, free: 14.71 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3323, allocations: 0 / 445.9 MB, free: 14.71 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3323, allocations: 2.906 kB / 445.9 MB, free: 14.71 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.3323, allocations: 2.844 kB / 445.9 MB, free: 14.71 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.002856/0.3352, allocations: 1.087 MB / 447 MB, free: 13.95 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.121e-05/0.3353, allocations: 13.83 kB / 447 MB, free: 13.94 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.98e-05/0.3353, allocations: 50.73 kB / 447 MB, free: 13.9 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.327e-05/0.3354, allocations: 16.22 kB / 447 MB, free: 13.89 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.3355, allocations: 193.2 kB / 447.2 MB, free: 13.67 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.3355, allocations: 2.094 kB / 447.2 MB, free: 13.67 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.3356, allocations: 6.344 kB / 447.2 MB, free: 13.67 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004056/0.336, allocations: 185.2 kB / 447.4 MB, free: 13.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.336, allocations: 5.531 kB / 447.4 MB, free: 13.61 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.336, allocations: 1.375 kB / 447.4 MB, free: 13.61 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.336, allocations: 12.23 kB / 447.4 MB, free: 13.6 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004501/0.3365, allocations: 182.8 kB / 447.6 MB, free: 13.57 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002709/0.3368, allocations: 286.3 kB / 447.9 MB, free: 13.33 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000354/0.3371, allocations: 198.7 kB / 448.1 MB, free: 13.28 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003009/0.3374, allocations: 174 kB / 448.3 MB, free: 13.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1335/0.471, allocations: 91.75 MB / 0.5274 GB, free: 8.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.471, allocations: 34.56 kB / 0.5274 GB, free: 8.207 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 2.635e-06/0.4711, allocations: 0 / 0.5274 GB, free: 8.207 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.001045/0.4721, allocations: 0.5058 MB / 0.5279 GB, free: 7.699 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.4722, allocations: 55.41 kB / 0.5279 GB, free: 7.633 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.4723, allocations: 141.6 kB / 0.5281 GB, free: 7.488 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.4723, allocations: 33.7 kB / 0.5281 GB, free: 7.449 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.704e-05/0.4723, allocations: 89.14 kB / 0.5282 GB, free: 7.359 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.4724, allocations: 151.5 kB / 0.5283 GB, free: 7.215 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/0.4725, allocations: 33.7 kB / 0.5284 GB, free: 7.176 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.495e-05/0.4726, allocations: 330.4 kB / 0.5287 GB, free: 6.848 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/0.4729, allocations: 136.4 kB / 0.5288 GB, free: 6.715 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.4731, allocations: 130.1 kB / 0.5289 GB, free: 6.586 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005225/0.4736, allocations: 315.7 kB / 0.5292 GB, free: 6.273 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.4736, allocations: 3.938 kB / 0.5292 GB, free: 6.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005932/0.4742, allocations: 357.2 kB / 0.5296 GB, free: 5.918 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.4743, allocations: 4 kB / 0.5296 GB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.4743, allocations: 0.7812 kB / 0.5296 GB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.4743, allocations: 3.938 kB / 0.5296 GB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.4745, allocations: 38.06 kB / 0.5296 GB, free: 5.875 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.4745, allocations: 3.984 kB / 0.5296 GB, free: 5.871 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.4746, allocations: 35.67 kB / 0.5297 GB, free: 5.836 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.4747, allocations: 4 kB / 0.5297 GB, free: 5.832 MB / 414.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: 6 (state_Ts.phase,state_ps.phase,state_ph.phase,state_pd.phase,state_dT.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 9.687e-05/0.4748, allocations: 125.8 kB / 0.5298 GB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.4748, allocations: 19.72 kB / 0.5298 GB, free: 5.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007637/0.4756, allocations: 432 kB / 0.5302 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.4756, allocations: 15.97 kB / 0.5302 GB, free: 5.238 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4756, allocations: 2.188 kB / 0.5302 GB, free: 5.238 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.4756, allocations: 0 / 0.5302 GB, free: 5.238 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002345/0.4759, allocations: 289.2 kB / 0.5305 GB, free: 4.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4759, allocations: 0 / 0.5305 GB, free: 4.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.476, allocations: 32.72 kB / 0.5305 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.476, allocations: 0 / 0.5305 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.476, allocations: 8 kB / 0.5305 GB, free: 4.871 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.4761, allocations: 3.938 kB / 0.5305 GB, free: 4.867 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4761, allocations: 0 / 0.5305 GB, free: 4.867 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006443/0.4767, allocations: 402.8 kB / 0.5309 GB, free: 4.461 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.308e-05/0.4768, allocations: 116.7 kB / 0.531 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.4768, allocations: 5.188 kB / 0.531 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.477, allocations: 23.98 kB / 0.5311 GB, free: 4.301 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.477, allocations: 7.984 kB / 0.5311 GB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.4771, allocations: 7.984 kB / 0.5311 GB, free: 4.285 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.643e-05/0.4771, allocations: 100.8 kB / 0.5312 GB, free: 4.188 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4771, allocations: 0 / 0.5312 GB, free: 4.188 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00292/0.48, allocations: 1.113 MB / 0.5323 GB, free: 3.074 MB / 414.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: 6 (state.phase,state_dT.phase,state_pd.phase,state_ph.phase,state_ps.phase,state_Ts.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.004925/0.485, allocations: 2.516 MB / 0.5347 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006243/0.4856, allocations: 328.7 kB / 0.535 GB, free: 408 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4856, allocations: 0 / 0.535 GB, free: 408 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003011/0.4859, allocations: 180.3 kB / 0.5352 GB, free: 228 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008924/0.4868, allocations: 148.5 kB / 0.5354 GB, free: 80 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.4887, allocations: 1.02 MB / 0.5363 GB, free: 15.03 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.4889, allocations: 0.7332 MB / 0.5371 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.775e-05/0.489, allocations: 20.42 kB / 0.5371 GB, free: 14.24 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.203e-05/0.4891, allocations: 51.42 kB / 0.5371 GB, free: 14.2 MB / 430.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4891, allocations: 4 kB / 0.5371 GB, free: 14.19 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05706/0.5462, allocations: 32.96 MB / 0.5693 GB, free: 13.36 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/0.5464, allocations: 226 kB / 0.5695 GB, free: 13.11 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.85/3.396, allocations: 7.938 kB / 0.5695 GB, free: 13.1 MB / 462.1 MB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_psine_Tramp_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_psine_Tramp.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe 2>&1)