Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005902/0.005902, allocations: 101.6 kB / 15.73 MB, free: 6.043 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.001271/0.001271, allocations: 194.1 kB / 16.67 MB, free: 5.957 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8293/0.8293, allocations: 135.1 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 60.78 kB / 0.5856 GB, free: 21.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1716, allocations: 80.93 MB / 0.6647 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.572/0.7437, allocations: 169.4 MB / 0.8301 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008076/0.7518, allocations: 7.127 MB / 0.8371 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004674/0.7523, allocations: 19.47 kB / 0.8371 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005188/0.7529, allocations: 166.9 kB / 0.8373 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0032/0.7561, allocations: 1.315 MB / 0.8385 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001558/0.7577, allocations: 0.6344 MB / 0.8392 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007621/0.7584, allocations: 0.7567 MB / 0.8399 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003914/0.7588, allocations: 290.7 kB / 0.8402 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.7599, allocations: 0.5884 MB / 0.8408 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007466/0.7606, allocations: 429.1 kB / 0.8412 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.388e-05/0.7607, allocations: 27.5 kB / 0.8412 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001912/0.7626, allocations: 1.258 MB / 0.8424 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.7627, allocations: 107 kB / 0.8425 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.7629, allocations: 181.9 kB / 0.8427 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.7642, allocations: 0.9093 MB / 0.8436 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.7642, allocations: 0 / 0.8436 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.993e-06/0.7642, allocations: 2.812 kB / 0.8436 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.7643, allocations: 4 kB / 0.8436 GB, free: 4.23 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009389/0.7652, allocations: 0.6995 MB / 0.8443 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.7652, allocations: 8.859 kB / 0.8443 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009813/0.7662, allocations: 128.9 kB / 0.8444 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005045/0.7667, allocations: 341.3 kB / 0.8447 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.43e-05/0.7668, allocations: 49.39 kB / 0.8448 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.059e-05/0.7669, allocations: 29.53 kB / 0.8448 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006129/0.7675, allocations: 369.3 kB / 0.8452 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.7675, allocations: 3.562 kB / 0.8452 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.338e-05/0.7676, allocations: 14.61 kB / 0.8452 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.7676, allocations: 11.41 kB / 0.8452 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004855/0.7681, allocations: 266.6 kB / 0.8454 GB, free: 2.805 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.7698, allocations: 1.493 MB / 0.8469 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003576/0.7702, allocations: 187.4 kB / 0.8471 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/0.7704, allocations: 121.7 kB / 0.8472 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009023/0.7713, allocations: 0.5032 MB / 0.8477 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.7713, allocations: 33.41 kB / 0.8477 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.7713, allocations: 4 kB / 0.8477 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0008946/0.7722, allocations: 355.8 kB / 0.8481 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.7723, allocations: 53.78 kB / 0.8481 GB, free: 488 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/0.7726, allocations: 316.3 kB / 0.8484 GB, free: 272 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.7726, allocations: 25.7 kB / 0.8484 GB, free: 240 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.7727, allocations: 193 kB / 0.8486 GB, free: 60 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.281e-05/0.7728, allocations: 51.06 kB / 0.8487 GB, free: 16 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.09e-05/0.7729, allocations: 47.48 kB / 0.8487 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.773, allocations: 346.2 kB / 0.849 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.7732, allocations: 86.62 kB / 0.8491 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.7734, allocations: 156.6 kB / 0.8493 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003895/0.7738, allocations: 230.6 kB / 0.8495 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.7738, allocations: 0 / 0.8495 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005478/0.7744, allocations: 291.5 kB / 0.8498 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.7744, allocations: 4.812 kB / 0.8498 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.7744, allocations: 2.031 kB / 0.8498 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.7745, allocations: 7.141 kB / 0.8498 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.7747, allocations: 42.14 kB / 0.8498 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.7747, allocations: 6.125 kB / 0.8498 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.7749, allocations: 32.8 kB / 0.8499 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/0.7749, allocations: 7.688 kB / 0.8499 GB, free: 15.14 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0001404/0.7751, allocations: 153.9 kB / 0.85 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.7752, allocations: 32.45 kB / 0.85 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006586/0.7759, allocations: 318.7 kB / 0.8503 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.7759, allocations: 0 / 0.8503 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.7759, allocations: 3.469 kB / 0.8504 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.7759, allocations: 0 / 0.8504 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.7771, allocations: 0.8061 MB / 0.8511 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.7771, allocations: 2.094 kB / 0.8511 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.7773, allocations: 33.2 kB / 0.8512 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.862e-06/0.7773, allocations: 9.25 kB / 0.8512 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.7773, allocations: 10.73 kB / 0.8512 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.7773, allocations: 6.156 kB / 0.8512 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.7774, allocations: 3.219 kB / 0.8512 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005616/0.7779, allocations: 406.3 kB / 0.8516 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.7781, allocations: 136.4 kB / 0.8517 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.654e-05/0.7781, allocations: 6.734 kB / 0.8517 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.7784, allocations: 14.83 kB / 0.8517 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.784e-05/0.7784, allocations: 17.33 kB / 0.8518 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.7785, allocations: 14.12 kB / 0.8518 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002058/0.7787, allocations: 225.8 kB / 0.852 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7787, allocations: 3.938 kB / 0.852 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004864/0.7792, allocations: 121 kB / 0.8521 GB, free: 13.48 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (16): * Single equations (assignments): 16 * 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.0004944/0.7797, allocations: 220.5 kB / 0.8523 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004686/0.7801, allocations: 217.7 kB / 0.8525 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.7802, allocations: 0 / 0.8525 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.7804, allocations: 123.3 kB / 0.8526 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008311/0.7812, allocations: 168.8 kB / 0.8528 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009454/0.7822, allocations: 0.6059 MB / 0.8534 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.7825, allocations: 0.7836 MB / 0.8542 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002448/0.7828, allocations: 86.34 kB / 0.8542 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.393e-05/0.7829, allocations: 31.75 kB / 0.8543 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.7829, allocations: 0 / 0.8543 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of Templates: time 0.01162/0.7945, allocations: 7.309 MB / 0.8614 GB, free: 5.23 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)