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.00101/0.00101, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.008108/0.008109, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.536/1.536, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9519/0.9519, allocations: 135.3 MB / 426.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003867/0.0003866, allocations: 9.156 kB / 0.5076 GB, free: 4.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2007, allocations: 82.31 MB / 0.588 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5214/0.7222, allocations: 165 MB / 0.7491 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009631/0.7319, allocations: 7.117 MB / 0.7561 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008122/0.7328, allocations: 14.59 kB / 0.7561 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006473/0.7334, allocations: 133.6 kB / 0.7562 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003881/0.7373, allocations: 1.192 MB / 0.7574 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002052/0.7394, allocations: 0.5701 MB / 0.7579 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00134/0.7407, allocations: 1.049 MB / 0.7589 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004199/0.7412, allocations: 244.5 kB / 0.7592 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001308/0.7425, allocations: 0.5187 MB / 0.7597 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009326/0.7434, allocations: 428.1 kB / 0.7601 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.82e-05/0.7435, allocations: 13.38 kB / 0.7601 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002941/0.7464, allocations: 1.467 MB / 0.7615 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.7466, allocations: 103.7 kB / 0.7616 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002326/0.7469, allocations: 188.8 kB / 0.7618 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001935/0.7488, allocations: 0.9776 MB / 0.7628 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7488, allocations: 0 / 0.7628 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.924e-06/0.7488, allocations: 0 / 0.7628 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.7488, allocations: 0 / 0.7628 GB, free: 9.496 MB / 0.5762 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.0009902/0.7498, allocations: 0.6349 MB / 0.7634 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.7499, allocations: 8.031 kB / 0.7634 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.7509, allocations: 131.3 kB / 0.7635 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/0.7514, allocations: 329.1 kB / 0.7638 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.001e-05/0.7515, allocations: 50.27 kB / 0.7639 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.233e-05/0.7515, allocations: 24 kB / 0.7639 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000657/0.7522, allocations: 378.2 kB / 0.7643 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.7522, allocations: 3.938 kB / 0.7643 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.548e-05/0.7522, allocations: 15.94 kB / 0.7643 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.7523, allocations: 11.94 kB / 0.7643 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005316/0.7528, allocations: 286 kB / 0.7646 GB, free: 7.539 MB / 0.5762 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.001913/0.7547, allocations: 1.492 MB / 0.766 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003937/0.7551, allocations: 206.5 kB / 0.7662 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002293/0.7554, allocations: 120.8 kB / 0.7663 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001004/0.7564, allocations: 0.517 MB / 0.7668 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.7564, allocations: 44.38 kB / 0.7669 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.7564, allocations: 4 kB / 0.7669 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0009885/0.7574, allocations: 376.7 kB / 0.7672 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.7575, allocations: 55.34 kB / 0.7673 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003148/0.7578, allocations: 312.5 kB / 0.7676 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.353e-05/0.7579, allocations: 33.7 kB / 0.7676 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.758, allocations: 180.1 kB / 0.7678 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.587e-05/0.758, allocations: 51.3 kB / 0.7679 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.7581, allocations: 21.7 kB / 0.7679 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.7582, allocations: 342.8 kB / 0.7682 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.7584, allocations: 91.94 kB / 0.7683 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.7587, allocations: 149.9 kB / 0.7684 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004328/0.7591, allocations: 261.4 kB / 0.7687 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.7591, allocations: 0 / 0.7687 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000618/0.7598, allocations: 293.1 kB / 0.769 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.7598, allocations: 4 kB / 0.769 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.7598, allocations: 4 kB / 0.769 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.7598, allocations: 4 kB / 0.769 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.7601, allocations: 39.92 kB / 0.769 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.7601, allocations: 4 kB / 0.769 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.7603, allocations: 47.78 kB / 0.7691 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.515e-05/0.7604, allocations: 8 kB / 0.7691 GB, free: 2.602 MB / 0.5762 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.0001674/0.7605, allocations: 157.7 kB / 0.7692 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.927e-05/0.7607, allocations: 23.72 kB / 0.7692 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007204/0.7614, allocations: 326.8 kB / 0.7695 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.7614, allocations: 4 kB / 0.7696 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.7614, allocations: 3.688 kB / 0.7696 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.7614, allocations: 8.016 kB / 0.7696 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.7628, allocations: 0.8161 MB / 0.7704 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.7628, allocations: 4 kB / 0.7704 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/0.763, allocations: 39.92 kB / 0.7704 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.763, allocations: 3.938 kB / 0.7704 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.763, allocations: 4 kB / 0.7704 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.763, allocations: 4 kB / 0.7704 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.763, allocations: 7.984 kB / 0.7704 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006139/0.7637, allocations: 417.2 kB / 0.7708 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.7638, allocations: 140.6 kB / 0.771 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.7639, allocations: 4 kB / 0.771 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000263/0.7641, allocations: 31.97 kB / 0.771 GB, free: 496 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.773e-05/0.7642, allocations: 11.98 kB / 0.771 GB, free: 484 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.7642, allocations: 12 kB / 0.771 GB, free: 472 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002131/0.7644, allocations: 227 kB / 0.7712 GB, free: 248 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7644, allocations: 0 / 0.7712 GB, free: 248 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005404/0.765, allocations: 127.8 kB / 0.7713 GB, free: 120 kB / 0.5762 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.0005783/0.7656, allocations: 225.1 kB / 0.7716 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005137/0.7661, allocations: 232 kB / 0.7718 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.7661, allocations: 0 / 0.7718 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002366/0.7664, allocations: 119.8 kB / 0.7719 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.7674, allocations: 169.9 kB / 0.7721 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.7686, allocations: 0.7229 MB / 0.7728 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.7691, allocations: 0.7836 MB / 0.7735 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003022/0.7694, allocations: 83.69 kB / 0.7736 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.807e-05/0.7695, allocations: 35.42 kB / 0.7736 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.7695, allocations: 0 / 0.7736 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.01448/0.784, allocations: 6.949 MB / 0.7804 GB, free: 6.863 MB / 0.5919 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)