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: translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 116.2 kB / 16.42 MB, free: 6.5 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.001215/0.001216, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.249/1.249, allocations: 205.1 MB / 223.2 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04363/0.04363, allocations: 9.094 MB / 279.7 MB, free: 2.965 MB / 222.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.001465/0.001465, allocations: 71.03 kB / 388.1 MB, free: 47.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06145/0.06293, allocations: 48.17 MB / 436.3 MB, free: 7.664 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.01634/0.0793, allocations: 18.13 MB / 454.4 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01628/0.09561, allocations: 17.54 MB / 472 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.09579, allocations: 4 kB / 472 MB, free: 3.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007005/0.09653, allocations: 330.6 kB / 472.3 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005125/0.09705, allocations: 242.6 kB / 472.5 MB, free: 3.297 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01614/0.1132, allocations: 7.677 MB / 480.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000396/0.1136, allocations: 346.1 kB / 480.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.803e-05/0.1137, allocations: 28.22 kB / 480.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002973/0.114, allocations: 155.4 kB / 480.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.1142, allocations: 103.5 kB / 480.8 MB, free: 10.99 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.1142, allocations: 8 kB / 480.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01734/0.1315, allocations: 10.62 MB / 491.5 MB, free: 352 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.512e-05/0.1316, allocations: 27.84 kB / 491.5 MB, free: 324 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.1318, allocations: 95.48 kB / 491.6 MB, free: 228 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00962/0.1414, allocations: 4.473 MB / 496 MB, free: 11.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1414, allocations: 0 / 496 MB, free: 11.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1414, allocations: 0 / 496 MB, free: 11.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1415, allocations: 3.938 kB / 496 MB, free: 11.73 MB / 382.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.002238/0.1437, allocations: 1.13 MB / 497.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.1438, allocations: 11.97 kB / 497.2 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.314e-05/0.1438, allocations: 19.86 kB / 497.2 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.144, allocations: 194.7 kB / 497.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.144, allocations: 8 kB / 497.4 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.144, allocations: 4 kB / 497.4 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003486/0.1444, allocations: 168.2 kB / 497.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-06/0.1444, allocations: 0 / 497.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.1444, allocations: 3.984 kB / 497.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.1444, allocations: 11.98 kB / 497.6 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003904/0.1448, allocations: 152.3 kB / 497.7 MB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002893/0.1451, allocations: 298.1 kB / 498 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003193/0.1454, allocations: 186.8 kB / 498.2 MB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002545/0.1457, allocations: 153.7 kB / 498.4 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2774/0.4231, allocations: 93.62 MB / 0.5781 GB, free: 39.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.4231, allocations: 42.39 kB / 0.5781 GB, free: 39.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 2.234e-06/0.4231, allocations: 3.75 kB / 0.5782 GB, free: 39.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.0008035/0.424, allocations: 475.2 kB / 0.5786 GB, free: 39.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.186e-05/0.424, allocations: 51.41 kB / 0.5787 GB, free: 38.97 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.503e-05/0.4241, allocations: 142.6 kB / 0.5788 GB, free: 38.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.4241, allocations: 29.7 kB / 0.5788 GB, free: 38.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.191e-05/0.4241, allocations: 89.12 kB / 0.5789 GB, free: 38.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.94e-05/0.4242, allocations: 156.4 kB / 0.5791 GB, free: 38.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.133e-05/0.4242, allocations: 45.66 kB / 0.5791 GB, free: 38.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.966e-05/0.4243, allocations: 330.8 kB / 0.5794 GB, free: 38.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.4245, allocations: 124.4 kB / 0.5795 GB, free: 38.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.4247, allocations: 116 kB / 0.5796 GB, free: 37.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004072/0.4251, allocations: 295.2 kB / 0.5799 GB, free: 37.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.4251, allocations: 0 / 0.5799 GB, free: 37.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004641/0.4256, allocations: 327.2 kB / 0.5802 GB, free: 37.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.4256, allocations: 4 kB / 0.5802 GB, free: 37.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.4256, allocations: 0 / 0.5802 GB, free: 37.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.4256, allocations: 4 kB / 0.5802 GB, free: 37.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.4258, allocations: 27.97 kB / 0.5803 GB, free: 37.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.351e-06/0.4258, allocations: 0 / 0.5803 GB, free: 37.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.4259, allocations: 42.38 kB / 0.5803 GB, free: 37.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.4259, allocations: 3.984 kB / 0.5803 GB, free: 37.27 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 6.496e-05/0.426, allocations: 126.6 kB / 0.5804 GB, free: 37.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.426, allocations: 19.86 kB / 0.5805 GB, free: 37.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000591/0.4266, allocations: 405.9 kB / 0.5808 GB, free: 36.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.4267, allocations: 0 / 0.5808 GB, free: 36.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4267, allocations: 1.125 kB / 0.5808 GB, free: 36.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.334e-05/0.4267, allocations: 119.5 kB / 0.581 GB, free: 36.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.4267, allocations: 0 / 0.581 GB, free: 36.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.4269, allocations: 19.98 kB / 0.581 GB, free: 36.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.4269, allocations: 18.22 kB / 0.581 GB, free: 36.57 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005425/0.4275, allocations: 420.7 kB / 0.5814 GB, free: 36.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004947/0.428, allocations: 0.5164 MB / 0.5819 GB, free: 35.62 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002218/0.4282, allocations: 156.4 kB / 0.582 GB, free: 35.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.454e-05/0.4283, allocations: 107.2 kB / 0.5821 GB, free: 35.36 MB / 414.1 MB Notification: Performance of Backend: time 3.6e-07/0.4283, allocations: 0 / 0.5821 GB, free: 35.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004079/0.4323, allocations: 1.878 MB / 0.584 GB, free: 33.83 MB / 414.1 MB Notification: Performance of SimCode: time 0.0004348/0.4328, allocations: 0.7837 MB / 0.5847 GB, free: 33 MB / 414.1 MB Notification: Performance of Templates: time 0.02692/0.4597, allocations: 29.12 MB / 0.6132 GB, free: 3.973 MB / 414.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.makefile (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 & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.pipe 2>&1)