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-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_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.0008686/0.0008686, allocations: 103.1 kB / 15.06 MB, free: 1.098 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.0009142/0.0009143, allocations: 173.3 kB / 15.95 MB, free: 212 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.209/1.209, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8508/0.8508, allocations: 135.2 MB / 426.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002899/0.00029, allocations: 12 kB / 0.5068 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1416, allocations: 82.32 MB / 0.5872 GB, free: 3.078 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.385/0.5266, allocations: 135.5 MB / 0.7195 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004355/0.531, allocations: 3.669 MB / 0.7231 GB, free: 9.477 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002005/0.5312, allocations: 9.281 kB / 0.7231 GB, free: 9.473 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005131/0.5317, allocations: 149.6 kB / 0.7233 GB, free: 9.391 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006455/0.5324, allocations: 289.4 kB / 0.7235 GB, free: 9.207 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009322/0.5333, allocations: 348.2 kB / 0.7239 GB, free: 9.039 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004203/0.5338, allocations: 331.7 kB / 0.7242 GB, free: 8.879 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002789/0.5341, allocations: 155.5 kB / 0.7243 GB, free: 8.828 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006045/0.5347, allocations: 295.7 kB / 0.7246 GB, free: 8.688 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.5349, allocations: 135.5 kB / 0.7247 GB, free: 8.633 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.5349, allocations: 17.95 kB / 0.7248 GB, free: 8.625 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.5351, allocations: 58.84 kB / 0.7248 GB, free: 8.617 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.741e-05/0.5352, allocations: 72.28 kB / 0.7249 GB, free: 8.594 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.206e-05/0.5352, allocations: 74.11 kB / 0.725 GB, free: 8.539 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002667/0.5355, allocations: 209.4 kB / 0.7252 GB, free: 8.492 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.5355, allocations: 0 / 0.7252 GB, free: 8.492 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5355, allocations: 0 / 0.7252 GB, free: 8.492 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.5355, allocations: 0 / 0.7252 GB, free: 8.492 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.0006864/0.5362, allocations: 0.4987 MB / 0.7256 GB, free: 8.047 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.878e-05/0.5363, allocations: 9.125 kB / 0.7257 GB, free: 8.047 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.798e-05/0.5363, allocations: 28.94 kB / 0.7257 GB, free: 8.031 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003505/0.5367, allocations: 271.3 kB / 0.7259 GB, free: 7.789 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.5367, allocations: 13.84 kB / 0.726 GB, free: 7.785 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.252e-05/0.5368, allocations: 24.44 kB / 0.726 GB, free: 7.773 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004377/0.5372, allocations: 268 kB / 0.7262 GB, free: 7.598 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.5372, allocations: 1.688 kB / 0.7262 GB, free: 7.598 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.5373, allocations: 6.406 kB / 0.7262 GB, free: 7.594 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.5373, allocations: 5.781 kB / 0.7262 GB, free: 7.594 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003418/0.5376, allocations: 163.2 kB / 0.7264 GB, free: 7.543 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/0.5389, allocations: 1.369 MB / 0.7277 GB, free: 6.34 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.5392, allocations: 191.9 kB / 0.7279 GB, free: 6.16 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003429/0.5395, allocations: 129 kB / 0.728 GB, free: 6.062 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.5396, allocations: 46.42 kB / 0.7281 GB, free: 6.012 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.5396, allocations: 0 / 0.7281 GB, free: 6.012 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0005684/0.5402, allocations: 225.3 kB / 0.7283 GB, free: 5.918 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.935e-05/0.5403, allocations: 184.9 kB / 0.7285 GB, free: 5.699 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/0.5405, allocations: 286 kB / 0.7288 GB, free: 5.547 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.5406, allocations: 30.92 kB / 0.7288 GB, free: 5.512 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.5407, allocations: 148.3 kB / 0.7289 GB, free: 5.383 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.5407, allocations: 34.89 kB / 0.729 GB, free: 5.355 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-06/0.5408, allocations: 9.156 kB / 0.729 GB, free: 5.348 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.5409, allocations: 337.1 kB / 0.7293 GB, free: 5.023 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.541, allocations: 50.39 kB / 0.7293 GB, free: 5.012 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.5412, allocations: 122.9 kB / 0.7295 GB, free: 4.918 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.5414, allocations: 64.8 kB / 0.7295 GB, free: 4.898 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5414, allocations: 0 / 0.7295 GB, free: 4.898 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003594/0.5417, allocations: 197.3 kB / 0.7297 GB, free: 4.812 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.5418, allocations: 6.25 kB / 0.7297 GB, free: 4.812 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.5418, allocations: 2.812 kB / 0.7297 GB, free: 4.812 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.5418, allocations: 6.812 kB / 0.7297 GB, free: 4.809 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.5419, allocations: 35.8 kB / 0.7297 GB, free: 4.805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.5419, allocations: 6.891 kB / 0.7298 GB, free: 4.801 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.5421, allocations: 40.19 kB / 0.7298 GB, free: 4.781 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.5421, allocations: 11.8 kB / 0.7298 GB, free: 4.777 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.0001248/0.5423, allocations: 139.5 kB / 0.7299 GB, free: 4.652 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.5424, allocations: 25.22 kB / 0.73 GB, free: 4.641 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003171/0.5427, allocations: 144 kB / 0.7301 GB, free: 4.566 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.5427, allocations: 6.703 kB / 0.7301 GB, free: 4.562 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.5427, allocations: 3.406 kB / 0.7301 GB, free: 4.562 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.5427, allocations: 1.984 kB / 0.7301 GB, free: 4.562 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000806/0.5436, allocations: 0.7761 MB / 0.7309 GB, free: 3.848 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5436, allocations: 3.406 kB / 0.7309 GB, free: 3.848 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.5437, allocations: 27.55 kB / 0.7309 GB, free: 3.844 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.5437, allocations: 2.75 kB / 0.7309 GB, free: 3.844 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.5437, allocations: 6 kB / 0.7309 GB, free: 3.844 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.5437, allocations: 1.938 kB / 0.7309 GB, free: 3.844 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5437, allocations: 2.453 kB / 0.7309 GB, free: 3.844 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005386/0.5443, allocations: 412.7 kB / 0.7313 GB, free: 3.52 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.859e-05/0.5444, allocations: 107.1 kB / 0.7314 GB, free: 3.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.5444, allocations: 7.375 kB / 0.7314 GB, free: 3.406 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.5446, allocations: 19.06 kB / 0.7314 GB, free: 3.398 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.5446, allocations: 12.72 kB / 0.7314 GB, free: 3.395 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.5446, allocations: 4.922 kB / 0.7314 GB, free: 3.395 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001964/0.5448, allocations: 206.3 kB / 0.7316 GB, free: 3.285 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5448, allocations: 0 / 0.7316 GB, free: 3.285 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003134/0.5452, allocations: 51.97 kB / 0.7317 GB, free: 3.281 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.0003156/0.5455, allocations: 155.5 kB / 0.7318 GB, free: 3.164 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00037/0.5459, allocations: 131.8 kB / 0.732 GB, free: 3.129 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.5459, allocations: 1.25 kB / 0.732 GB, free: 3.129 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.546, allocations: 66.73 kB / 0.732 GB, free: 3.109 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006517/0.5467, allocations: 128.6 kB / 0.7322 GB, free: 3.078 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008105/0.5475, allocations: 0.5523 MB / 0.7327 GB, free: 2.699 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.5479, allocations: 0.7635 MB / 0.7334 GB, free: 1.996 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001461/0.548, allocations: 56.06 kB / 0.7335 GB, free: 1.984 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/0.5481, allocations: 22.03 kB / 0.7335 GB, free: 1.98 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.5481, allocations: 0 / 0.7335 GB, free: 1.98 MB / 0.545 GB Notification: Performance of Templates: time 0.006989/0.5551, allocations: 3.868 MB / 0.7373 GB, free: 1.734 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: