Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00106/0.00106, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 198.7 kB / 16.54 MB, free: 6.672 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.328/1.328, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7625/0.7625, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.44 kB / 0.5018 GB, free: 3.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4275/0.4288, allocations: 80.21 MB / 0.5801 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1807/0.6095, allocations: 169.4 MB / 0.7456 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007862/0.6174, allocations: 7.136 MB / 0.7525 GB, free: 356 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005124/0.6179, allocations: 15.94 kB / 0.7525 GB, free: 340 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005128/0.6185, allocations: 166.8 kB / 0.7527 GB, free: 172 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002817/0.6213, allocations: 1.264 MB / 0.7539 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.6229, allocations: 0.6349 MB / 0.7546 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007555/0.6236, allocations: 0.7521 MB / 0.7553 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003825/0.624, allocations: 302.7 kB / 0.7556 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009622/0.625, allocations: 0.5643 MB / 0.7561 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006887/0.6257, allocations: 422.5 kB / 0.7565 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.193e-05/0.6257, allocations: 28 kB / 0.7566 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001941/0.6277, allocations: 1.235 MB / 0.7578 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.6278, allocations: 119.6 kB / 0.7579 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001594/0.628, allocations: 179.1 kB / 0.758 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.6292, allocations: 0.9039 MB / 0.7589 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.6292, allocations: 0 / 0.7589 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6292, allocations: 0 / 0.7589 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.6292, allocations: 0 / 0.7589 GB, free: 9.773 MB / 0.5919 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.0008415/0.6301, allocations: 0.6935 MB / 0.7596 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.6301, allocations: 8.031 kB / 0.7596 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000959/0.6311, allocations: 135.3 kB / 0.7597 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.6314, allocations: 325.1 kB / 0.7601 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.424e-05/0.6315, allocations: 50.27 kB / 0.7601 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.846e-05/0.6315, allocations: 28 kB / 0.7601 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005574/0.6321, allocations: 370.1 kB / 0.7605 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.6321, allocations: 0 / 0.7605 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.6322, allocations: 8 kB / 0.7605 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.6322, allocations: 15.94 kB / 0.7605 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004676/0.6327, allocations: 266 kB / 0.7608 GB, free: 7.789 MB / 0.5919 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.001657/0.6343, allocations: 1.504 MB / 0.7622 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003579/0.6347, allocations: 194.6 kB / 0.7624 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000231/0.6349, allocations: 112.8 kB / 0.7625 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009614/0.6359, allocations: 0.5014 MB / 0.763 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.6359, allocations: 42.5 kB / 0.7631 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/0.6359, allocations: 0 / 0.7631 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0008775/0.6368, allocations: 364.9 kB / 0.7634 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.6369, allocations: 55.41 kB / 0.7635 GB, free: 4.77 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002933/0.6372, allocations: 312.5 kB / 0.7638 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.6372, allocations: 29.7 kB / 0.7638 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.6373, allocations: 184 kB / 0.764 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.6374, allocations: 51.34 kB / 0.764 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.922e-05/0.6375, allocations: 45.61 kB / 0.764 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.6376, allocations: 346.7 kB / 0.7644 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.6378, allocations: 83.94 kB / 0.7645 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.638, allocations: 145.9 kB / 0.7646 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003757/0.6384, allocations: 241.8 kB / 0.7648 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6384, allocations: 0 / 0.7648 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005294/0.6389, allocations: 284.5 kB / 0.7651 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.6389, allocations: 8 kB / 0.7651 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.6389, allocations: 0 / 0.7651 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.639, allocations: 7.984 kB / 0.7651 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.6392, allocations: 43.92 kB / 0.7652 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.6392, allocations: 0 / 0.7652 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.6394, allocations: 35.67 kB / 0.7652 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.6394, allocations: 12.19 kB / 0.7652 GB, free: 2.898 MB / 0.5919 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.0001398/0.6396, allocations: 157.7 kB / 0.7654 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.6397, allocations: 27.62 kB / 0.7654 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006672/0.6404, allocations: 317.7 kB / 0.7657 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.6404, allocations: 3.938 kB / 0.7657 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.6404, allocations: 8 kB / 0.7657 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.6404, allocations: 0 / 0.7657 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.6415, allocations: 0.8044 MB / 0.7665 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.6416, allocations: 4 kB / 0.7665 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.6417, allocations: 39.84 kB / 0.7665 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.6417, allocations: 4 kB / 0.7665 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.6418, allocations: 8 kB / 0.7665 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.6418, allocations: 4 kB / 0.7665 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.6418, allocations: 0 / 0.7665 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005703/0.6424, allocations: 409.2 kB / 0.7669 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.6425, allocations: 132.6 kB / 0.7671 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.515e-05/0.6426, allocations: 8 kB / 0.7671 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.6428, allocations: 11.98 kB / 0.7671 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.117e-05/0.6429, allocations: 23.95 kB / 0.7671 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.6429, allocations: 8 kB / 0.7671 GB, free: 0.8047 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002093/0.6431, allocations: 227 kB / 0.7673 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6431, allocations: 4 kB / 0.7673 GB, free: 0.582 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005128/0.6436, allocations: 123.8 kB / 0.7674 GB, free: 472 kB / 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.0005254/0.6442, allocations: 218.7 kB / 0.7676 GB, free: 252 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000521/0.6447, allocations: 235.8 kB / 0.7679 GB, free: 16 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6447, allocations: 0 / 0.7679 GB, free: 16 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002367/0.6449, allocations: 119.8 kB / 0.768 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008582/0.6458, allocations: 161 kB / 0.7681 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009664/0.6468, allocations: 0.6009 MB / 0.7687 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.6471, allocations: 0.7872 MB / 0.7695 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002603/0.6474, allocations: 90.27 kB / 0.7696 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.795e-05/0.6475, allocations: 27.44 kB / 0.7696 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of SimCode: time 2.8e-07/0.6475, allocations: 0 / 0.7696 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of Templates: time 0.01189/0.6594, allocations: 7.279 MB / 0.7767 GB, free: 7 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)