Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 108.7 kB / 16.37 MB, free: 6.465 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.001234/0.001234, allocations: 193.1 kB / 17.31 MB, free: 5.816 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7741/0.7741, allocations: 135.1 MB / 426.3 MB, free: 4.164 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 63.91 kB / 0.5068 GB, free: 7.703 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4607/0.4621, allocations: 80.91 MB / 0.5858 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1678/0.63, allocations: 161.3 MB / 0.7433 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005018/0.635, allocations: 4.544 MB / 0.7478 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003618/0.6354, allocations: 7.938 kB / 0.7478 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004224/0.6358, allocations: 123.1 kB / 0.7479 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007347/0.6366, allocations: 342.4 kB / 0.7482 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006993/0.6373, allocations: 270.9 kB / 0.7485 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005689/0.6379, allocations: 0.5573 MB / 0.749 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003044/0.6382, allocations: 219 kB / 0.7492 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008069/0.639, allocations: 454.3 kB / 0.7497 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002328/0.6393, allocations: 191.2 kB / 0.7499 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.948e-05/0.6393, allocations: 16 kB / 0.7499 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.6395, allocations: 83.92 kB / 0.75 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.6396, allocations: 87.72 kB / 0.75 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.6397, allocations: 119.4 kB / 0.7501 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000333/0.6401, allocations: 303 kB / 0.7504 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.6401, allocations: 0 / 0.7504 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6401, allocations: 0 / 0.7504 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.8e-06/0.6401, allocations: 0 / 0.7504 GB, free: 1.398 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007084/0.6408, allocations: 0.5412 MB / 0.751 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.6409, allocations: 9.109 kB / 0.751 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.87e-05/0.6409, allocations: 27.62 kB / 0.751 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/0.6413, allocations: 291.3 kB / 0.7513 GB, free: 460 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.6413, allocations: 12 kB / 0.7513 GB, free: 448 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.706e-05/0.6414, allocations: 20 kB / 0.7513 GB, free: 428 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003953/0.6418, allocations: 261.8 kB / 0.7516 GB, free: 128 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.6418, allocations: 0 / 0.7516 GB, free: 128 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.6418, allocations: 8 kB / 0.7516 GB, free: 120 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.6418, allocations: 4 kB / 0.7516 GB, free: 116 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2769/0.9187, allocations: 152 kB / 0.7517 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.9204, allocations: 1.363 MB / 0.753 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003145/0.9207, allocations: 186.2 kB / 0.7532 GB, free: 167 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.9209, allocations: 93.81 kB / 0.7533 GB, free: 167 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003517/0.9213, allocations: 123.4 kB / 0.7534 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.9214, allocations: 42.28 kB / 0.7535 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 2.084e-06/0.9214, allocations: 0 / 0.7535 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0006957/0.9221, allocations: 212.8 kB / 0.7537 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.9221, allocations: 184.9 kB / 0.7539 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003335/0.9225, allocations: 291.9 kB / 0.7541 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.9225, allocations: 28.58 kB / 0.7542 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.9226, allocations: 151.2 kB / 0.7543 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.9226, allocations: 35.42 kB / 0.7543 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.815e-05/0.9227, allocations: 34.66 kB / 0.7544 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.827e-05/0.9228, allocations: 336.2 kB / 0.7547 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.9229, allocations: 47.27 kB / 0.7547 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.9231, allocations: 121.2 kB / 0.7548 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002923/0.9234, allocations: 158.7 kB / 0.755 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.9234, allocations: 1.625 kB / 0.755 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004075/0.9239, allocations: 187.2 kB / 0.7552 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.9239, allocations: 12.06 kB / 0.7552 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.9239, allocations: 3.016 kB / 0.7552 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.9239, allocations: 2.5 kB / 0.7552 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.9241, allocations: 32.3 kB / 0.7552 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.9241, allocations: 6.766 kB / 0.7552 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.9243, allocations: 29.28 kB / 0.7553 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/0.9243, allocations: 12.3 kB / 0.7553 GB, free: 165.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 initialization (15): * Single equations (assignments): 15 * 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 prepare postOptimizeDAE: time 0.0001212/0.9244, allocations: 151.5 kB / 0.7554 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.9246, allocations: 27.97 kB / 0.7554 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003125/0.9249, allocations: 134.1 kB / 0.7556 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/0.9249, allocations: 2.859 kB / 0.7556 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.9249, allocations: 2.094 kB / 0.7556 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.9249, allocations: 3.156 kB / 0.7556 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007228/0.9257, allocations: 0.777 MB / 0.7563 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.9257, allocations: 1.188 kB / 0.7563 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.9258, allocations: 22.25 kB / 0.7564 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.9258, allocations: 2.984 kB / 0.7564 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.9258, allocations: 2.438 kB / 0.7564 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.9258, allocations: 3.719 kB / 0.7564 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.9259, allocations: 5.188 kB / 0.7564 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000472/0.9263, allocations: 341.1 kB / 0.7567 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-05/0.9264, allocations: 109.5 kB / 0.7568 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.485e-05/0.9265, allocations: 7.031 kB / 0.7568 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.9266, allocations: 8.984 kB / 0.7568 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.9267, allocations: 12.12 kB / 0.7568 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.9267, allocations: 5 kB / 0.7568 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001968/0.9269, allocations: 210.2 kB / 0.757 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9269, allocations: 0 / 0.757 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003514/0.9272, allocations: 54.28 kB / 0.7571 GB, free: 164.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0003016/0.9275, allocations: 146 kB / 0.7572 GB, free: 164 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000353/0.9279, allocations: 122.5 kB / 0.7573 GB, free: 164 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9279, allocations: 0 / 0.7573 GB, free: 164 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.9281, allocations: 61.05 kB / 0.7574 GB, free: 164 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007103/0.9288, allocations: 125.4 kB / 0.7575 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008346/0.9296, allocations: 492.4 kB / 0.758 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002053/0.9298, allocations: 0.7565 MB / 0.7587 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001427/0.93, allocations: 48.5 kB / 0.7588 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.686e-05/0.9301, allocations: 23.06 kB / 0.7588 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of SimCode: time 8.81e-07/0.9301, allocations: 0 / 0.7588 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.009375/0.9394, allocations: 4.222 MB / 0.7629 GB, free: 161.1 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)