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.0008769/0.0008771, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.001085/0.001085, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.205/1.205, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8456/0.8456, allocations: 135.2 MB / 426.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.0003698, allocations: 13.97 kB / 0.5068 GB, free: 5.301 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1535, allocations: 82.31 MB / 0.5872 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.3773/0.5308, allocations: 135.5 MB / 0.7195 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004348/0.5352, allocations: 3.669 MB / 0.7231 GB, free: 9.539 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002035/0.5355, allocations: 8.469 kB / 0.7231 GB, free: 9.535 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005486/0.536, allocations: 156.5 kB / 0.7233 GB, free: 9.445 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007176/0.5367, allocations: 293.8 kB / 0.7235 GB, free: 9.258 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009393/0.5377, allocations: 340 kB / 0.7239 GB, free: 9.102 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004367/0.5381, allocations: 343.6 kB / 0.7242 GB, free: 8.93 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002896/0.5384, allocations: 156.5 kB / 0.7243 GB, free: 8.879 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006357/0.5391, allocations: 295.7 kB / 0.7246 GB, free: 8.738 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.5393, allocations: 134.6 kB / 0.7247 GB, free: 8.684 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.5393, allocations: 9.188 kB / 0.7248 GB, free: 8.684 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.5395, allocations: 67.08 kB / 0.7248 GB, free: 8.668 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.5396, allocations: 72.62 kB / 0.7249 GB, free: 8.645 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.305e-05/0.5397, allocations: 68.58 kB / 0.7249 GB, free: 8.594 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.5399, allocations: 206 kB / 0.7251 GB, free: 8.551 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.54, allocations: 0 / 0.7251 GB, free: 8.551 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.285e-06/0.54, allocations: 0 / 0.7251 GB, free: 8.551 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.54, allocations: 5.031 kB / 0.7252 GB, free: 8.547 MB / 0.545 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.0006937/0.5407, allocations: 0.5003 MB / 0.7256 GB, free: 8.102 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.75e-05/0.5407, allocations: 6.438 kB / 0.7256 GB, free: 8.102 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.51e-05/0.5408, allocations: 25.16 kB / 0.7257 GB, free: 8.09 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.5411, allocations: 271.8 kB / 0.7259 GB, free: 7.848 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.5411, allocations: 12.38 kB / 0.7259 GB, free: 7.844 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.753e-05/0.5412, allocations: 24.42 kB / 0.726 GB, free: 7.832 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004179/0.5416, allocations: 269.1 kB / 0.7262 GB, free: 7.656 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.5416, allocations: 5.141 kB / 0.7262 GB, free: 7.652 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.5417, allocations: 8.75 kB / 0.7262 GB, free: 7.648 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.5417, allocations: 10.62 kB / 0.7262 GB, free: 7.645 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003345/0.542, allocations: 155.7 kB / 0.7264 GB, free: 7.602 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.5433, allocations: 1.377 MB / 0.7277 GB, free: 6.391 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.5435, allocations: 189.8 kB / 0.7279 GB, free: 6.211 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003264/0.5439, allocations: 128.5 kB / 0.728 GB, free: 6.117 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.5439, allocations: 41.64 kB / 0.7281 GB, free: 6.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.5439, allocations: 0 / 0.7281 GB, free: 6.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0005731/0.5445, allocations: 226.6 kB / 0.7283 GB, free: 5.977 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.746e-05/0.5446, allocations: 188 kB / 0.7285 GB, free: 5.754 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002602/0.5448, allocations: 286.2 kB / 0.7287 GB, free: 5.602 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.5449, allocations: 25.7 kB / 0.7288 GB, free: 5.57 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.545, allocations: 152.4 kB / 0.7289 GB, free: 5.438 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.545, allocations: 34.23 kB / 0.729 GB, free: 5.41 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-06/0.545, allocations: 2.938 kB / 0.729 GB, free: 5.41 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.5452, allocations: 337.2 kB / 0.7293 GB, free: 5.086 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.5453, allocations: 48.75 kB / 0.7293 GB, free: 5.074 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.5455, allocations: 121.8 kB / 0.7294 GB, free: 4.984 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.5456, allocations: 67.94 kB / 0.7295 GB, free: 4.961 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.5456, allocations: 0.6562 kB / 0.7295 GB, free: 4.961 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003623/0.546, allocations: 197.4 kB / 0.7297 GB, free: 4.875 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.546, allocations: 8.406 kB / 0.7297 GB, free: 4.875 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.546, allocations: 6.094 kB / 0.7297 GB, free: 4.871 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.5461, allocations: 6.797 kB / 0.7297 GB, free: 4.867 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.5462, allocations: 35.94 kB / 0.7297 GB, free: 4.863 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.5462, allocations: 2.938 kB / 0.7297 GB, free: 4.863 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/0.5464, allocations: 42.08 kB / 0.7298 GB, free: 4.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.5464, allocations: 9.297 kB / 0.7298 GB, free: 4.84 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.5465, allocations: 150.4 kB / 0.7299 GB, free: 4.707 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.5467, allocations: 24.2 kB / 0.73 GB, free: 4.695 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003059/0.547, allocations: 139.4 kB / 0.7301 GB, free: 4.625 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/0.547, allocations: 11.56 kB / 0.7301 GB, free: 4.617 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.547, allocations: 2.781 kB / 0.7301 GB, free: 4.617 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.547, allocations: 1.969 kB / 0.7301 GB, free: 4.617 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007687/0.5478, allocations: 0.7734 MB / 0.7309 GB, free: 3.906 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.5478, allocations: 1.688 kB / 0.7309 GB, free: 3.906 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.5479, allocations: 24.7 kB / 0.7309 GB, free: 3.906 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.5479, allocations: 1.25 kB / 0.7309 GB, free: 3.906 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.548, allocations: 7.312 kB / 0.7309 GB, free: 3.902 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.548, allocations: 7.297 kB / 0.7309 GB, free: 3.898 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.548, allocations: 1.469 kB / 0.7309 GB, free: 3.898 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005082/0.5485, allocations: 411.1 kB / 0.7313 GB, free: 3.574 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.913e-05/0.5486, allocations: 112.6 kB / 0.7314 GB, free: 3.461 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.443e-05/0.5486, allocations: 10.59 kB / 0.7314 GB, free: 3.457 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.5488, allocations: 11.39 kB / 0.7314 GB, free: 3.457 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/0.5488, allocations: 12.17 kB / 0.7314 GB, free: 3.453 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.5488, allocations: 3.406 kB / 0.7314 GB, free: 3.453 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001841/0.549, allocations: 207.9 kB / 0.7316 GB, free: 3.344 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.549, allocations: 4.062 kB / 0.7316 GB, free: 3.34 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000315/0.5493, allocations: 50.73 kB / 0.7317 GB, free: 3.336 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000267/0.5496, allocations: 156.1 kB / 0.7318 GB, free: 3.219 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003262/0.55, allocations: 131.5 kB / 0.732 GB, free: 3.184 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.55, allocations: 1.375 kB / 0.732 GB, free: 3.184 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.5501, allocations: 63.61 kB / 0.732 GB, free: 3.168 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006135/0.5507, allocations: 120.5 kB / 0.7321 GB, free: 3.137 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007452/0.5515, allocations: 0.5599 MB / 0.7327 GB, free: 2.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.5518, allocations: 0.7574 MB / 0.7334 GB, free: 2.051 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001382/0.5519, allocations: 57.33 kB / 0.7335 GB, free: 2.039 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.977e-05/0.552, allocations: 21.2 kB / 0.7335 GB, free: 2.035 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.552, allocations: 1.25 kB / 0.7335 GB, free: 2.035 MB / 0.545 GB Notification: Performance of Templates: time 0.006667/0.5587, allocations: 3.866 MB / 0.7373 GB, free: 1.789 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) Environment - environmentSimulation: