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.001101/0.001101, allocations: 82.05 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001792/0.001792, allocations: 169.7 kB / 23.27 MB, free: 1.223 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 1.005/1.005, allocations: 177.2 MB / 203.7 MB, free: 5.496 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.7939/0.7939, allocations: 154.6 MB / 414.8 MB, free: 0.5195 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.543e-06/1.543e-06, allocations: 0.875 kB / 0.5208 GB, free: 1.902 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.958e-05/2.112e-05, allocations: 2.312 kB / 0.5208 GB, free: 1.898 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.136/0.136, allocations: 143.8 MB / 0.6612 GB, free: 1.727 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001591/0.1376, allocations: 1.268 MB / 0.6625 GB, free: 468 kB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002021/0.1378, allocations: 15.88 kB / 0.6625 GB, free: 452 kB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003844/0.1382, allocations: 83.27 kB / 0.6626 GB, free: 368 kB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007562/0.1389, allocations: 397.7 kB / 0.663 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006842/0.1396, allocations: 474.7 kB / 0.6634 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0005479/0.1402, allocations: 0.7006 MB / 0.6641 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002695/0.1404, allocations: 201.3 kB / 0.6643 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000414/0.1408, allocations: 367.1 kB / 0.6646 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.141, allocations: 195.4 kB / 0.6648 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.146e-05/0.1411, allocations: 24 kB / 0.6648 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003563/0.1414, allocations: 307.1 kB / 0.6651 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.648e-05/0.1415, allocations: 111.7 kB / 0.6652 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.838e-05/0.1416, allocations: 119.7 kB / 0.6654 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004511/0.142, allocations: 430.6 kB / 0.6658 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.142, allocations: 0 / 0.6658 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1421, allocations: 0 / 0.6658 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.1421, allocations: 0 / 0.6658 GB, free: 13.08 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.0007673/0.1428, allocations: 0.6553 MB / 0.6664 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.1429, allocations: 8.031 kB / 0.6664 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006126/0.1435, allocations: 212.1 kB / 0.6666 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.1437, allocations: 267.4 kB / 0.6669 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.1438, allocations: 16.88 kB / 0.6669 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.664e-05/0.1438, allocations: 28.36 kB / 0.6669 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.1441, allocations: 231.1 kB / 0.6671 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.1441, allocations: 0 / 0.6671 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.1441, allocations: 8 kB / 0.6671 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.1441, allocations: 4 kB / 0.6671 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.736e-05/0.1442, allocations: 67.88 kB / 0.6672 GB, free: 11.52 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.000838/0.145, allocations: 1.09 MB / 0.6683 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.1451, allocations: 79.02 kB / 0.6684 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.892e-05/0.1452, allocations: 39.59 kB / 0.6684 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001982/0.1454, allocations: 55.89 kB / 0.6684 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.1454, allocations: 45.31 kB / 0.6685 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.1454, allocations: 0 / 0.6685 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0003197/0.1457, allocations: 149.6 kB / 0.6686 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.1458, allocations: 55.41 kB / 0.6687 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.1459, allocations: 288.2 kB / 0.669 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.1459, allocations: 33.7 kB / 0.669 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.1461, allocations: 230.9 kB / 0.6692 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.1461, allocations: 67.47 kB / 0.6693 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.465e-05/0.1462, allocations: 47.34 kB / 0.6693 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.1463, allocations: 0.5079 MB / 0.6698 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.253e-05/0.1463, allocations: 15.98 kB / 0.6698 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.893e-05/0.1464, allocations: 163.1 kB / 0.67 GB, free: 8.492 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.1466, allocations: 114 kB / 0.6701 GB, free: 8.355 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1466, allocations: 0 / 0.6701 GB, free: 8.355 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001775/0.1467, allocations: 153.4 kB / 0.6702 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1467, allocations: 4 kB / 0.6702 GB, free: 8.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.1468, allocations: 4 kB / 0.6702 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1468, allocations: 0 / 0.6702 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.1469, allocations: 43.91 kB / 0.6703 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.1469, allocations: 0 / 0.6703 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.197e-05/0.1469, allocations: 19.89 kB / 0.6703 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.147, allocations: 8 kB / 0.6703 GB, free: 8.121 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.631e-05/0.147, allocations: 172.5 kB / 0.6705 GB, free: 7.941 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.1471, allocations: 27.88 kB / 0.6705 GB, free: 7.914 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001622/0.1472, allocations: 137.5 kB / 0.6706 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1472, allocations: 0 / 0.6706 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.1472, allocations: 4 kB / 0.6706 GB, free: 7.773 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1473, allocations: 0 / 0.6706 GB, free: 7.773 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/0.1477, allocations: 0.5188 MB / 0.6711 GB, free: 7.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1477, allocations: 224 / 0.6711 GB, free: 7.191 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.845e-05/0.1478, allocations: 31.98 kB / 0.6712 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.75e-06/0.1478, allocations: 4 kB / 0.6712 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.1478, allocations: 8 kB / 0.6712 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1478, allocations: 3.938 kB / 0.6712 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.1478, allocations: 11.92 kB / 0.6712 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.148, allocations: 345.3 kB / 0.6715 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.359e-05/0.1481, allocations: 35.83 kB / 0.6716 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.1481, allocations: 8 kB / 0.6716 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.1482, allocations: 4.141 kB / 0.6716 GB, free: 6.699 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.1482, allocations: 31.92 kB / 0.6716 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.1482, allocations: 4 kB / 0.6716 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.093e-05/0.1483, allocations: 189.1 kB / 0.6718 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.1483, allocations: 0 / 0.6718 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002334/0.1485, allocations: 91.83 kB / 0.6719 GB, free: 6.391 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.0001986/0.1487, allocations: 131.1 kB / 0.672 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001341/0.1489, allocations: 92.64 kB / 0.6721 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1489, allocations: 4 kB / 0.6721 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5e-05/0.1489, allocations: 49.08 kB / 0.6721 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.1493, allocations: 124.7 kB / 0.6723 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008525/0.1502, allocations: 0.563 MB / 0.6728 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.1504, allocations: 104.1 kB / 0.6729 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.587e-05/0.1505, allocations: 34.69 kB / 0.6729 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.1507, allocations: 158.1 kB / 0.6731 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of SimCode: time 1.022e-06/0.1507, allocations: 0 / 0.6731 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of Templates: time 0.006905/0.1576, allocations: 5.029 MB / 0.678 GB, free: 184 kB / 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.2726523033343256]