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.001367/0.001367, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001381/0.001381, allocations: 192.6 kB / 16.25 MB, free: 6.617 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.539/1.539, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04582/0.04582, allocations: 9.089 MB / 278.5 MB, free: 12.29 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.001672/0.001672, allocations: 71.84 kB / 337.5 MB, free: 25.76 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09624/0.09792, allocations: 48.17 MB / 385.7 MB, free: 9.559 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.01833/0.1163, allocations: 18.11 MB / 403.8 MB, free: 7.371 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0162/0.1325, allocations: 17.53 MB / 421.3 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002778/0.1329, allocations: 4 kB / 421.3 MB, free: 5.781 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008091/0.1338, allocations: 275.1 kB / 421.6 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006285/0.1344, allocations: 202.8 kB / 421.8 MB, free: 5.312 MB / 318.1 MB [/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.2232/0.3576, allocations: 6.615 MB / 428.4 MB, free: 17.39 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005702/0.3582, allocations: 353.1 kB / 428.8 MB, free: 17.39 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.336e-05/0.3583, allocations: 20.58 kB / 428.8 MB, free: 17.38 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003367/0.3586, allocations: 160.4 kB / 428.9 MB, free: 17.38 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.3588, allocations: 99.41 kB / 429 MB, free: 17.38 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.3588, allocations: 5.719 kB / 429 MB, free: 17.38 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02127/0.3801, allocations: 10.32 MB / 439.4 MB, free: 17.37 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.257e-05/0.3802, allocations: 21.81 kB / 439.4 MB, free: 17.37 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003135/0.3806, allocations: 98.55 kB / 439.5 MB, free: 17.37 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01177/0.3923, allocations: 4.476 MB / 444 MB, free: 16.71 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3924, allocations: 0 / 444 MB, free: 16.71 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3924, allocations: 0 / 444 MB, free: 16.71 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.3924, allocations: 0 / 444 MB, free: 16.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.002719/0.3951, allocations: 1.099 MB / 445.1 MB, free: 15.95 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.3952, allocations: 10.78 kB / 445.1 MB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.564e-05/0.3952, allocations: 24.7 kB / 445.1 MB, free: 15.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.002e-05/0.3953, allocations: 190.6 kB / 445.3 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.3953, allocations: 7.25 kB / 445.3 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.3954, allocations: 8.531 kB / 445.3 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003341/0.3957, allocations: 164.5 kB / 445.4 MB, free: 15.65 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.3957, allocations: 1.875 kB / 445.4 MB, free: 15.65 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.3957, allocations: 6.969 kB / 445.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.3958, allocations: 8.578 kB / 445.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003874/0.3962, allocations: 157.6 kB / 445.6 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002611/0.3964, allocations: 291.3 kB / 445.9 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003114/0.3967, allocations: 187.2 kB / 446.1 MB, free: 15.32 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.397, allocations: 160.7 kB / 446.2 MB, free: 15.29 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1431/0.5401, allocations: 93.62 MB / 0.5272 GB, free: 7.246 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.84e-05/0.5402, allocations: 34.56 kB / 0.5272 GB, free: 7.203 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 2.705e-06/0.5402, allocations: 0 / 0.5272 GB, free: 7.203 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.001171/0.5414, allocations: 476.6 kB / 0.5277 GB, free: 6.734 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.789e-05/0.5414, allocations: 59.39 kB / 0.5277 GB, free: 6.664 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.5416, allocations: 136.9 kB / 0.5279 GB, free: 6.523 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.5416, allocations: 26.47 kB / 0.5279 GB, free: 6.492 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.093e-05/0.5417, allocations: 93.14 kB / 0.528 GB, free: 6.395 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.5418, allocations: 142.9 kB / 0.5281 GB, free: 6.258 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.61e-05/0.5419, allocations: 49.59 kB / 0.5282 GB, free: 6.203 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.5421, allocations: 330.8 kB / 0.5285 GB, free: 5.871 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002587/0.5423, allocations: 125 kB / 0.5286 GB, free: 5.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.5425, allocations: 118.1 kB / 0.5287 GB, free: 5.633 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005196/0.5431, allocations: 284.2 kB / 0.529 GB, free: 5.352 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.5431, allocations: 7.938 kB / 0.529 GB, free: 5.344 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005754/0.5437, allocations: 336.6 kB / 0.5293 GB, free: 5.016 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.5437, allocations: 8 kB / 0.5293 GB, free: 5.008 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.5437, allocations: 0.875 kB / 0.5293 GB, free: 5.008 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.5437, allocations: 3.562 kB / 0.5293 GB, free: 5.008 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.5439, allocations: 27.97 kB / 0.5294 GB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.5439, allocations: 0 / 0.5294 GB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.5441, allocations: 32.98 kB / 0.5294 GB, free: 4.949 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.5441, allocations: 4 kB / 0.5294 GB, free: 4.945 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 0.000109/0.5442, allocations: 123.1 kB / 0.5295 GB, free: 4.816 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.491e-05/0.5442, allocations: 27.7 kB / 0.5295 GB, free: 4.789 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007906/0.545, allocations: 405 kB / 0.5299 GB, free: 4.395 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.938e-05/0.5451, allocations: 12.67 kB / 0.5299 GB, free: 4.383 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.5451, allocations: 0 / 0.5299 GB, free: 4.383 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.5451, allocations: 3.938 kB / 0.5299 GB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.5453, allocations: 289.5 kB / 0.5302 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5454, allocations: 0 / 0.5302 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.5455, allocations: 31.84 kB / 0.5303 GB, free: 4.023 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.5455, allocations: 4 kB / 0.5303 GB, free: 4.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.5455, allocations: 0 / 0.5303 GB, free: 4.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.5455, allocations: 4 kB / 0.5303 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5455, allocations: 0 / 0.5303 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000582/0.5461, allocations: 378.8 kB / 0.5306 GB, free: 3.633 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.324e-05/0.5462, allocations: 112.7 kB / 0.5307 GB, free: 3.504 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.5462, allocations: 4 kB / 0.5307 GB, free: 3.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.5464, allocations: 15.98 kB / 0.5307 GB, free: 3.484 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.446e-05/0.5465, allocations: 13.52 kB / 0.5308 GB, free: 3.473 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.5465, allocations: 7.984 kB / 0.5308 GB, free: 3.465 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.409e-05/0.5466, allocations: 99.2 kB / 0.5309 GB, free: 3.367 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5466, allocations: 4 kB / 0.5309 GB, free: 3.363 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003557/0.5501, allocations: 1.114 MB / 0.532 GB, free: 2.25 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.006747/0.5569, allocations: 1.679 MB / 0.5336 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008161/0.5577, allocations: 303.8 kB / 0.5339 GB, free: 448 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.5577, allocations: 0 / 0.5339 GB, free: 448 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002985/0.558, allocations: 170.4 kB / 0.534 GB, free: 280 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008282/0.5589, allocations: 161.3 kB / 0.5342 GB, free: 128 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000885/0.5598, allocations: 0.4922 MB / 0.5347 GB, free: 15.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.5601, allocations: 0.7368 MB / 0.5354 GB, free: 14.85 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.5602, allocations: 16.44 kB / 0.5354 GB, free: 14.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.523e-05/0.5603, allocations: 19.42 kB / 0.5354 GB, free: 14.82 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5603, allocations: 0 / 0.5354 GB, free: 14.82 MB / 430.1 MB Notification: Performance of Templates: time 0.03988/0.6001, allocations: 30.57 MB / 0.5653 GB, free: 360 kB / 446.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)