Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.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.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006754/0.006754, allocations: 101.3 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.0014/0.001401, allocations: 200 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9729/0.9729, allocations: 135.1 MB / 425.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 63.91 kB / 0.5856 GB, free: 3.34 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4297/0.4311, allocations: 80.91 MB / 0.6647 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.1843/0.6154, allocations: 163.2 MB / 0.8241 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.006274/0.6218, allocations: 4.583 MB / 0.8285 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005424/0.6223, allocations: 7.938 kB / 0.8285 GB, free: 9.227 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006378/0.623, allocations: 123.1 kB / 0.8287 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001733/0.6248, allocations: 0.5601 MB / 0.8292 GB, free: 8.543 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002143/0.627, allocations: 0.789 MB / 0.83 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0009235/0.628, allocations: 0.5768 MB / 0.8305 GB, free: 7.176 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004502/0.6284, allocations: 215.1 kB / 0.8307 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.6296, allocations: 478.2 kB / 0.8312 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000702/0.6303, allocations: 294.9 kB / 0.8315 GB, free: 6.207 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.846e-05/0.6304, allocations: 16 kB / 0.8315 GB, free: 6.191 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.6322, allocations: 1.009 MB / 0.8325 GB, free: 5.18 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.6323, allocations: 83.78 kB / 0.8326 GB, free: 5.098 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002056/0.6326, allocations: 127.3 kB / 0.8327 GB, free: 4.973 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001551/0.6341, allocations: 0.7305 MB / 0.8334 GB, free: 4.242 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.6341, allocations: 0 / 0.8334 GB, free: 4.242 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6341, allocations: 4 kB / 0.8334 GB, free: 4.238 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.53e-05/0.6342, allocations: 0 / 0.8334 GB, free: 4.238 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001074/0.6352, allocations: 0.5802 MB / 0.834 GB, free: 3.609 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.6353, allocations: 8.031 kB / 0.834 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007134/0.636, allocations: 79.62 kB / 0.8341 GB, free: 3.523 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004792/0.6365, allocations: 299.3 kB / 0.8343 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.6365, allocations: 19.94 kB / 0.8344 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.849e-05/0.6366, allocations: 16 kB / 0.8344 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005109/0.6371, allocations: 295.4 kB / 0.8347 GB, free: 2.84 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.6371, allocations: 3.938 kB / 0.8347 GB, free: 2.836 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.6372, allocations: 8 kB / 0.8347 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.6372, allocations: 4 kB / 0.8347 GB, free: 2.824 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000433/0.6376, allocations: 199.8 kB / 0.8349 GB, free: 2.629 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001652/0.6393, allocations: 1.238 MB / 0.8361 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003043/0.6396, allocations: 173 kB / 0.8362 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/0.6398, allocations: 120.2 kB / 0.8363 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007707/0.6406, allocations: 339.3 kB / 0.8367 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.6406, allocations: 38.56 kB / 0.8367 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.753e-06/0.6406, allocations: 0 / 0.8367 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.000762/0.6414, allocations: 285.3 kB / 0.837 GB, free: 248 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.625e-05/0.6415, allocations: 162.2 kB / 0.8371 GB, free: 48 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.6418, allocations: 287 kB / 0.8374 GB, free: 15.77 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.6418, allocations: 29.7 kB / 0.8374 GB, free: 15.73 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.6419, allocations: 143.9 kB / 0.8376 GB, free: 15.59 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.642, allocations: 43.42 kB / 0.8376 GB, free: 15.54 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.775e-05/0.6421, allocations: 49.7 kB / 0.8377 GB, free: 15.49 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.6422, allocations: 334.8 kB / 0.838 GB, free: 15.15 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.6424, allocations: 63.95 kB / 0.838 GB, free: 15.09 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.6426, allocations: 152.4 kB / 0.8382 GB, free: 14.91 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003606/0.643, allocations: 215.5 kB / 0.8384 GB, free: 14.67 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.643, allocations: 0 / 0.8384 GB, free: 14.67 MB / 0.67 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005474/0.6435, allocations: 245.2 kB / 0.8386 GB, free: 14.43 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.6436, allocations: 8 kB / 0.8386 GB, free: 14.42 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.6436, allocations: 80 / 0.8386 GB, free: 14.42 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.6436, allocations: 7.984 kB / 0.8386 GB, free: 14.41 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.6438, allocations: 35.92 kB / 0.8387 GB, free: 14.38 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.6438, allocations: 11.92 kB / 0.8387 GB, free: 14.36 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.644, allocations: 27.83 kB / 0.8387 GB, free: 14.34 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/0.6441, allocations: 12 kB / 0.8387 GB, free: 14.32 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001535/0.6442, allocations: 153.8 kB / 0.8389 GB, free: 14.16 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.6444, allocations: 27.72 kB / 0.8389 GB, free: 14.14 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004707/0.6449, allocations: 186.1 kB / 0.8391 GB, free: 13.94 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.6449, allocations: 0 / 0.8391 GB, free: 13.94 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.6449, allocations: 11.92 kB / 0.8391 GB, free: 13.93 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.6449, allocations: 0 / 0.8391 GB, free: 13.93 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009843/0.6459, allocations: 0.8471 MB / 0.8399 GB, free: 13 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.6459, allocations: 4 kB / 0.8399 GB, free: 13 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.6461, allocations: 19.98 kB / 0.8399 GB, free: 12.98 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.6461, allocations: 4 kB / 0.8399 GB, free: 12.98 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.6461, allocations: 0 / 0.8399 GB, free: 12.98 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.296e-06/0.6461, allocations: 7.938 kB / 0.84 GB, free: 12.97 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6461, allocations: 4.062 kB / 0.84 GB, free: 12.96 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005798/0.6467, allocations: 355.5 kB / 0.8403 GB, free: 12.59 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 9.556e-05/0.6468, allocations: 112.8 kB / 0.8404 GB, free: 12.46 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.827e-05/0.6469, allocations: 11.91 kB / 0.8404 GB, free: 12.45 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.647, allocations: 7.984 kB / 0.8404 GB, free: 12.44 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.6471, allocations: 11.98 kB / 0.8404 GB, free: 12.43 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.6471, allocations: 8 kB / 0.8404 GB, free: 12.42 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002279/0.6473, allocations: 229.9 kB / 0.8407 GB, free: 12.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.713e-06/0.6473, allocations: 0 / 0.8407 GB, free: 12.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004867/0.6478, allocations: 99.94 kB / 0.8408 GB, free: 12.1 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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.0005459/0.6484, allocations: 209.9 kB / 0.841 GB, free: 11.89 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004022/0.6488, allocations: 147.8 kB / 0.8411 GB, free: 11.75 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6488, allocations: 0 / 0.8411 GB, free: 11.75 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.649, allocations: 63.89 kB / 0.8412 GB, free: 11.69 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007741/0.6497, allocations: 142.8 kB / 0.8413 GB, free: 11.55 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008913/0.6506, allocations: 0.5037 MB / 0.8418 GB, free: 11 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.651, allocations: 0.7597 MB / 0.8425 GB, free: 10.21 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001923/0.6512, allocations: 62.88 kB / 0.8426 GB, free: 10.16 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.703e-05/0.6512, allocations: 23.44 kB / 0.8426 GB, free: 10.13 MB / 0.67 GB Notification: Performance of SimCode: time 4.71e-07/0.6512, allocations: 4 kB / 0.8426 GB, free: 10.13 MB / 0.67 GB Notification: Performance of Templates: time 0.01184/0.6631, allocations: 5.825 MB / 0.8483 GB, free: 4.379 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)