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.00677/0.00677, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001541/0.001542, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7861/0.7861, allocations: 132.2 MB / 422.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 68.17 kB / 0.5814 GB, free: 1.004 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1876, allocations: 80.21 MB / 0.6597 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.6217/0.8093, allocations: 161.3 MB / 0.8172 GB, free: 3.633 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.004457/0.8138, allocations: 4.55 MB / 0.8217 GB, free: 3.582 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000297/0.8141, allocations: 10.16 kB / 0.8217 GB, free: 3.582 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0003827/0.8145, allocations: 128.5 kB / 0.8218 GB, free: 3.582 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0007642/0.8153, allocations: 348.5 kB / 0.8222 GB, free: 3.566 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007384/0.8161, allocations: 277.5 kB / 0.8224 GB, free: 3.562 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0006994/0.8168, allocations: 0.5577 MB / 0.823 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000381/0.8172, allocations: 204.2 kB / 0.8232 GB, free: 3.547 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009752/0.8181, allocations: 476.9 kB / 0.8236 GB, free: 3.535 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003046/0.8185, allocations: 190.3 kB / 0.8238 GB, free: 3.535 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.298e-05/0.8185, allocations: 16.62 kB / 0.8238 GB, free: 3.535 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002098/0.8187, allocations: 85.31 kB / 0.8239 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.8189, allocations: 87.62 kB / 0.824 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.8191, allocations: 118 kB / 0.8241 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0004592/0.8195, allocations: 311.2 kB / 0.8244 GB, free: 3.516 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.8195, allocations: 3.188 kB / 0.8244 GB, free: 3.516 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8195, allocations: 1.938 kB / 0.8244 GB, free: 3.516 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.8196, allocations: 0 / 0.8244 GB, free: 3.516 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.0006808/0.8202, allocations: 0.5271 MB / 0.8249 GB, free: 3.086 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.8203, allocations: 10 kB / 0.8249 GB, free: 3.086 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.327e-05/0.8204, allocations: 27.62 kB / 0.8249 GB, free: 3.074 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003353/0.8207, allocations: 297.3 kB / 0.8252 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.8207, allocations: 12.09 kB / 0.8252 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.793e-05/0.8208, allocations: 19.75 kB / 0.8253 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003763/0.8211, allocations: 255.6 kB / 0.8255 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.8212, allocations: 5.062 kB / 0.8255 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.8212, allocations: 9.25 kB / 0.8255 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.8212, allocations: 5.438 kB / 0.8255 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003185/0.8215, allocations: 155.5 kB / 0.8257 GB, free: 2.734 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009936/0.8225, allocations: 1.365 MB / 0.827 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.8228, allocations: 180.1 kB / 0.8272 GB, free: 1.523 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.823, allocations: 101.3 kB / 0.8273 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003061/0.8233, allocations: 117.9 kB / 0.8274 GB, free: 1.383 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.8233, allocations: 43.86 kB / 0.8274 GB, free: 1.344 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.8233, allocations: 0 / 0.8274 GB, free: 1.344 MB / 0.6387 GB Notification: Performance of matching and sorting (n=10): time 0.0005458/0.8239, allocations: 202.9 kB / 0.8276 GB, free: 1.301 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.8239, allocations: 192.3 kB / 0.8278 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.8242, allocations: 292.2 kB / 0.8281 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.47e-05/0.8243, allocations: 31.17 kB / 0.8281 GB, free: 16.95 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.564e-05/0.8244, allocations: 143.6 kB / 0.8282 GB, free: 16.85 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.8244, allocations: 40.25 kB / 0.8283 GB, free: 16.83 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.628e-05/0.8245, allocations: 33.44 kB / 0.8283 GB, free: 16.81 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.8246, allocations: 337 kB / 0.8286 GB, free: 16.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.8247, allocations: 45.08 kB / 0.8287 GB, free: 16.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.8249, allocations: 119 kB / 0.8288 GB, free: 16.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/0.8252, allocations: 160.8 kB / 0.8289 GB, free: 16.36 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.8252, allocations: 0 / 0.8289 GB, free: 16.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003466/0.8255, allocations: 188.4 kB / 0.8291 GB, free: 16.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.8255, allocations: 7.109 kB / 0.8291 GB, free: 16.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.8256, allocations: 2.312 kB / 0.8291 GB, free: 16.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.8256, allocations: 2.25 kB / 0.8291 GB, free: 16.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.8257, allocations: 41.67 kB / 0.8292 GB, free: 16.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.8257, allocations: 2.938 kB / 0.8292 GB, free: 16.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.8259, allocations: 23.75 kB / 0.8292 GB, free: 16.31 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.8259, allocations: 11.34 kB / 0.8292 GB, free: 16.31 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.0001219/0.826, allocations: 150.3 kB / 0.8294 GB, free: 16.19 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.8262, allocations: 28.03 kB / 0.8294 GB, free: 16.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003112/0.8265, allocations: 130.6 kB / 0.8295 GB, free: 16.14 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.8265, allocations: 6.094 kB / 0.8295 GB, free: 16.13 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.8265, allocations: 3 kB / 0.8295 GB, free: 16.13 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.8265, allocations: 3.766 kB / 0.8295 GB, free: 16.13 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007742/0.8273, allocations: 0.7748 MB / 0.8303 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.8273, allocations: 3.453 kB / 0.8303 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.8274, allocations: 23 kB / 0.8303 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.8274, allocations: 2.875 kB / 0.8303 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.8275, allocations: 2.531 kB / 0.8303 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.8275, allocations: 4.469 kB / 0.8303 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.8275, allocations: 4.406 kB / 0.8303 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004623/0.8279, allocations: 342.4 kB / 0.8306 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.155e-05/0.828, allocations: 111.9 kB / 0.8307 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.8281, allocations: 3.672 kB / 0.8308 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.8282, allocations: 13.16 kB / 0.8308 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.8283, allocations: 11.58 kB / 0.8308 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.8283, allocations: 5.562 kB / 0.8308 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001967/0.8285, allocations: 212 kB / 0.831 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8285, allocations: 0 / 0.831 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000339/0.8288, allocations: 59.8 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.0003093/0.8291, allocations: 142.2 kB / 0.8312 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003235/0.8295, allocations: 128.9 kB / 0.8313 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.8295, allocations: 0 / 0.8313 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.8296, allocations: 59.86 kB / 0.8314 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.000668/0.8303, allocations: 116.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.0007379/0.8311, allocations: 0.4901 MB / 0.8319 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.8314, allocations: 0.7552 MB / 0.8327 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001673/0.8316, allocations: 50.22 kB / 0.8327 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.316e-05/0.8316, allocations: 21.95 kB / 0.8328 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.8316, allocations: 0 / 0.8328 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of Templates: time 0.009001/0.8406, allocations: 4.245 MB / 0.8369 GB, free: 13.93 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)