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.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.Parameter.State_Ts_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_Ts_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 108.3 kB / 16.41 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.001069/0.001069, allocations: 188.3 kB / 17.35 MB, free: 5.734 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.227/1.227, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0445/0.0445, allocations: 9.092 MB / 279.7 MB, free: 2.938 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.001517/0.001517, allocations: 65.06 kB / 388.1 MB, free: 47.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06576/0.06729, allocations: 48.18 MB / 436.3 MB, free: 7.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.01598/0.08329, allocations: 16.89 MB / 453.2 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.08504, allocations: 1.857 MB / 455 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.453e-05/0.08508, allocations: 0 / 455 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005591/0.08568, allocations: 291.8 kB / 455.3 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.672e-05/0.08573, allocations: 31.83 kB / 455.4 MB, free: 4.469 MB / 334.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'. Notification: Performance of NFTyping.typeClassSections: time 0.005847/0.09158, allocations: 2.913 MB / 458.3 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.953e-05/0.09169, allocations: 51.73 kB / 458.3 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.475e-05/0.09173, allocations: 7.984 kB / 458.3 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.576e-05/0.0918, allocations: 31.81 kB / 458.4 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.831e-05/0.09184, allocations: 15.92 kB / 458.4 MB, free: 1.445 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.935e-06/0.09186, allocations: 0 / 458.4 MB, free: 1.445 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006477/0.09834, allocations: 4.952 MB / 463.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.09837, allocations: 7.984 kB / 463.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.165e-05/0.09841, allocations: 15.94 kB / 463.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002756/0.1012, allocations: 1.987 MB / 465.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.1012, allocations: 0 / 465.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1012, allocations: 3.938 kB / 465.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.856e-06/0.1012, allocations: 4 kB / 465.4 MB, free: 10.46 MB / 350.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.000606/0.1018, allocations: 0.5053 MB / 465.9 MB, free: 9.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.1019, allocations: 8.031 kB / 465.9 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.1019, allocations: 11.95 kB / 465.9 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.839e-05/0.102, allocations: 170.9 kB / 466 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.102, allocations: 0 / 466 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.192e-06/0.102, allocations: 0 / 466 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.887e-05/0.1021, allocations: 41.69 kB / 466.1 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.1021, allocations: 4 kB / 466.1 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.1022, allocations: 7.922 kB / 466.1 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.1022, allocations: 0 / 466.1 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.169e-05/0.1022, allocations: 12 kB / 466.1 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.1023, allocations: 165.6 kB / 466.3 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.347e-05/0.1024, allocations: 42.58 kB / 466.3 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.3e-05/0.1024, allocations: 16.97 kB / 466.3 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02772/0.1302, allocations: 19.36 MB / 485.7 MB, free: 2.582 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.1302, allocations: 42.48 kB / 485.7 MB, free: 2.531 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 2.014e-06/0.1302, allocations: 0 / 485.7 MB, free: 2.531 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001703/0.1304, allocations: 77.67 kB / 485.8 MB, free: 2.449 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.1304, allocations: 51.41 kB / 485.9 MB, free: 2.387 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.134e-05/0.1305, allocations: 93.86 kB / 485.9 MB, free: 2.285 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.1305, allocations: 29.64 kB / 486 MB, free: 2.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.198e-05/0.1306, allocations: 80.14 kB / 486 MB, free: 2.168 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.1306, allocations: 31.77 kB / 486.1 MB, free: 2.137 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.1306, allocations: 13.72 kB / 486.1 MB, free: 2.117 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.76e-05/0.1307, allocations: 318.9 kB / 486.4 MB, free: 1.797 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.063e-05/0.1308, allocations: 15.98 kB / 486.4 MB, free: 1.781 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.534e-05/0.1308, allocations: 12 kB / 486.4 MB, free: 1.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.242e-05/0.1308, allocations: 32.84 kB / 486.5 MB, free: 1.734 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1308, allocations: 4 kB / 486.5 MB, free: 1.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.095e-05/0.1309, allocations: 57.64 kB / 486.5 MB, free: 1.668 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.131, allocations: 10.19 kB / 486.5 MB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.131, allocations: 0 / 486.5 MB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.131, allocations: 0 / 486.5 MB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.334e-06/0.131, allocations: 3.938 kB / 486.5 MB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.131, allocations: 64 / 486.5 MB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.884e-05/0.131, allocations: 4 kB / 486.5 MB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.131, allocations: 0 / 486.5 MB, free: 1.652 MB / 366.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 6.387e-05/0.1311, allocations: 116.8 kB / 486.7 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/0.1311, allocations: 7.953 kB / 486.7 MB, free: 1.523 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.1313, allocations: 174.8 kB / 486.8 MB, free: 1.324 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.585e-05/0.1313, allocations: 180.2 kB / 487 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-05/0.1314, allocations: 109 kB / 487.1 MB, free: 1.027 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.984e-05/0.1314, allocations: 182.1 kB / 487.3 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.746e-05/0.1315, allocations: 192.1 kB / 487.5 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.7e-05/0.1316, allocations: 104.9 kB / 487.6 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/0.1317, allocations: 180.2 kB / 487.8 MB, free: 344 kB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.883e-05/0.1318, allocations: 259.5 kB / 488 MB, free: 76 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001625/0.1319, allocations: 387 kB / 488.4 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.641e-05/0.132, allocations: 105 kB / 488.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.539e-05/0.132, allocations: 103.2 kB / 488.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of Backend: time 6.21e-07/0.1321, allocations: 3.938 kB / 488.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001979/0.134, allocations: 0.6457 MB / 489.2 MB, free: 14.8 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006167/0.1347, allocations: 0.8966 MB / 490.1 MB, free: 13.86 MB / 382.1 MB Notification: Performance of Templates: time 0.0199/0.1546, allocations: 14.16 MB / 0.4925 GB, free: 15.7 MB / 398.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.makefile (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 & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe 2>&1)