Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.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_pramp_Tsine,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_pramp_Tsine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_pramp_Tsine",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.0008964/0.0008963, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001035/0.001035, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04302/0.04302, allocations: 9.062 MB / 279.4 MB, free: 12.27 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.000507/0.000507, allocations: 15.94 kB / 339.2 MB, free: 25.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09853/0.09905, allocations: 49.18 MB / 388.4 MB, free: 8.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.01654/0.1156, allocations: 15.11 MB / 403.5 MB, free: 9.547 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01518/0.1309, allocations: 14.95 MB / 418.4 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.1311, allocations: 0 / 418.4 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007412/0.1319, allocations: 259.1 kB / 418.7 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005146/0.1324, allocations: 207.4 kB / 418.9 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01724/0.1497, allocations: 5.888 MB / 424.8 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004989/0.1502, allocations: 247.4 kB / 425 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.645e-05/0.1502, allocations: 20.25 kB / 425 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004159/0.1507, allocations: 195.3 kB / 425.2 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.1508, allocations: 91.67 kB / 425.3 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.1509, allocations: 4 kB / 425.3 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2127/0.3636, allocations: 9.559 MB / 434.9 MB, free: 17.97 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.887e-05/0.3637, allocations: 25 kB / 434.9 MB, free: 17.97 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.3638, allocations: 65.73 kB / 435 MB, free: 17.94 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008161/0.372, allocations: 2.572 MB / 437.5 MB, free: 17.82 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.372, allocations: 0.5312 kB / 437.5 MB, free: 17.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.128e-06/0.3721, allocations: 1.844 kB / 437.5 MB, free: 17.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.3721, allocations: 3.969 kB / 437.5 MB, free: 17.82 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.004148/0.3762, allocations: 1.091 MB / 438.6 MB, free: 17.14 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.3763, allocations: 10.25 kB / 438.6 MB, free: 17.14 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.83e-05/0.3763, allocations: 49.03 kB / 438.7 MB, free: 17.1 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.3764, allocations: 20.08 kB / 438.7 MB, free: 17.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.3766, allocations: 186.2 kB / 438.9 MB, free: 16.88 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.3766, allocations: 3.469 kB / 438.9 MB, free: 16.88 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.3766, allocations: 7.844 kB / 438.9 MB, free: 16.88 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000366/0.377, allocations: 181.8 kB / 439.1 MB, free: 16.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.377, allocations: 0.75 kB / 439.1 MB, free: 16.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.377, allocations: 4.656 kB / 439.1 MB, free: 16.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.377, allocations: 7.703 kB / 439.1 MB, free: 16.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000429/0.3775, allocations: 188.4 kB / 439.3 MB, free: 16.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000605/0.3781, allocations: 485.3 kB / 439.7 MB, free: 16.56 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.3784, allocations: 183.6 kB / 439.9 MB, free: 16.53 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1365/0.5149, allocations: 92.01 MB / 0.5195 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.515, allocations: 30.56 kB / 0.5195 GB, free: 296 kB / 398.1 MB Notification: Performance of pre-optimization done (n=47): time 2.344e-06/0.515, allocations: 0 / 0.5195 GB, free: 296 kB / 398.1 MB Notification: Performance of matching and sorting (n=47): time 0.001353/0.5164, allocations: 0.9781 MB / 0.5205 GB, free: 15.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.5164, allocations: 59.05 kB / 0.5205 GB, free: 15.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.5166, allocations: 138.7 kB / 0.5206 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.5166, allocations: 25.7 kB / 0.5207 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.358e-05/0.5167, allocations: 91.52 kB / 0.5208 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.808e-05/0.5168, allocations: 148.1 kB / 0.5209 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/0.5168, allocations: 4 kB / 0.5209 GB, free: 14.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.5169, allocations: 332.6 kB / 0.5212 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002288/0.5171, allocations: 125.9 kB / 0.5213 GB, free: 14.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002236/0.5174, allocations: 134.2 kB / 0.5215 GB, free: 14.37 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/0.5176, allocations: 149.3 kB / 0.5216 GB, free: 14.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5176, allocations: 0 / 0.5216 GB, free: 14.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005593/0.5182, allocations: 346.2 kB / 0.5219 GB, free: 14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.5182, allocations: 6.656 kB / 0.5219 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.5182, allocations: 0 / 0.5219 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.5183, allocations: 3.984 kB / 0.5219 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.5184, allocations: 32.33 kB / 0.522 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.5184, allocations: 4 kB / 0.522 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.5186, allocations: 43.16 kB / 0.522 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.5187, allocations: 4 kB / 0.522 GB, free: 13.93 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.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 initialization (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.5188, allocations: 124.9 kB / 0.5221 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.5188, allocations: 19.72 kB / 0.5222 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007183/0.5195, allocations: 429.1 kB / 0.5226 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/0.5196, allocations: 7.984 kB / 0.5226 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5196, allocations: 0 / 0.5226 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.5196, allocations: 0 / 0.5226 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002977/0.5199, allocations: 298.1 kB / 0.5229 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.5199, allocations: 1.531 kB / 0.5229 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.52, allocations: 31.27 kB / 0.5229 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.52, allocations: 0 / 0.5229 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.5201, allocations: 8.547 kB / 0.5229 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.5201, allocations: 0 / 0.5229 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5201, allocations: 0 / 0.5229 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006549/0.5207, allocations: 462.1 kB / 0.5233 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.728e-05/0.5209, allocations: 126.3 kB / 0.5235 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.5209, allocations: 3.75 kB / 0.5235 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.5211, allocations: 19.98 kB / 0.5235 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.49e-05/0.5211, allocations: 21.28 kB / 0.5235 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.5211, allocations: 7.562 kB / 0.5235 GB, free: 12.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.681e-05/0.5212, allocations: 101 kB / 0.5236 GB, free: 12.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5212, allocations: 4 kB / 0.5236 GB, free: 12.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004322/0.5255, allocations: 1.115 MB / 0.5247 GB, free: 11.4 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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007169/0.5327, allocations: 2.545 MB / 0.5272 GB, free: 9.141 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006722/0.5334, allocations: 318.7 kB / 0.5275 GB, free: 8.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5334, allocations: 0 / 0.5275 GB, free: 8.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002772/0.5337, allocations: 172.1 kB / 0.5277 GB, free: 8.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000886/0.5346, allocations: 159.4 kB / 0.5278 GB, free: 8.688 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003564/0.5382, allocations: 0.9762 MB / 0.5288 GB, free: 7.738 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.5385, allocations: 0.7409 MB / 0.5295 GB, free: 6.969 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001299/0.5386, allocations: 15.97 kB / 0.5295 GB, free: 6.953 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.328e-05/0.5387, allocations: 49.55 kB / 0.5295 GB, free: 6.93 MB / 414.1 MB Notification: Performance of SimCode: time 6.32e-07/0.5387, allocations: 3.656 kB / 0.5296 GB, free: 6.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0587/0.5974, allocations: 32.65 MB / 0.5614 GB, free: 6.488 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/0.5977, allocations: 211.2 kB / 0.5616 GB, free: 6.242 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.621/3.219, allocations: 0 / 0.5616 GB, free: 6.242 MB / 446.1 MB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_pramp_Tsine_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_setState_pramp_Tsine.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe 2>&1) Environment - environmentSimulation: