Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.006774/0.006773, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001104/0.001104, allocations: 194.3 kB / 16.67 MB, free: 5.938 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8041/0.8041, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 63.94 kB / 0.5814 GB, free: 0.832 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.164, allocations: 80.19 MB / 0.6597 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.6602/0.8242, allocations: 161.4 MB / 0.8173 GB, free: 3.656 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.005205/0.8294, allocations: 4.551 MB / 0.8217 GB, free: 3.602 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004691/0.83, allocations: 9.734 kB / 0.8217 GB, free: 3.602 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0004896/0.8305, allocations: 127.6 kB / 0.8218 GB, free: 3.602 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00102/0.8315, allocations: 333.9 kB / 0.8221 GB, free: 3.586 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.8326, allocations: 272.5 kB / 0.8224 GB, free: 3.582 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0009743/0.8336, allocations: 0.5625 MB / 0.823 GB, free: 3.578 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004219/0.834, allocations: 206.2 kB / 0.8232 GB, free: 3.562 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.8351, allocations: 457.1 kB / 0.8236 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003681/0.8355, allocations: 190.2 kB / 0.8238 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.099e-05/0.8356, allocations: 17.97 kB / 0.8238 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002503/0.8358, allocations: 87.34 kB / 0.8239 GB, free: 3.551 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.836, allocations: 81.91 kB / 0.8239 GB, free: 3.551 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001802/0.8362, allocations: 120 kB / 0.8241 GB, free: 3.551 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0005844/0.8368, allocations: 307.7 kB / 0.8244 GB, free: 3.535 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.8368, allocations: 1.281 kB / 0.8244 GB, free: 3.535 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.494e-06/0.8368, allocations: 3.531 kB / 0.8244 GB, free: 3.535 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.8368, allocations: 3.625 kB / 0.8244 GB, free: 3.535 MB / 0.6387 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.000797/0.8376, allocations: 0.5403 MB / 0.8249 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.8376, allocations: 10.47 kB / 0.8249 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.269e-05/0.8377, allocations: 25.84 kB / 0.8249 GB, free: 3.086 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.8381, allocations: 293.8 kB / 0.8252 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.8381, allocations: 15.59 kB / 0.8252 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.644e-05/0.8382, allocations: 15.97 kB / 0.8252 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004137/0.8386, allocations: 262.3 kB / 0.8255 GB, free: 2.75 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.8386, allocations: 1.156 kB / 0.8255 GB, free: 2.75 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.8386, allocations: 9.625 kB / 0.8255 GB, free: 2.75 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.8386, allocations: 4.594 kB / 0.8255 GB, free: 2.75 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003279/0.839, allocations: 151 kB / 0.8256 GB, free: 2.746 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.8401, allocations: 1.37 MB / 0.827 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.8403, allocations: 182.3 kB / 0.8272 GB, free: 1.531 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.8405, allocations: 95.02 kB / 0.8272 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003129/0.8408, allocations: 118.1 kB / 0.8274 GB, free: 1.391 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.8409, allocations: 39.72 kB / 0.8274 GB, free: 1.352 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.8409, allocations: 4.062 kB / 0.8274 GB, free: 1.352 MB / 0.6387 GB Notification: Performance of matching and sorting (n=10): time 0.0005862/0.8415, allocations: 207.7 kB / 0.8276 GB, free: 1.309 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.8415, allocations: 187.7 kB / 0.8278 GB, free: 1.086 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/0.8418, allocations: 292.7 kB / 0.8281 GB, free: 0.9844 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001112/0.8419, allocations: 28.2 kB / 0.8281 GB, free: 16.95 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.8421, allocations: 146.9 kB / 0.8282 GB, free: 16.86 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.8421, allocations: 42.06 kB / 0.8283 GB, free: 16.84 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.789e-05/0.8422, allocations: 42.48 kB / 0.8283 GB, free: 16.82 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.8423, allocations: 332 kB / 0.8286 GB, free: 16.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.8424, allocations: 47.17 kB / 0.8287 GB, free: 16.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.8426, allocations: 116.7 kB / 0.8288 GB, free: 16.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/0.8429, allocations: 156.8 kB / 0.8289 GB, free: 16.37 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.8429, allocations: 1.188 kB / 0.8289 GB, free: 16.37 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003657/0.8433, allocations: 199.3 kB / 0.8291 GB, free: 16.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.8433, allocations: 8.109 kB / 0.8291 GB, free: 16.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.8433, allocations: 3.156 kB / 0.8291 GB, free: 16.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.8433, allocations: 2.344 kB / 0.8291 GB, free: 16.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.8435, allocations: 38.41 kB / 0.8292 GB, free: 16.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.8435, allocations: 2.312 kB / 0.8292 GB, free: 16.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.8437, allocations: 34.84 kB / 0.8292 GB, free: 16.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.8437, allocations: 8.547 kB / 0.8292 GB, free: 16.3 MB / 0.6544 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.0001307/0.8439, allocations: 149.7 kB / 0.8294 GB, free: 16.19 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.844, allocations: 24.92 kB / 0.8294 GB, free: 16.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003348/0.8443, allocations: 128.9 kB / 0.8295 GB, free: 16.14 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.8443, allocations: 7.625 kB / 0.8295 GB, free: 16.13 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.8443, allocations: 2.5 kB / 0.8295 GB, free: 16.13 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.8444, allocations: 2.625 kB / 0.8295 GB, free: 16.13 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008625/0.8452, allocations: 0.7694 MB / 0.8303 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.8452, allocations: 6.547 kB / 0.8303 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.8454, allocations: 26.31 kB / 0.8303 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.8454, allocations: 3.469 kB / 0.8303 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.8454, allocations: 2.812 kB / 0.8303 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.8454, allocations: 3.719 kB / 0.8303 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.8454, allocations: 4.406 kB / 0.8303 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005184/0.8459, allocations: 344.9 kB / 0.8306 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.317e-05/0.846, allocations: 109.3 kB / 0.8307 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/0.8461, allocations: 6.625 kB / 0.8307 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.8462, allocations: 9.859 kB / 0.8308 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.173e-05/0.8463, allocations: 16.09 kB / 0.8308 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.8463, allocations: 5.219 kB / 0.8308 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002174/0.8465, allocations: 208.9 kB / 0.831 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8465, allocations: 0.875 kB / 0.831 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003618/0.8469, allocations: 58.25 kB / 0.831 GB, free: 15.11 MB / 0.6544 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.0003519/0.8472, allocations: 144.2 kB / 0.8312 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003714/0.8476, allocations: 125.3 kB / 0.8313 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.8476, allocations: 0.9062 kB / 0.8313 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.8478, allocations: 57.45 kB / 0.8313 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007431/0.8485, allocations: 131.9 kB / 0.8315 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008785/0.8494, allocations: 499.4 kB / 0.8319 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.8498, allocations: 0.7539 MB / 0.8327 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001664/0.85, allocations: 53.47 kB / 0.8327 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.603e-05/0.85, allocations: 22.39 kB / 0.8328 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.85, allocations: 0.875 kB / 0.8328 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of Templates: time 0.008547/0.8586, allocations: 4.239 MB / 0.8369 GB, free: 13.91 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)