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.001107/0.001107, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.001399/0.0014, allocations: 190.9 kB / 16.14 MB, free: 6.703 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.439/1.439, allocations: 205.1 MB / 222 MB, free: 4.965 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04535/0.04535, allocations: 9.082 MB / 278.4 MB, free: 12.64 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.001291/0.001291, allocations: 64.47 kB / 337.3 MB, free: 25.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09676/0.09807, allocations: 48.17 MB / 385.5 MB, free: 9.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.01967/0.1178, allocations: 18.37 MB / 403.9 MB, free: 7.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01661/0.1345, allocations: 17.99 MB / 421.9 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002833/0.1348, allocations: 0 / 421.9 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008616/0.1357, allocations: 267 kB / 422.1 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006289/0.1364, allocations: 206.8 kB / 422.3 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2061/0.3424, allocations: 5.972 MB / 428.3 MB, free: 16.81 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000522/0.343, allocations: 344.1 kB / 428.6 MB, free: 16.81 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.376e-05/0.3431, allocations: 17.73 kB / 428.6 MB, free: 16.81 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003293/0.3434, allocations: 143.6 kB / 428.8 MB, free: 16.81 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.3436, allocations: 103.7 kB / 428.9 MB, free: 16.81 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.3436, allocations: 4.188 kB / 428.9 MB, free: 16.81 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0192/0.3628, allocations: 9.689 MB / 438.6 MB, free: 16.81 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.095e-05/0.3629, allocations: 20.19 kB / 438.6 MB, free: 16.81 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003115/0.3632, allocations: 107.3 kB / 438.7 MB, free: 16.81 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01398/0.3772, allocations: 4.328 MB / 443 MB, free: 16.21 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3773, allocations: 0 / 443 MB, free: 16.21 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3773, allocations: 0 / 443 MB, free: 16.21 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.3773, allocations: 0 / 443 MB, free: 16.21 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.003565/0.3809, allocations: 1.092 MB / 444.1 MB, free: 15.45 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.3809, allocations: 9.688 kB / 444.1 MB, free: 15.45 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.958e-05/0.381, allocations: 19.25 kB / 444.2 MB, free: 15.44 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.3811, allocations: 201.3 kB / 444.3 MB, free: 15.22 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.3812, allocations: 4.5 kB / 444.4 MB, free: 15.22 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.3812, allocations: 4.375 kB / 444.4 MB, free: 15.22 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003775/0.3816, allocations: 167.2 kB / 444.5 MB, free: 15.15 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3816, allocations: 3.438 kB / 444.5 MB, free: 15.15 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.3816, allocations: 4.156 kB / 444.5 MB, free: 15.15 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.3816, allocations: 9.078 kB / 444.5 MB, free: 15.15 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004275/0.3821, allocations: 159.7 kB / 444.7 MB, free: 15.12 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006221/0.3827, allocations: 481.5 kB / 445.2 MB, free: 14.78 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.383, allocations: 169 kB / 445.3 MB, free: 14.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002601/0.3833, allocations: 155.5 kB / 445.5 MB, free: 14.71 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.147/0.5303, allocations: 93.62 MB / 0.5265 GB, free: 7.762 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/0.5304, allocations: 30.56 kB / 0.5265 GB, free: 7.723 MB / 414.1 MB Notification: Performance of pre-optimization done (n=47): time 2.945e-06/0.5304, allocations: 0 / 0.5265 GB, free: 7.723 MB / 414.1 MB Notification: Performance of matching and sorting (n=47): time 0.001152/0.5316, allocations: 474.1 kB / 0.5269 GB, free: 7.258 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.5317, allocations: 55.39 kB / 0.527 GB, free: 7.191 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.5318, allocations: 141.8 kB / 0.5271 GB, free: 7.047 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.5318, allocations: 33.7 kB / 0.5272 GB, free: 7.008 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.834e-05/0.5319, allocations: 85.14 kB / 0.5272 GB, free: 6.918 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.5321, allocations: 149.9 kB / 0.5274 GB, free: 6.773 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.027e-05/0.5321, allocations: 45.69 kB / 0.5274 GB, free: 6.723 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.5323, allocations: 337 kB / 0.5278 GB, free: 6.387 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/0.5325, allocations: 109.4 kB / 0.5279 GB, free: 6.281 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.5328, allocations: 126.1 kB / 0.528 GB, free: 6.156 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004797/0.5332, allocations: 279.7 kB / 0.5282 GB, free: 5.879 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.5333, allocations: 9.344 kB / 0.5283 GB, free: 5.875 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005865/0.5338, allocations: 334.3 kB / 0.5286 GB, free: 5.547 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.5339, allocations: 4 kB / 0.5286 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.5339, allocations: 0 / 0.5286 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.5339, allocations: 4 kB / 0.5286 GB, free: 5.539 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.5341, allocations: 15.98 kB / 0.5286 GB, free: 5.523 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.5341, allocations: 0 / 0.5286 GB, free: 5.523 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.5342, allocations: 40.59 kB / 0.5286 GB, free: 5.484 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.5343, allocations: 4 kB / 0.5286 GB, free: 5.48 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.0001268/0.5344, allocations: 125.8 kB / 0.5288 GB, free: 5.348 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.694e-05/0.5345, allocations: 15.81 kB / 0.5288 GB, free: 5.332 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007607/0.5352, allocations: 406.4 kB / 0.5292 GB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.788e-05/0.5353, allocations: 11.98 kB / 0.5292 GB, free: 4.926 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.5353, allocations: 0 / 0.5292 GB, free: 4.926 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.5353, allocations: 3.984 kB / 0.5292 GB, free: 4.922 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003794/0.5357, allocations: 296.9 kB / 0.5295 GB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.5357, allocations: 3.375 kB / 0.5295 GB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.5358, allocations: 19.98 kB / 0.5295 GB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.5358, allocations: 0 / 0.5295 GB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.5359, allocations: 8.547 kB / 0.5295 GB, free: 4.559 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.5359, allocations: 4 kB / 0.5295 GB, free: 4.555 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5359, allocations: 0 / 0.5295 GB, free: 4.555 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006901/0.5366, allocations: 444.5 kB / 0.5299 GB, free: 4.109 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.5367, allocations: 109.7 kB / 0.53 GB, free: 3.984 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.5368, allocations: 4 kB / 0.53 GB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.5369, allocations: 20.62 kB / 0.53 GB, free: 3.961 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.745e-05/0.537, allocations: 13.06 kB / 0.5301 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.537, allocations: 5.188 kB / 0.5301 GB, free: 3.945 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.444e-05/0.5371, allocations: 99.27 kB / 0.5302 GB, free: 3.848 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.162e-06/0.5371, allocations: 3.938 kB / 0.5302 GB, free: 3.844 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003567/0.5407, allocations: 1.122 MB / 0.5313 GB, free: 2.723 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.006547/0.5472, allocations: 1.676 MB / 0.5329 GB, free: 1.223 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006919/0.5479, allocations: 296.8 kB / 0.5332 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.548, allocations: 0 / 0.5332 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003294/0.5483, allocations: 157.1 kB / 0.5333 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009327/0.5492, allocations: 155.7 kB / 0.5335 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007147/0.55, allocations: 488 kB / 0.5339 GB, free: 136 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.5503, allocations: 0.7331 MB / 0.5347 GB, free: 15.38 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000123/0.5504, allocations: 18.95 kB / 0.5347 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.356e-05/0.5504, allocations: 15.44 kB / 0.5347 GB, free: 15.34 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.5504, allocations: 0 / 0.5347 GB, free: 15.34 MB / 430.1 MB Notification: Performance of Templates: time 0.04846/0.5989, allocations: 30.34 MB / 0.5643 GB, free: 1.102 MB / 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)