Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009172/0.0009172, allocations: 93.06 kB / 19.65 MB, free: 280 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.00166/0.00166, allocations: 173 kB / 23.03 MB, free: 1.547 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.9852/0.9852, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8603/0.8603, allocations: 154.6 MB / 414.5 MB, free: 0.6484 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.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.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 0.5203 GB, free: 2.23 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.058e-05/2.206e-05, allocations: 5.312 kB / 0.5203 GB, free: 2.227 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1526/0.1526, allocations: 146.6 MB / 0.6635 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001796/0.1544, allocations: 1.28 MB / 0.6647 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.1546, allocations: 23.81 kB / 0.6647 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.1548, allocations: 79.33 kB / 0.6648 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0006698/0.1555, allocations: 397.7 kB / 0.6652 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007666/0.1562, allocations: 470.7 kB / 0.6656 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0006183/0.1569, allocations: 0.6967 MB / 0.6663 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002671/0.1571, allocations: 201.9 kB / 0.6665 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00048/0.1576, allocations: 367 kB / 0.6669 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.1578, allocations: 195.4 kB / 0.667 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.056e-05/0.1578, allocations: 20 kB / 0.6671 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004307/0.1582, allocations: 307.1 kB / 0.6674 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.854e-05/0.1583, allocations: 119.6 kB / 0.6675 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.352e-05/0.1584, allocations: 111.8 kB / 0.6676 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004734/0.1589, allocations: 426.7 kB / 0.668 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1589, allocations: 4 kB / 0.668 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1589, allocations: 3.938 kB / 0.668 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.1589, allocations: 4 kB / 0.668 GB, free: 10.68 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.0006574/0.1596, allocations: 0.6436 MB / 0.6686 GB, free: 10 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.1596, allocations: 12.03 kB / 0.6686 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006748/0.1603, allocations: 208.1 kB / 0.6688 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.1606, allocations: 271.3 kB / 0.6691 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.1606, allocations: 20.88 kB / 0.6691 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.1606, allocations: 24.38 kB / 0.6691 GB, free: 9.457 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002795/0.1609, allocations: 235.1 kB / 0.6694 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.1609, allocations: 0 / 0.6694 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.161, allocations: 12 kB / 0.6694 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.161, allocations: 11.94 kB / 0.6694 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.1611, allocations: 83.88 kB / 0.6695 GB, free: 9.094 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.000849/0.1619, allocations: 1.14 MB / 0.6706 GB, free: 7.898 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.1621, allocations: 94.97 kB / 0.6707 GB, free: 7.793 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.596e-05/0.1621, allocations: 35.67 kB / 0.6707 GB, free: 7.754 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001996/0.1623, allocations: 55.94 kB / 0.6708 GB, free: 7.699 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.1623, allocations: 37.33 kB / 0.6708 GB, free: 7.652 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/0.1623, allocations: 3.938 kB / 0.6708 GB, free: 7.648 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0003347/0.1627, allocations: 167.7 kB / 0.671 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.1627, allocations: 55.41 kB / 0.671 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.1629, allocations: 292.3 kB / 0.6713 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.1629, allocations: 33.7 kB / 0.6713 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.163, allocations: 231 kB / 0.6715 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.403e-05/0.1631, allocations: 59.48 kB / 0.6716 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.798e-05/0.1631, allocations: 47.36 kB / 0.6716 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1632, allocations: 0.5079 MB / 0.6721 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.315e-05/0.1633, allocations: 23.98 kB / 0.6722 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.1634, allocations: 170 kB / 0.6723 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.1635, allocations: 121.2 kB / 0.6724 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1635, allocations: 0 / 0.6724 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002032/0.1637, allocations: 161.3 kB / 0.6726 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1638, allocations: 11.98 kB / 0.6726 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1638, allocations: 0 / 0.6726 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1638, allocations: 4.141 kB / 0.6726 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.1639, allocations: 31.98 kB / 0.6726 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.1639, allocations: 7.938 kB / 0.6726 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.973e-05/0.164, allocations: 23.88 kB / 0.6727 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.164, allocations: 12.08 kB / 0.6727 GB, free: 5.582 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 8.663e-05/0.1641, allocations: 172.5 kB / 0.6728 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.1641, allocations: 27.81 kB / 0.6729 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001777/0.1643, allocations: 135.3 kB / 0.673 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1643, allocations: 0 / 0.673 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1643, allocations: 0 / 0.673 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1643, allocations: 3.984 kB / 0.673 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005057/0.1648, allocations: 0.5769 MB / 0.6736 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1648, allocations: 0 / 0.6736 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.76e-05/0.1649, allocations: 35.92 kB / 0.6736 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.1649, allocations: 4 kB / 0.6736 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.1649, allocations: 4 kB / 0.6736 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1649, allocations: 3.938 kB / 0.6736 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1649, allocations: 4 kB / 0.6736 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.1652, allocations: 363.8 kB / 0.674 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.1652, allocations: 47.86 kB / 0.674 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.1653, allocations: 4 kB / 0.674 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.107e-05/0.1653, allocations: 11.94 kB / 0.674 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.1654, allocations: 15.92 kB / 0.674 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.1654, allocations: 8 kB / 0.674 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001116/0.1655, allocations: 201.1 kB / 0.6742 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.1655, allocations: 0 / 0.6742 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002721/0.1658, allocations: 87.83 kB / 0.6743 GB, free: 3.766 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.000203/0.166, allocations: 127.2 kB / 0.6744 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001872/0.1662, allocations: 99.52 kB / 0.6745 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.1662, allocations: 0 / 0.6745 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.645e-05/0.1662, allocations: 51.53 kB / 0.6746 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004984/0.1667, allocations: 129.7 kB / 0.6747 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.1678, allocations: 0.5671 MB / 0.6753 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.812e-05/0.1678, allocations: 100.2 kB / 0.6754 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001209/0.1679, allocations: 54.47 kB / 0.6754 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.768e-05/0.168, allocations: 20.5 kB / 0.6754 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of SimCode: time 7.21e-07/0.168, allocations: 4 kB / 0.6754 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of Templates: time 0.2395/0.4075, allocations: 4.958 MB / 0.6803 GB, free: 61.95 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.402132397983223]