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.001035/0.001035, allocations: 115.7 kB / 16.42 MB, free: 6.508 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.001228/0.001228, allocations: 190.5 kB / 17.35 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.336/1.336, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04429/0.04429, allocations: 9.091 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.001438/0.001438, allocations: 66.59 kB / 388.1 MB, free: 47.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0769/0.07835, allocations: 48.17 MB / 436.3 MB, free: 7.641 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.01648/0.09486, allocations: 18.14 MB / 454.4 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0158/0.1107, allocations: 17.54 MB / 472 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001874/0.1109, allocations: 4 kB / 472 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007195/0.1117, allocations: 294.6 kB / 472.3 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004877/0.1122, allocations: 218.5 kB / 472.5 MB, free: 3.324 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.01654/0.1288, allocations: 7.3 MB / 479.8 MB, free: 12.01 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004143/0.1292, allocations: 346.1 kB / 480.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.851e-05/0.1292, allocations: 20.3 kB / 480.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002669/0.1295, allocations: 167.3 kB / 480.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.1297, allocations: 91.59 kB / 480.4 MB, free: 11.4 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.1297, allocations: 11.98 kB / 480.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01657/0.1463, allocations: 10.62 MB / 491 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.505e-05/0.1464, allocations: 23.86 kB / 491 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.1465, allocations: 99.47 kB / 491.1 MB, free: 0.625 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009562/0.1561, allocations: 4.455 MB / 495.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.1562, allocations: 4 kB / 495.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1562, allocations: 0 / 495.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1562, allocations: 0 / 495.6 MB, free: 12.16 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.002177/0.1584, allocations: 1.103 MB / 496.7 MB, free: 11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.1584, allocations: 11.97 kB / 496.7 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.008e-05/0.1585, allocations: 19.8 kB / 496.7 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.1586, allocations: 190.6 kB / 496.9 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.1586, allocations: 8 kB / 496.9 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.1586, allocations: 0 / 496.9 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003508/0.159, allocations: 168.2 kB / 497.1 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.159, allocations: 4 kB / 497.1 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.159, allocations: 0 / 497.1 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.159, allocations: 11.98 kB / 497.1 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003855/0.1594, allocations: 156.3 kB / 497.3 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002699/0.1597, allocations: 293.9 kB / 497.5 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/0.16, allocations: 182.9 kB / 497.7 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/0.1603, allocations: 157.7 kB / 497.9 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3232/0.4835, allocations: 93.61 MB / 0.5776 GB, free: 40.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.4836, allocations: 38.61 kB / 0.5777 GB, free: 40 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 2.505e-06/0.4836, allocations: 0 / 0.5777 GB, free: 40 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.0008286/0.4844, allocations: 476.9 kB / 0.5781 GB, free: 39.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.384e-05/0.4845, allocations: 59.39 kB / 0.5782 GB, free: 39.47 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.122e-05/0.4845, allocations: 135.1 kB / 0.5783 GB, free: 39.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.4846, allocations: 33.7 kB / 0.5783 GB, free: 39.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.379e-05/0.4846, allocations: 85.14 kB / 0.5784 GB, free: 39.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.55e-05/0.4847, allocations: 147.8 kB / 0.5786 GB, free: 39.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.585e-05/0.4847, allocations: 49.69 kB / 0.5786 GB, free: 39.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.492e-05/0.4848, allocations: 333.5 kB / 0.5789 GB, free: 38.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.485, allocations: 120.4 kB / 0.579 GB, free: 38.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.4852, allocations: 116.1 kB / 0.5792 GB, free: 38.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004057/0.4856, allocations: 291.1 kB / 0.5794 GB, free: 38.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.4856, allocations: 4 kB / 0.5794 GB, free: 38.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004727/0.4861, allocations: 333.2 kB / 0.5797 GB, free: 37.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.4861, allocations: 4 kB / 0.5798 GB, free: 37.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.4861, allocations: 0 / 0.5798 GB, free: 37.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.4862, allocations: 0 / 0.5798 GB, free: 37.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.4863, allocations: 27.97 kB / 0.5798 GB, free: 37.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.4863, allocations: 0 / 0.5798 GB, free: 37.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.4865, allocations: 43.36 kB / 0.5798 GB, free: 37.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.4865, allocations: 4 kB / 0.5798 GB, free: 37.77 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 7.174e-05/0.4866, allocations: 128.7 kB / 0.5799 GB, free: 37.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.4866, allocations: 23.7 kB / 0.58 GB, free: 37.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006027/0.4872, allocations: 405.5 kB / 0.5804 GB, free: 37.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.4872, allocations: 4 kB / 0.5804 GB, free: 37.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4872, allocations: 0 / 0.5804 GB, free: 37.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.667e-05/0.4873, allocations: 112.8 kB / 0.5805 GB, free: 37.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.4873, allocations: 4 kB / 0.5805 GB, free: 37.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.4875, allocations: 15.98 kB / 0.5805 GB, free: 37.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.4875, allocations: 7.984 kB / 0.5805 GB, free: 37.07 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000562/0.4881, allocations: 434.8 kB / 0.5809 GB, free: 36.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005086/0.4886, allocations: 0.5114 MB / 0.5814 GB, free: 36.12 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002281/0.4888, allocations: 156.4 kB / 0.5816 GB, free: 35.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.605e-05/0.4889, allocations: 107 kB / 0.5817 GB, free: 35.86 MB / 414.1 MB Notification: Performance of Backend: time 4.41e-07/0.4889, allocations: 0 / 0.5817 GB, free: 35.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004172/0.4931, allocations: 1.851 MB / 0.5835 GB, free: 34.36 MB / 414.1 MB Notification: Performance of SimCode: time 0.0004931/0.4936, allocations: 0.7759 MB / 0.5842 GB, free: 33.54 MB / 414.1 MB Notification: Performance of Templates: time 0.02849/0.5221, allocations: 29.17 MB / 0.6127 GB, free: 4.469 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)