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: translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001029/0.001029, allocations: 192 kB / 16.25 MB, free: 6.621 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.536/1.536, allocations: 205.1 MB / 222.1 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04618/0.04618, allocations: 9.085 MB / 278.5 MB, free: 12.34 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.001268/0.001268, allocations: 75.83 kB / 337.5 MB, free: 25.79 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09254/0.09381, allocations: 48.17 MB / 385.7 MB, free: 9.582 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.01942/0.1133, allocations: 18.1 MB / 403.8 MB, free: 7.402 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01629/0.1296, allocations: 17.54 MB / 421.3 MB, free: 5.812 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002285/0.1299, allocations: 3.938 kB / 421.3 MB, free: 5.809 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000777/0.1307, allocations: 275.1 kB / 421.6 MB, free: 5.539 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005456/0.1313, allocations: 210.8 kB / 421.8 MB, free: 5.332 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.1989/0.3301, allocations: 6.607 MB / 428.4 MB, free: 17.38 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005784/0.3307, allocations: 351.5 kB / 428.8 MB, free: 17.38 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.793e-05/0.3308, allocations: 19.3 kB / 428.8 MB, free: 17.37 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003518/0.3312, allocations: 165.2 kB / 428.9 MB, free: 17.37 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.3314, allocations: 98.38 kB / 429 MB, free: 17.37 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.3314, allocations: 6.219 kB / 429 MB, free: 17.37 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02033/0.3517, allocations: 10.32 MB / 439.4 MB, free: 17.36 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.707e-05/0.3519, allocations: 25.95 kB / 439.4 MB, free: 17.36 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003558/0.3522, allocations: 101.2 kB / 439.5 MB, free: 17.36 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01329/0.3655, allocations: 4.476 MB / 444 MB, free: 16.69 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3656, allocations: 0 / 444 MB, free: 16.69 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3656, allocations: 0 / 444 MB, free: 16.69 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.3656, allocations: 0 / 444 MB, free: 16.69 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.002712/0.3683, allocations: 1.098 MB / 445.1 MB, free: 15.92 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.3684, allocations: 9.375 kB / 445.1 MB, free: 15.92 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.067e-05/0.3684, allocations: 20.91 kB / 445.1 MB, free: 15.91 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.3685, allocations: 190.5 kB / 445.3 MB, free: 15.7 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.3686, allocations: 14.03 kB / 445.3 MB, free: 15.69 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.3686, allocations: 5.281 kB / 445.3 MB, free: 15.69 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003554/0.3689, allocations: 164.6 kB / 445.4 MB, free: 15.62 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.369, allocations: 5.531 kB / 445.5 MB, free: 15.62 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.369, allocations: 2.594 kB / 445.5 MB, free: 15.62 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.369, allocations: 10.3 kB / 445.5 MB, free: 15.62 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003954/0.3694, allocations: 158 kB / 445.6 MB, free: 15.59 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005839/0.37, allocations: 480.1 kB / 446.1 MB, free: 15.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.3703, allocations: 168.9 kB / 446.3 MB, free: 15.2 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002418/0.3706, allocations: 156.1 kB / 446.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1463/0.5169, allocations: 93.62 MB / 0.5274 GB, free: 7.121 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.517, allocations: 30.56 kB / 0.5274 GB, free: 7.082 MB / 414.1 MB Notification: Performance of pre-optimization done (n=47): time 3.767e-06/0.517, allocations: 0 / 0.5274 GB, free: 7.082 MB / 414.1 MB Notification: Performance of matching and sorting (n=47): time 0.00115/0.5182, allocations: 476.3 kB / 0.5279 GB, free: 6.613 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.5182, allocations: 56.06 kB / 0.5279 GB, free: 6.547 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.5183, allocations: 137 kB / 0.528 GB, free: 6.406 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.5184, allocations: 25.7 kB / 0.5281 GB, free: 6.375 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.711e-05/0.5184, allocations: 97.12 kB / 0.5282 GB, free: 6.273 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.5186, allocations: 143.5 kB / 0.5283 GB, free: 6.137 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.789e-05/0.5186, allocations: 41.7 kB / 0.5283 GB, free: 6.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.5188, allocations: 334.8 kB / 0.5286 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.519, allocations: 120.4 kB / 0.5288 GB, free: 5.637 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/0.5192, allocations: 119.5 kB / 0.5289 GB, free: 5.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004598/0.5197, allocations: 284.5 kB / 0.5291 GB, free: 5.238 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5197, allocations: 1.203 kB / 0.5292 GB, free: 5.238 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005454/0.5202, allocations: 333.1 kB / 0.5295 GB, free: 4.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.5203, allocations: 4 kB / 0.5295 GB, free: 4.906 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.5203, allocations: 0 / 0.5295 GB, free: 4.906 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.5203, allocations: 0 / 0.5295 GB, free: 4.906 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.5205, allocations: 27.97 kB / 0.5295 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.5205, allocations: 0.5469 kB / 0.5295 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.5206, allocations: 33.69 kB / 0.5295 GB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.5207, allocations: 11.56 kB / 0.5295 GB, free: 4.84 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 (11): * Single equations (assignments): 5 * 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.0001006/0.5208, allocations: 125.7 kB / 0.5297 GB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.261e-05/0.5208, allocations: 19.8 kB / 0.5297 GB, free: 4.688 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000699/0.5215, allocations: 400.5 kB / 0.5301 GB, free: 4.297 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-05/0.5215, allocations: 15.98 kB / 0.5301 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.5216, allocations: 0 / 0.5301 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.5216, allocations: 0 / 0.5301 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003097/0.5219, allocations: 296.8 kB / 0.5304 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.5219, allocations: 0 / 0.5304 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.522, allocations: 30.16 kB / 0.5304 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.522, allocations: 0 / 0.5304 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.522, allocations: 3.875 kB / 0.5304 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.5221, allocations: 0 / 0.5304 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5221, allocations: 0 / 0.5304 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006004/0.5227, allocations: 443.7 kB / 0.5308 GB, free: 3.473 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.653e-05/0.5228, allocations: 108.8 kB / 0.5309 GB, free: 3.348 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.5228, allocations: 7.984 kB / 0.5309 GB, free: 3.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.523, allocations: 17.41 kB / 0.5309 GB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.59e-05/0.523, allocations: 19.81 kB / 0.531 GB, free: 3.309 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.523, allocations: 4 kB / 0.531 GB, free: 3.305 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.993e-05/0.5231, allocations: 103.2 kB / 0.5311 GB, free: 3.203 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5231, allocations: 0 / 0.5311 GB, free: 3.203 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003658/0.5268, allocations: 1.118 MB / 0.5322 GB, free: 2.082 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 (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.005431/0.5322, allocations: 1.673 MB / 0.5338 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007323/0.533, allocations: 303.2 kB / 0.5341 GB, free: 280 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.533, allocations: 4 kB / 0.5341 GB, free: 276 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002788/0.5333, allocations: 160.3 kB / 0.5342 GB, free: 116 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009147/0.5342, allocations: 154.6 kB / 0.5344 GB, free: 15.97 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000691/0.5349, allocations: 484.5 kB / 0.5348 GB, free: 15.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.5352, allocations: 0.7327 MB / 0.5356 GB, free: 14.72 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.5354, allocations: 19.92 kB / 0.5356 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.138e-05/0.5354, allocations: 23.42 kB / 0.5356 GB, free: 14.68 MB / 430.1 MB Notification: Performance of SimCode: time 2.41e-07/0.5354, allocations: 0 / 0.5356 GB, free: 14.68 MB / 430.1 MB Notification: Performance of Templates: time 0.03958/0.575, allocations: 30.56 MB / 0.5654 GB, free: 236 kB / 446.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.makefile (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 & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.pipe 2>&1)