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.0009131/0.0009132, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.0008131/0.0008131, allocations: 168.7 kB / 15.95 MB, free: 204 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.443/1.443, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9759/0.9759, allocations: 135.3 MB / 426.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003585, allocations: 15.98 kB / 0.507 GB, free: 5.152 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1811, allocations: 82.3 MB / 0.5874 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.4967/0.6779, allocations: 148.2 MB / 0.7321 GB, free: 2.156 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006602/0.6845, allocations: 4.254 MB / 0.7363 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000384/0.6849, allocations: 13.19 kB / 0.7363 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005176/0.6855, allocations: 91.27 kB / 0.7364 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001653/0.6871, allocations: 381.9 kB / 0.7367 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.6892, allocations: 0.5284 MB / 0.7372 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009829/0.6902, allocations: 0.6842 MB / 0.7379 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003373/0.6905, allocations: 163.2 kB / 0.7381 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.6916, allocations: 368.7 kB / 0.7384 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006406/0.6923, allocations: 280 kB / 0.7387 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.1e-05/0.6923, allocations: 10.47 kB / 0.7387 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.6938, allocations: 0.5167 MB / 0.7392 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.694, allocations: 78.73 kB / 0.7393 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.689e-05/0.6941, allocations: 70.77 kB / 0.7393 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008569/0.6949, allocations: 401.9 kB / 0.7397 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.308e-06/0.695, allocations: 4 kB / 0.7397 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.657e-06/0.695, allocations: 1.375 kB / 0.7397 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.37e-05/0.695, allocations: 0 / 0.7397 GB, free: 13.7 MB / 0.5606 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.001113/0.6961, allocations: 0.5609 MB / 0.7403 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.6962, allocations: 8.25 kB / 0.7403 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006726/0.6968, allocations: 72.09 kB / 0.7404 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004364/0.6973, allocations: 290.7 kB / 0.7406 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.6973, allocations: 12.25 kB / 0.7406 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.494e-05/0.6974, allocations: 24.31 kB / 0.7407 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005495/0.6979, allocations: 287.1 kB / 0.7409 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.698, allocations: 3.938 kB / 0.7409 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.698, allocations: 6.75 kB / 0.741 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.698, allocations: 4.125 kB / 0.741 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004676/0.6985, allocations: 214.6 kB / 0.7412 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.7002, allocations: 1.251 MB / 0.7424 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003644/0.7006, allocations: 182.8 kB / 0.7426 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.7008, allocations: 118.4 kB / 0.7427 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007751/0.7016, allocations: 351.6 kB / 0.743 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.7017, allocations: 45.03 kB / 0.743 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 2.174e-06/0.7017, allocations: 0 / 0.743 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0007791/0.7024, allocations: 296.1 kB / 0.7433 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.7026, allocations: 156.3 kB / 0.7435 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003119/0.7029, allocations: 281.3 kB / 0.7437 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/0.7029, allocations: 33.27 kB / 0.7438 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.703, allocations: 146.5 kB / 0.7439 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/0.7031, allocations: 45.77 kB / 0.744 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.829e-06/0.7031, allocations: 0 / 0.744 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002202/0.7033, allocations: 342.6 kB / 0.7443 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.7035, allocations: 74.41 kB / 0.7444 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.7037, allocations: 153.6 kB / 0.7445 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.7039, allocations: 86.64 kB / 0.7446 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.7039, allocations: 3.031 kB / 0.7446 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005082/0.7045, allocations: 250.7 kB / 0.7448 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.7045, allocations: 9.297 kB / 0.7448 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.7045, allocations: 2.656 kB / 0.7448 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.7045, allocations: 2.656 kB / 0.7448 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.7047, allocations: 45.38 kB / 0.7449 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.7047, allocations: 5.844 kB / 0.7449 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002152/0.705, allocations: 41.08 kB / 0.7449 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.494e-05/0.705, allocations: 11.34 kB / 0.7449 GB, free: 9.75 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001795/0.7052, allocations: 153.3 kB / 0.7451 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.7053, allocations: 25.34 kB / 0.7451 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005212/0.7059, allocations: 207.3 kB / 0.7453 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.7059, allocations: 6.828 kB / 0.7453 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.7059, allocations: 0 / 0.7453 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.7059, allocations: 1.75 kB / 0.7453 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.7071, allocations: 0.8615 MB / 0.7462 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.7071, allocations: 11.56 kB / 0.7462 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.7072, allocations: 21.77 kB / 0.7462 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.7072, allocations: 2.75 kB / 0.7462 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.7073, allocations: 2.844 kB / 0.7462 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.7073, allocations: 7.719 kB / 0.7462 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7073, allocations: 0 / 0.7462 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005648/0.7079, allocations: 358.6 kB / 0.7465 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.708, allocations: 120.5 kB / 0.7467 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.708, allocations: 0 / 0.7467 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.7082, allocations: 17.92 kB / 0.7467 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/0.7082, allocations: 7.531 kB / 0.7467 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.7083, allocations: 4.812 kB / 0.7467 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002614/0.7085, allocations: 235.7 kB / 0.7469 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4e-07/0.7085, allocations: 0 / 0.7469 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005332/0.7091, allocations: 94.19 kB / 0.747 GB, free: 8.039 MB / 0.5606 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 (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.0005524/0.7096, allocations: 201.4 kB / 0.7472 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004534/0.7101, allocations: 164.5 kB / 0.7474 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.7101, allocations: 0 / 0.7474 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.7103, allocations: 65.42 kB / 0.7474 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000796/0.7111, allocations: 132.1 kB / 0.7475 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.7122, allocations: 0.5643 MB / 0.7481 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004933/0.7127, allocations: 0.761 MB / 0.7488 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000234/0.713, allocations: 69.27 kB / 0.7489 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.279e-05/0.7131, allocations: 22.72 kB / 0.7489 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.7131, allocations: 0 / 0.7489 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of Templates: time 0.01168/0.7247, allocations: 5.291 MB / 0.7541 GB, free: 1.816 MB / 0.5606 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)