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.005694/0.005694, allocations: 99.84 kB / 15.73 MB, free: 6.066 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.001211/0.001212, allocations: 188.8 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7977/0.7977, allocations: 135.1 MB / 425.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 66.42 kB / 0.5856 GB, free: 21.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1718, allocations: 80.92 MB / 0.6647 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5523/0.7242, allocations: 169.4 MB / 0.8301 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00866/0.7329, allocations: 7.138 MB / 0.8371 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005115/0.7334, allocations: 14.09 kB / 0.8371 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005692/0.734, allocations: 160.1 kB / 0.8373 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003421/0.7375, allocations: 1.269 MB / 0.8385 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.7392, allocations: 0.6332 MB / 0.8391 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009799/0.7402, allocations: 0.7587 MB / 0.8399 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004924/0.7407, allocations: 282.8 kB / 0.8401 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/0.7419, allocations: 0.5712 MB / 0.8407 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008867/0.7428, allocations: 430.8 kB / 0.8411 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.187e-05/0.7429, allocations: 27.5 kB / 0.8411 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002166/0.7451, allocations: 1.244 MB / 0.8423 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001635/0.7453, allocations: 117.3 kB / 0.8424 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002291/0.7455, allocations: 173.7 kB / 0.8426 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0016/0.7471, allocations: 0.9126 MB / 0.8435 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.7471, allocations: 0 / 0.8435 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7471, allocations: 0 / 0.8435 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.943e-05/0.7472, allocations: 2.531 kB / 0.8435 GB, free: 4.277 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.001212/0.7484, allocations: 0.712 MB / 0.8442 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.7484, allocations: 11.02 kB / 0.8442 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.7495, allocations: 133.1 kB / 0.8443 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005416/0.75, allocations: 349.4 kB / 0.8447 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.416e-05/0.7501, allocations: 53.38 kB / 0.8447 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/0.7502, allocations: 25.56 kB / 0.8447 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006486/0.7508, allocations: 365.4 kB / 0.8451 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.7508, allocations: 3.938 kB / 0.8451 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/0.7509, allocations: 10.62 kB / 0.8451 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.7509, allocations: 15.34 kB / 0.8451 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000531/0.7514, allocations: 271 kB / 0.8454 GB, free: 2.82 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.001731/0.7532, allocations: 1.48 MB / 0.8468 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003741/0.7536, allocations: 198 kB / 0.847 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001992/0.7538, allocations: 117.3 kB / 0.8471 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009107/0.7547, allocations: 0.503 MB / 0.8476 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.7547, allocations: 33.28 kB / 0.8476 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.7547, allocations: 0 / 0.8476 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0009483/0.7557, allocations: 365 kB / 0.848 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.7557, allocations: 58.09 kB / 0.8481 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.756, allocations: 319.8 kB / 0.8484 GB, free: 284 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.7561, allocations: 32.45 kB / 0.8484 GB, free: 248 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.7562, allocations: 187.2 kB / 0.8486 GB, free: 72 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/0.7563, allocations: 51 kB / 0.8486 GB, free: 28 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.555e-05/0.7564, allocations: 46.73 kB / 0.8487 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.7565, allocations: 342.8 kB / 0.849 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.7567, allocations: 85.27 kB / 0.8491 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/0.7569, allocations: 150.1 kB / 0.8492 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004258/0.7574, allocations: 243.3 kB / 0.8494 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7574, allocations: 4 kB / 0.8494 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006011/0.758, allocations: 276.9 kB / 0.8497 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.758, allocations: 4.719 kB / 0.8497 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.758, allocations: 5.781 kB / 0.8497 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.7581, allocations: 2.844 kB / 0.8497 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.7583, allocations: 45.92 kB / 0.8498 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.7583, allocations: 6.656 kB / 0.8498 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/0.7585, allocations: 33.94 kB / 0.8498 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.81e-05/0.7586, allocations: 13.56 kB / 0.8498 GB, free: 15.16 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.0001603/0.7587, allocations: 152 kB / 0.85 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.7589, allocations: 33.52 kB / 0.85 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000725/0.7596, allocations: 313.1 kB / 0.8503 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.7596, allocations: 6.453 kB / 0.8503 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.7596, allocations: 0 / 0.8503 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.7596, allocations: 1.844 kB / 0.8503 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.761, allocations: 0.8103 MB / 0.8511 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.761, allocations: 2.594 kB / 0.8511 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.7611, allocations: 32.33 kB / 0.8511 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.7612, allocations: 7 kB / 0.8511 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.7612, allocations: 9.188 kB / 0.8511 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.7612, allocations: 6.703 kB / 0.8512 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.7612, allocations: 5.906 kB / 0.8512 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005906/0.7618, allocations: 399.4 kB / 0.8515 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.762, allocations: 134.5 kB / 0.8517 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.015e-05/0.762, allocations: 9.844 kB / 0.8517 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.7623, allocations: 19.83 kB / 0.8517 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.46e-05/0.7623, allocations: 18.66 kB / 0.8517 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.523e-05/0.7624, allocations: 11.75 kB / 0.8517 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002145/0.7626, allocations: 226.9 kB / 0.8519 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7626, allocations: 3.938 kB / 0.8519 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005122/0.7631, allocations: 120.5 kB / 0.8521 GB, free: 13.49 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.0006828/0.7638, allocations: 223.6 kB / 0.8523 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005594/0.7644, allocations: 228 kB / 0.8525 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.7644, allocations: 0 / 0.8525 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002307/0.7646, allocations: 115 kB / 0.8526 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008708/0.7655, allocations: 168.5 kB / 0.8528 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.7666, allocations: 0.6037 MB / 0.8533 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.7669, allocations: 0.7858 MB / 0.8541 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002895/0.7672, allocations: 88.12 kB / 0.8542 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.084e-05/0.7673, allocations: 30.97 kB / 0.8542 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of SimCode: time 3.31e-07/0.7673, allocations: 0 / 0.8542 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of Templates: time 0.01382/0.7811, allocations: 7.314 MB / 0.8614 GB, free: 5.184 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)