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.0007287/0.0007287, allocations: 96.38 kB / 19.7 MB, free: 448 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.0007396/0.0007396, allocations: 211.2 kB / 23 MB, free: 2.977 MB / 13.93 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.8317/0.8317, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.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-531:190: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-531:198: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.7303/0.7303, allocations: 203.8 MB / 0.5049 GB, free: 10.46 MB / 410.7 MB " [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: 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.0008743/0.0008743, allocations: 68.55 kB / 0.7194 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4396/0.4404, allocations: 102 MB / 0.819 GB, free: 1.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1269/0.5673, allocations: 147.6 MB / 0.9632 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001644/0.569, allocations: 1.499 MB / 0.9647 GB, free: 0 / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.5691, allocations: 23.86 kB / 0.9647 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003588/0.5695, allocations: 146.9 kB / 0.9648 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0009928/0.5705, allocations: 0.7118 MB / 0.9655 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009009/0.5714, allocations: 0.6437 MB / 0.9662 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004965/0.5719, allocations: 0.709 MB / 0.9668 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002357/0.5721, allocations: 188.4 kB / 0.967 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006767/0.5728, allocations: 0.5021 MB / 0.9675 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.573, allocations: 223.1 kB / 0.9677 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.573, allocations: 20 kB / 0.9677 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006026/0.5736, allocations: 0.705 MB / 0.9684 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.758e-05/0.5737, allocations: 111.6 kB / 0.9685 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.011e-05/0.5738, allocations: 143.3 kB / 0.9687 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005744/0.5744, allocations: 0.6892 MB / 0.9694 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5744, allocations: 0 / 0.9694 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5744, allocations: 0 / 0.9694 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.5744, allocations: 0 / 0.9694 GB, free: 11.19 MB / 0.7448 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.0006101/0.575, allocations: 0.5901 MB / 0.9699 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.575, allocations: 8.031 kB / 0.9699 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006295/0.5756, allocations: 159.6 kB / 0.9701 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.576, allocations: 260 kB / 0.9703 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.576, allocations: 20.44 kB / 0.9704 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.576, allocations: 16 kB / 0.9704 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.5763, allocations: 287.4 kB / 0.9706 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.5763, allocations: 0 / 0.9706 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.5763, allocations: 8 kB / 0.9707 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.5763, allocations: 8 kB / 0.9707 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002324/0.5766, allocations: 187.8 kB / 0.9708 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007518/0.5773, allocations: 0.9233 MB / 0.9717 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.5775, allocations: 130.5 kB / 0.9719 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.614e-05/0.5776, allocations: 84.8 kB / 0.9719 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002251/0.5778, allocations: 71.92 kB / 0.972 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.5778, allocations: 30.56 kB / 0.972 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.112e-06/0.5778, allocations: 7.938 kB / 0.9721 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0004266/0.5783, allocations: 279.7 kB / 0.9723 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.5783, allocations: 51.41 kB / 0.9724 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.5784, allocations: 249.8 kB / 0.9726 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.5785, allocations: 29.7 kB / 0.9726 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.913e-05/0.5786, allocations: 188.2 kB / 0.9728 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.5786, allocations: 59.53 kB / 0.9729 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/0.5786, allocations: 45.64 kB / 0.9729 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.334e-05/0.5787, allocations: 330.8 kB / 0.9732 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.048e-05/0.5788, allocations: 71.94 kB / 0.9733 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.5789, allocations: 198.1 kB / 0.9735 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.5791, allocations: 193 kB / 0.9737 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.5791, allocations: 0 / 0.9737 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002491/0.5794, allocations: 237.3 kB / 0.9739 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.5794, allocations: 6.656 kB / 0.9739 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.5794, allocations: 8.094 kB / 0.9739 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.5794, allocations: 0 / 0.9739 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.5795, allocations: 43.92 kB / 0.974 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.5795, allocations: 4 kB / 0.974 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.226e-05/0.5796, allocations: 23.83 kB / 0.974 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.5796, allocations: 12 kB / 0.974 GB, free: 6.184 MB / 0.7448 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 0.0002276/0.5798, allocations: 165.6 kB / 0.9741 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.5799, allocations: 19.86 kB / 0.9742 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.5801, allocations: 207.4 kB / 0.9744 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.5801, allocations: 4 kB / 0.9744 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.5801, allocations: 3.984 kB / 0.9744 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.5801, allocations: 0 / 0.9744 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005416/0.5807, allocations: 0.5974 MB / 0.975 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5807, allocations: 4 kB / 0.975 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.506e-05/0.5808, allocations: 39.91 kB / 0.975 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.5808, allocations: 0 / 0.975 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.5808, allocations: 4 kB / 0.975 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.5808, allocations: 7.938 kB / 0.975 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.5808, allocations: 3.938 kB / 0.975 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.5811, allocations: 425.3 kB / 0.9754 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.862e-05/0.5812, allocations: 47.95 kB / 0.9755 GB, free: 4.562 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.5812, allocations: 4 kB / 0.9755 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.43e-05/0.5813, allocations: 19.92 kB / 0.9755 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.5813, allocations: 19.91 kB / 0.9755 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.5813, allocations: 8 kB / 0.9755 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.494e-05/0.5814, allocations: 177.2 kB / 0.9757 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.5814, allocations: 0 / 0.9757 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002318/0.5816, allocations: 83.84 kB / 0.9758 GB, free: 4.258 MB / 0.7448 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.0001755/0.5818, allocations: 159.1 kB / 0.9759 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002344/0.5821, allocations: 158.2 kB / 0.9761 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.5821, allocations: 4 kB / 0.9761 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.64e-05/0.5822, allocations: 84.5 kB / 0.9762 GB, free: 3.852 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.5826, allocations: 128.3 kB / 0.9763 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006214/0.5832, allocations: 0.6193 MB / 0.9769 GB, free: 3.055 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.5833, allocations: 170.8 kB / 0.977 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.512e-05/0.5833, allocations: 27.44 kB / 0.9771 GB, free: 2.84 MB / 0.7448 GB Notification: Performance of SimCode: time 3.91e-07/0.5833, allocations: 3.938 kB / 0.9771 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of Templates: time 0.004031/0.5874, allocations: 4.357 MB / 0.9813 GB, free: 14.52 MB / 0.7605 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.374693266116083] Failed to read output from testmodel.py, exit status != 0: 0.5922858631238341 0.5993628449999999 0.023433705000000003 Calling exit ...