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.001926/0.001926, allocations: 107 kB / 16.37 MB, free: 6.477 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.002068/0.002068, allocations: 193.8 kB / 17.31 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.053/2.053, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05229/0.05229, allocations: 9.097 MB / 279.6 MB, free: 2.977 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.001689/0.001689, allocations: 67.84 kB / 339.5 MB, free: 7 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4783/0.48, allocations: 48.14 MB / 387.6 MB, free: 51.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.02359/0.5037, allocations: 16.9 MB / 404.5 MB, free: 39.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.5058, allocations: 1.857 MB / 406.4 MB, free: 37.65 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.037e-05/0.5058, allocations: 1.375 kB / 406.4 MB, free: 37.65 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008253/0.5067, allocations: 267.8 kB / 406.6 MB, free: 37.47 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.211e-05/0.5068, allocations: 26.77 kB / 406.7 MB, free: 37.45 MB / 318.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.009924/0.5167, allocations: 2.788 MB / 409.5 MB, free: 35.71 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.5168, allocations: 53.3 kB / 409.5 MB, free: 35.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.772e-05/0.5169, allocations: 10.09 kB / 409.5 MB, free: 35.67 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.47e-05/0.517, allocations: 30.89 kB / 409.5 MB, free: 35.65 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.185e-05/0.5171, allocations: 7 kB / 409.6 MB, free: 35.65 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.5171, allocations: 4.812 kB / 409.6 MB, free: 35.65 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009856/0.527, allocations: 4.956 MB / 414.5 MB, free: 32.55 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/0.527, allocations: 0 / 414.5 MB, free: 32.55 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.528e-05/0.5271, allocations: 15.92 kB / 414.5 MB, free: 32.54 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005075/0.5322, allocations: 1.988 MB / 416.5 MB, free: 30.54 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.5322, allocations: 4 kB / 416.5 MB, free: 30.54 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.5322, allocations: 0 / 416.5 MB, free: 30.54 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.5323, allocations: 0 / 416.5 MB, free: 30.54 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008415/0.5331, allocations: 0.5036 MB / 417 MB, free: 29.99 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.5332, allocations: 8.031 kB / 417 MB, free: 29.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.5332, allocations: 4 kB / 417 MB, free: 29.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.5333, allocations: 171 kB / 417.2 MB, free: 29.77 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.5333, allocations: 0 / 417.2 MB, free: 29.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.5334, allocations: 0 / 417.2 MB, free: 29.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.5335, allocations: 41.69 kB / 417.2 MB, free: 29.72 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.5335, allocations: 0 / 417.2 MB, free: 29.72 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.5335, allocations: 0 / 417.2 MB, free: 29.72 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.5335, allocations: 0 / 417.2 MB, free: 29.72 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.873e-05/0.5336, allocations: 19.94 kB / 417.3 MB, free: 29.7 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/0.5337, allocations: 165.5 kB / 417.4 MB, free: 29.49 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.882e-05/0.5338, allocations: 38.5 kB / 417.5 MB, free: 29.45 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.692e-05/0.5338, allocations: 21.64 kB / 417.5 MB, free: 29.42 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0252/0.559, allocations: 19.34 MB / 436.8 MB, free: 6.699 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.5591, allocations: 34.5 kB / 436.9 MB, free: 6.656 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 4.218e-06/0.5592, allocations: 0 / 436.9 MB, free: 6.656 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003528/0.5595, allocations: 81.53 kB / 436.9 MB, free: 6.57 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.5596, allocations: 55.39 kB / 437 MB, free: 6.504 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.77e-05/0.5597, allocations: 93.86 kB / 437.1 MB, free: 6.402 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.5597, allocations: 29.86 kB / 437.1 MB, free: 6.367 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.109e-05/0.5597, allocations: 84.14 kB / 437.2 MB, free: 6.281 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.464e-05/0.5598, allocations: 19.66 kB / 437.2 MB, free: 6.262 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/0.5599, allocations: 17.7 kB / 437.2 MB, free: 6.238 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.547e-05/0.56, allocations: 318.8 kB / 437.5 MB, free: 5.918 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.287e-05/0.56, allocations: 8 kB / 437.6 MB, free: 5.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.267e-05/0.56, allocations: 15.98 kB / 437.6 MB, free: 5.895 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.092e-05/0.5601, allocations: 32.84 kB / 437.6 MB, free: 5.859 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.5601, allocations: 11.95 kB / 437.6 MB, free: 5.848 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.844e-05/0.5602, allocations: 59.72 kB / 437.7 MB, free: 5.789 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.5602, allocations: 4.781 kB / 437.7 MB, free: 5.785 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.5602, allocations: 7.922 kB / 437.7 MB, free: 5.777 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/0.5603, allocations: 0 / 437.7 MB, free: 5.777 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.044e-06/0.5603, allocations: 4 kB / 437.7 MB, free: 5.773 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.5603, allocations: 3.984 kB / 437.7 MB, free: 5.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.763e-05/0.5603, allocations: 0 / 437.7 MB, free: 5.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.5604, allocations: 4 kB / 437.7 MB, free: 5.766 MB / 318.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 9.333e-05/0.5605, allocations: 117.8 kB / 437.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.338e-06/0.5605, allocations: 3.906 kB / 437.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001616/0.5606, allocations: 170.8 kB / 438 MB, free: 5.445 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.835e-05/0.5607, allocations: 180.3 kB / 438.2 MB, free: 5.262 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.542e-05/0.5607, allocations: 176.3 kB / 438.3 MB, free: 5.082 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.082e-05/0.5608, allocations: 184.3 kB / 438.5 MB, free: 4.895 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.561, allocations: 413.2 kB / 438.9 MB, free: 4.434 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-05/0.561, allocations: 112.9 kB / 439 MB, free: 4.316 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.599e-05/0.5611, allocations: 106.5 kB / 439.1 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.532e-05/0.5611, allocations: 184.2 kB / 439.3 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.772e-05/0.5612, allocations: 180.2 kB / 439.5 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.226e-05/0.5612, allocations: 180.3 kB / 439.7 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-05/0.5613, allocations: 184.2 kB / 439.8 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.5614, allocations: 315.6 kB / 440.1 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.484e-05/0.5614, allocations: 178.1 kB / 440.3 MB, free: 2.934 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.235e-05/0.5615, allocations: 184.2 kB / 440.5 MB, free: 2.746 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.43e-05/0.5616, allocations: 112.9 kB / 440.6 MB, free: 2.629 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.396e-05/0.5617, allocations: 180.3 kB / 440.8 MB, free: 2.445 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.5617, allocations: 108.9 kB / 440.9 MB, free: 2.332 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.614e-05/0.5618, allocations: 99.27 kB / 441 MB, free: 2.234 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5618, allocations: 0 / 441 MB, free: 2.234 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001647/0.5634, allocations: 383.8 kB / 441.4 MB, free: 1.859 MB / 318.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001902/0.5653, allocations: 0.7246 MB / 442.1 MB, free: 1.125 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001322/0.5655, allocations: 20 kB / 442.1 MB, free: 1.105 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5655, allocations: 0 / 442.1 MB, free: 1.105 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.566e-06/0.5655, allocations: 3.938 kB / 442.1 MB, free: 1.102 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005434/0.5661, allocations: 493.5 kB / 442.6 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003829/0.5665, allocations: 199.7 kB / 442.8 MB, free: 408 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.5668, allocations: 0.6729 MB / 443.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.192e-05/0.5668, allocations: 0 / 443.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.706e-05/0.5669, allocations: 11.44 kB / 443.5 MB, free: 15.69 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.5669, allocations: 0 / 443.5 MB, free: 15.69 MB / 334.1 MB Notification: Performance of Templates: time 0.02521/0.5921, allocations: 14.15 MB / 457.6 MB, free: 1.562 MB / 334.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 -s cvode -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe 2>&1)