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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 213.8 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8601/0.8601, allocations: 134 MB / 447.2 MB, free: 9.934 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 67.08 kB / 0.6197 GB, free: 6.348 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1803, allocations: 85.9 MB / 0.7036 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5485/0.7288, allocations: 149.5 MB / 0.8496 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01266/0.7414, allocations: 6.548 MB / 0.856 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004477/0.7419, allocations: 15.88 kB / 0.856 GB, free: 6.801 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006305/0.7425, allocations: 178.7 kB / 0.8562 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003297/0.7458, allocations: 1.299 MB / 0.8575 GB, free: 5.32 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.7475, allocations: 0.6589 MB / 0.8581 GB, free: 4.668 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0009796/0.7485, allocations: 0.768 MB / 0.8589 GB, free: 3.898 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004153/0.7489, allocations: 242.4 kB / 0.8591 GB, free: 3.664 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001218/0.7501, allocations: 0.5838 MB / 0.8597 GB, free: 3.078 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009204/0.751, allocations: 450.4 kB / 0.8601 GB, free: 2.637 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.976e-05/0.7511, allocations: 28 kB / 0.8601 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002138/0.7532, allocations: 1.052 MB / 0.8611 GB, free: 1.555 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.7534, allocations: 115.6 kB / 0.8613 GB, free: 1.441 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.7536, allocations: 143.4 kB / 0.8614 GB, free: 1.301 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.7549, allocations: 0.8795 MB / 0.8622 GB, free: 436 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.755, allocations: 0 / 0.8622 GB, free: 436 kB / 0.6231 GB Notification: Performance of FrontEnd: time 1.122e-06/0.755, allocations: 4 kB / 0.8623 GB, free: 432 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.755, allocations: 0 / 0.8623 GB, free: 432 kB / 0.6231 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.001131/0.7561, allocations: 0.6368 MB / 0.8629 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.7561, allocations: 8.031 kB / 0.8629 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.7572, allocations: 131.6 kB / 0.863 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005923/0.7578, allocations: 275.6 kB / 0.8633 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.7579, allocations: 77.17 kB / 0.8633 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.819e-05/0.7579, allocations: 28 kB / 0.8634 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007426/0.7586, allocations: 392.9 kB / 0.8637 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.7587, allocations: 0 / 0.8637 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.584e-05/0.7587, allocations: 12 kB / 0.8638 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.7587, allocations: 15.92 kB / 0.8638 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000567/0.7593, allocations: 277.7 kB / 0.864 GB, free: 14.5 MB / 0.6387 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.001872/0.7612, allocations: 1.067 MB / 0.8651 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004147/0.7616, allocations: 186.6 kB / 0.8653 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.7618, allocations: 112.4 kB / 0.8654 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007685/0.7626, allocations: 131.8 kB / 0.8655 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.7626, allocations: 38.56 kB / 0.8655 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=15): time 2.074e-06/0.7626, allocations: 0 / 0.8655 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of matching and sorting (n=15): time 0.001025/0.7636, allocations: 357.9 kB / 0.8659 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.7637, allocations: 51.41 kB / 0.8659 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.7639, allocations: 233.9 kB / 0.8661 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.764, allocations: 25.7 kB / 0.8662 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.7641, allocations: 200.5 kB / 0.8664 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.597e-05/0.7642, allocations: 59.47 kB / 0.8664 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.7643, allocations: 41.7 kB / 0.8664 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002207/0.7646, allocations: 334.8 kB / 0.8668 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.7648, allocations: 87.92 kB / 0.8669 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003272/0.7651, allocations: 223 kB / 0.8671 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004555/0.7656, allocations: 237.7 kB / 0.8673 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7656, allocations: 4 kB / 0.8673 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006109/0.7662, allocations: 279.8 kB / 0.8676 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.7662, allocations: 8 kB / 0.8676 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.7662, allocations: 0 / 0.8676 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.7662, allocations: 4 kB / 0.8676 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.7664, allocations: 43.92 kB / 0.8676 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.7665, allocations: 7.984 kB / 0.8676 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.7666, allocations: 16.08 kB / 0.8676 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-05/0.7667, allocations: 19.98 kB / 0.8677 GB, free: 10.61 MB / 0.6387 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.0001821/0.7669, allocations: 153.7 kB / 0.8678 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.895e-05/0.767, allocations: 19.86 kB / 0.8678 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007038/0.7677, allocations: 313.7 kB / 0.8681 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.7677, allocations: 4 kB / 0.8681 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.7677, allocations: 0 / 0.8681 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.7677, allocations: 7.938 kB / 0.8681 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001331/0.769, allocations: 0.7065 MB / 0.8688 GB, free: 9.348 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.769, allocations: 0 / 0.8688 GB, free: 9.348 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/0.7692, allocations: 39.97 kB / 0.8689 GB, free: 9.309 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.226e-06/0.7692, allocations: 12.14 kB / 0.8689 GB, free: 9.297 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.7692, allocations: 14.86 kB / 0.8689 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.7692, allocations: 3.938 kB / 0.8689 GB, free: 9.281 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.7692, allocations: 4 kB / 0.8689 GB, free: 9.277 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006372/0.7699, allocations: 389.2 kB / 0.8693 GB, free: 8.859 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.77, allocations: 51.77 kB / 0.8693 GB, free: 8.809 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.74e-05/0.77, allocations: 8.094 kB / 0.8693 GB, free: 8.801 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.7703, allocations: 19.86 kB / 0.8693 GB, free: 8.781 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.969e-05/0.7703, allocations: 23.91 kB / 0.8694 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/0.7703, allocations: 8 kB / 0.8694 GB, free: 8.75 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001666/0.7705, allocations: 169.2 kB / 0.8695 GB, free: 8.582 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7705, allocations: 0 / 0.8695 GB, free: 8.582 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005615/0.7711, allocations: 127.6 kB / 0.8697 GB, free: 8.457 MB / 0.6387 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.0004405/0.7715, allocations: 210.9 kB / 0.8699 GB, free: 8.238 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005677/0.7721, allocations: 219.9 kB / 0.8701 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.7721, allocations: 0 / 0.8701 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002398/0.7723, allocations: 111.8 kB / 0.8702 GB, free: 7.914 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006466/0.773, allocations: 103.5 kB / 0.8703 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.7741, allocations: 0.6228 MB / 0.8709 GB, free: 7.141 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.7743, allocations: 176.8 kB / 0.871 GB, free: 6.949 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.7744, allocations: 27.42 kB / 0.8711 GB, free: 6.922 MB / 0.6387 GB Notification: Performance of SimCode: time 5.91e-07/0.7744, allocations: 4 kB / 0.8711 GB, free: 6.918 MB / 0.6387 GB Notification: Performance of Templates: time 0.009197/0.7836, allocations: 5.686 MB / 0.8766 GB, free: 1.277 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.274337874725461] Failed to read output from testmodel.py, exit status != 0: 0.7916199527680874 0.806975462 0.048893426000000004 Calling exit ...