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.007654/0.007654, allocations: 100.5 kB / 15.87 MB, free: 5.871 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.001667/0.001667, allocations: 192.4 kB / 16.79 MB, free: 5.816 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.538/1.538, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9286/0.9286, allocations: 135.1 MB / 425.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 64.3 kB / 0.5053 GB, free: 5.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1626, allocations: 80.93 MB / 0.5843 GB, free: 5.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4702/0.6328, allocations: 167.2 MB / 0.7476 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008704/0.6415, allocations: 7.201 MB / 0.7546 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006076/0.6422, allocations: 12.28 kB / 0.7547 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005831/0.6428, allocations: 137.6 kB / 0.7548 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003308/0.6461, allocations: 1.185 MB / 0.7559 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.6477, allocations: 0.5776 MB / 0.7565 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001022/0.6487, allocations: 1.059 MB / 0.7575 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003764/0.6491, allocations: 245.1 kB / 0.7578 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001123/0.6502, allocations: 0.5292 MB / 0.7583 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008047/0.6511, allocations: 426.5 kB / 0.7587 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.996e-05/0.6511, allocations: 16 kB / 0.7587 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002562/0.6537, allocations: 1.469 MB / 0.7602 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.6538, allocations: 115.6 kB / 0.7603 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001956/0.6541, allocations: 167.2 kB / 0.7604 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009641/0.655, allocations: 0.6276 MB / 0.761 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.655, allocations: 0 / 0.761 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.896e-06/0.655, allocations: 0 / 0.761 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.305e-05/0.6551, allocations: 3.938 kB / 0.761 GB, free: 8.656 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.001049/0.6561, allocations: 0.6874 MB / 0.7617 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.6562, allocations: 15.97 kB / 0.7617 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.6573, allocations: 131.3 kB / 0.7619 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000443/0.6577, allocations: 329.1 kB / 0.7622 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.231e-05/0.6578, allocations: 54.25 kB / 0.7622 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.357e-05/0.6579, allocations: 31.94 kB / 0.7622 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006366/0.6585, allocations: 358.2 kB / 0.7626 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.6585, allocations: 7.938 kB / 0.7626 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.46e-05/0.6586, allocations: 12 kB / 0.7626 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.6586, allocations: 4 kB / 0.7626 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005109/0.6591, allocations: 278 kB / 0.7629 GB, free: 6.664 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.001876/0.661, allocations: 1.493 MB / 0.7643 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004088/0.6614, allocations: 194.5 kB / 0.7645 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/0.6617, allocations: 120.8 kB / 0.7646 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001068/0.6627, allocations: 0.5053 MB / 0.7651 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.6628, allocations: 30.56 kB / 0.7652 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.542e-06/0.6628, allocations: 0 / 0.7652 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0009691/0.6638, allocations: 364.5 kB / 0.7655 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.6638, allocations: 55.41 kB / 0.7656 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003018/0.6641, allocations: 316.5 kB / 0.7659 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.6641, allocations: 25.7 kB / 0.7659 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.6643, allocations: 188.1 kB / 0.7661 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.347e-05/0.6644, allocations: 43.3 kB / 0.7661 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.038e-05/0.6645, allocations: 49.69 kB / 0.7662 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.6647, allocations: 342.8 kB / 0.7665 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.6649, allocations: 91.31 kB / 0.7666 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002481/0.6651, allocations: 145.9 kB / 0.7667 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004176/0.6655, allocations: 245.2 kB / 0.7669 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.6655, allocations: 0 / 0.7669 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005691/0.6661, allocations: 281.1 kB / 0.7672 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.6661, allocations: 7.984 kB / 0.7672 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.6662, allocations: 7.938 kB / 0.7672 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.6662, allocations: 0 / 0.7672 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.6664, allocations: 39.92 kB / 0.7673 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.6664, allocations: 4 kB / 0.7673 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000252/0.6667, allocations: 43.81 kB / 0.7673 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.6667, allocations: 12 kB / 0.7673 GB, free: 1.785 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.0001529/0.6669, allocations: 153.7 kB / 0.7675 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.667, allocations: 31.62 kB / 0.7675 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006889/0.6677, allocations: 310 kB / 0.7678 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/0.6677, allocations: 4 kB / 0.7678 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.6677, allocations: 0 / 0.7678 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.6677, allocations: 3.984 kB / 0.7678 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.669, allocations: 0.8082 MB / 0.7686 GB, free: 400 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.669, allocations: 0 / 0.7686 GB, free: 400 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.6692, allocations: 39.92 kB / 0.7686 GB, free: 360 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.6692, allocations: 3.938 kB / 0.7686 GB, free: 356 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.6692, allocations: 4 kB / 0.7686 GB, free: 352 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.6693, allocations: 4.875 kB / 0.7686 GB, free: 348 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.6693, allocations: 8.297 kB / 0.7686 GB, free: 340 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005766/0.6698, allocations: 405 kB / 0.769 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.67, allocations: 128.7 kB / 0.7692 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.813e-05/0.67, allocations: 11.94 kB / 0.7692 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002673/0.6703, allocations: 23.97 kB / 0.7692 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.274e-05/0.6704, allocations: 15.98 kB / 0.7692 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.619e-05/0.6704, allocations: 10.31 kB / 0.7692 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002135/0.6706, allocations: 235 kB / 0.7694 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6706, allocations: 0 / 0.7694 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005233/0.6712, allocations: 123.8 kB / 0.7696 GB, free: 15.35 MB / 0.5919 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.0005575/0.6717, allocations: 233.9 kB / 0.7698 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004785/0.6722, allocations: 222.2 kB / 0.77 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6722, allocations: 0 / 0.77 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002359/0.6725, allocations: 115.8 kB / 0.7701 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000857/0.6733, allocations: 163.6 kB / 0.7703 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.6744, allocations: 0.7407 MB / 0.771 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.6748, allocations: 0.7836 MB / 0.7717 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.6749, allocations: 27.44 kB / 0.7718 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of SimCode: time 2e-07/0.6749, allocations: 0 / 0.7718 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of Templates: time 0.009917/0.6848, allocations: 6.245 MB / 0.7779 GB, free: 6.852 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)