Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.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.001028/0.001028, allocations: 88.23 kB / 19.64 MB, free: 308 kB / 13.93 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.001288/0.001288, allocations: 168.9 kB / 23.02 MB, free: 1.574 MB / 18.57 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 0.9989/0.9989, allocations: 177.1 MB / 203.4 MB, free: 5.66 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8213/0.8213, allocations: 154.9 MB / 414.8 MB, free: 392 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0.5469 kB / 0.5207 GB, free: 1.816 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.272e-05/3.537e-05, allocations: 4.25 kB / 0.5207 GB, free: 1.812 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1555/0.1556, allocations: 146.6 MB / 0.6638 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002086/0.1576, allocations: 1.284 MB / 0.6651 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002335/0.1579, allocations: 15.88 kB / 0.6651 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003591/0.1582, allocations: 87.28 kB / 0.6652 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0008484/0.1591, allocations: 385.8 kB / 0.6656 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.1603, allocations: 474.7 kB / 0.666 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0007877/0.1611, allocations: 0.701 MB / 0.6667 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003221/0.1615, allocations: 193.4 kB / 0.6669 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005087/0.162, allocations: 375 kB / 0.6672 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.1622, allocations: 191.4 kB / 0.6674 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.483e-05/0.1622, allocations: 24 kB / 0.6674 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004515/0.1627, allocations: 299.2 kB / 0.6677 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.1628, allocations: 115.6 kB / 0.6678 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.1629, allocations: 119.7 kB / 0.6679 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0006566/0.1635, allocations: 438.6 kB / 0.6684 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1636, allocations: 4 kB / 0.6684 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1636, allocations: 0 / 0.6684 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.1636, allocations: 0 / 0.6684 GB, free: 10.25 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007069/0.1643, allocations: 0.6475 MB / 0.669 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.1643, allocations: 8.031 kB / 0.669 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006841/0.165, allocations: 208.2 kB / 0.6692 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.1653, allocations: 275.3 kB / 0.6695 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.1653, allocations: 16.88 kB / 0.6695 GB, free: 9.047 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.1654, allocations: 20.38 kB / 0.6695 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/0.1657, allocations: 247.1 kB / 0.6697 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1657, allocations: 0 / 0.6697 GB, free: 8.762 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.1657, allocations: 8 kB / 0.6697 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.1657, allocations: 11.98 kB / 0.6698 GB, free: 8.742 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.1658, allocations: 87.88 kB / 0.6698 GB, free: 8.656 MB / 0.6355 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.000908/0.1667, allocations: 1.14 MB / 0.671 GB, free: 7.461 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.1669, allocations: 79.03 kB / 0.671 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.889e-05/0.1669, allocations: 43.67 kB / 0.6711 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002008/0.1671, allocations: 47.95 kB / 0.6711 GB, free: 7.277 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.1671, allocations: 37.33 kB / 0.6712 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.773e-06/0.1671, allocations: 4 kB / 0.6712 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0003368/0.1675, allocations: 165.5 kB / 0.6713 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.1675, allocations: 55.41 kB / 0.6714 GB, free: 6.992 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.1677, allocations: 292.3 kB / 0.6716 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.1677, allocations: 25.7 kB / 0.6717 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.1678, allocations: 231 kB / 0.6719 GB, free: 6.426 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.585e-05/0.1678, allocations: 55.53 kB / 0.6719 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.999e-05/0.1679, allocations: 55.31 kB / 0.672 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.168, allocations: 0.504 MB / 0.6725 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.641e-05/0.1681, allocations: 23.98 kB / 0.6725 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.1682, allocations: 174 kB / 0.6727 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.1685, allocations: 130 kB / 0.6728 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1685, allocations: 0 / 0.6728 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001951/0.1687, allocations: 161.4 kB / 0.673 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.1687, allocations: 4 kB / 0.673 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1687, allocations: 3.938 kB / 0.673 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1687, allocations: 4 kB / 0.673 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.1688, allocations: 43.92 kB / 0.673 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.1688, allocations: 3.984 kB / 0.673 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.835e-05/0.1689, allocations: 19.98 kB / 0.673 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.1689, allocations: 12 kB / 0.673 GB, free: 5.152 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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 9.08e-05/0.169, allocations: 164.5 kB / 0.6732 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.169, allocations: 39.75 kB / 0.6732 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001794/0.1692, allocations: 133.7 kB / 0.6734 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1692, allocations: 4 kB / 0.6734 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.1692, allocations: 0 / 0.6734 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1692, allocations: 0 / 0.6734 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004924/0.1697, allocations: 0.5613 MB / 0.6739 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1697, allocations: 8 kB / 0.6739 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.681e-05/0.1698, allocations: 31.92 kB / 0.674 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1698, allocations: 3.984 kB / 0.674 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.1698, allocations: 8 kB / 0.674 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.1698, allocations: 7.938 kB / 0.674 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1698, allocations: 0 / 0.674 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.1701, allocations: 361.6 kB / 0.6743 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/0.1702, allocations: 35.84 kB / 0.6744 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.1702, allocations: 4 kB / 0.6744 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.06e-05/0.1702, allocations: 15.92 kB / 0.6744 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.1703, allocations: 15.92 kB / 0.6744 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.1703, allocations: 4 kB / 0.6744 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.947e-05/0.1704, allocations: 201.1 kB / 0.6746 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.1704, allocations: 0 / 0.6746 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002549/0.1707, allocations: 91.81 kB / 0.6747 GB, free: 3.352 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (15): * Single equations (assignments): 15 * 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.0002109/0.1709, allocations: 135.2 kB / 0.6748 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001832/0.171, allocations: 102.5 kB / 0.6749 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.171, allocations: 0 / 0.6749 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.991e-05/0.1711, allocations: 55.55 kB / 0.675 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/0.1715, allocations: 129.1 kB / 0.6751 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009809/0.1725, allocations: 0.5709 MB / 0.6756 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.547e-05/0.1726, allocations: 96.3 kB / 0.6757 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001308/0.1727, allocations: 50.25 kB / 0.6758 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.972e-05/0.1728, allocations: 28.5 kB / 0.6758 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of SimCode: time 5.61e-07/0.1728, allocations: 0 / 0.6758 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of Templates: time 0.2654/0.4382, allocations: 4.959 MB / 0.6806 GB, free: 61.72 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.317262385040522]