Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001448/0.001448, allocations: 79.97 kB / 19.18 MB, free: 2.527 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.001513/0.001513, allocations: 164.4 kB / 22.46 MB, free: 5.355 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.571/1.571, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002416/0.002416, allocations: 238 kB / 259.4 MB, free: 484 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.073/1.073, allocations: 138.4 MB / 454.3 MB, free: 1.973 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.6468 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/2.744e-05, allocations: 10.22 kB / 0.6468 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5082/0.5083, allocations: 147.6 MB / 0.7909 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.003461/0.5117, allocations: 1.482 MB / 0.7924 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003399/0.5121, allocations: 19.81 kB / 0.7924 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006577/0.5127, allocations: 154.8 kB / 0.7925 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.5147, allocations: 0.7151 MB / 0.7932 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001825/0.5165, allocations: 0.664 MB / 0.7939 GB, free: 9.785 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0009505/0.5175, allocations: 0.7126 MB / 0.7946 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003913/0.5179, allocations: 182 kB / 0.7947 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007605/0.5186, allocations: 434.7 kB / 0.7952 GB, free: 8.461 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000327/0.519, allocations: 203.4 kB / 0.7953 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.802e-05/0.519, allocations: 20 kB / 0.7954 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001363/0.5204, allocations: 0.7319 MB / 0.7961 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.5205, allocations: 111.6 kB / 0.7962 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.5207, allocations: 119.8 kB / 0.7963 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.5218, allocations: 0.7323 MB / 0.797 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.5218, allocations: 0 / 0.797 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.012e-06/0.5218, allocations: 3.844 kB / 0.797 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.5218, allocations: 0 / 0.797 GB, free: 6.547 MB / 0.6231 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.0009774/0.5228, allocations: 0.5784 MB / 0.7976 GB, free: 5.938 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.5229, allocations: 9.344 kB / 0.7976 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/0.524, allocations: 155.6 kB / 0.7977 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005145/0.5246, allocations: 260.5 kB / 0.798 GB, free: 5.5 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.5246, allocations: 20.5 kB / 0.798 GB, free: 5.48 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.184e-05/0.5246, allocations: 20 kB / 0.798 GB, free: 5.461 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005455/0.5252, allocations: 284.2 kB / 0.7983 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.5252, allocations: 0 / 0.7983 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/0.5252, allocations: 8 kB / 0.7983 GB, free: 5.156 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.5252, allocations: 11.94 kB / 0.7983 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000436/0.5257, allocations: 191.8 kB / 0.7985 GB, free: 4.957 MB / 0.6231 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.001372/0.527, allocations: 0.9246 MB / 0.7994 GB, free: 3.992 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.5273, allocations: 130.5 kB / 0.7995 GB, free: 3.855 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.5275, allocations: 88.8 kB / 0.7996 GB, free: 3.766 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004675/0.528, allocations: 71.92 kB / 0.7997 GB, free: 3.695 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.528, allocations: 38.5 kB / 0.7997 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.322e-06/0.528, allocations: 0 / 0.7997 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0008036/0.5288, allocations: 270.3 kB / 0.8 GB, free: 3.379 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.5289, allocations: 55.34 kB / 0.8 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002896/0.5292, allocations: 249.9 kB / 0.8003 GB, free: 3.066 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.5292, allocations: 37.7 kB / 0.8003 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.5294, allocations: 184.2 kB / 0.8005 GB, free: 2.84 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.008e-05/0.5294, allocations: 51.52 kB / 0.8005 GB, free: 2.789 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.26e-05/0.5295, allocations: 49.66 kB / 0.8006 GB, free: 2.734 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.5297, allocations: 334.8 kB / 0.8009 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.5299, allocations: 63.95 kB / 0.801 GB, free: 2.336 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003194/0.5302, allocations: 198.1 kB / 0.8011 GB, free: 2.105 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004584/0.5307, allocations: 189 kB / 0.8013 GB, free: 1.902 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.5307, allocations: 4 kB / 0.8013 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005281/0.5312, allocations: 236 kB / 0.8016 GB, free: 1.664 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.5312, allocations: 8 kB / 0.8016 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.5312, allocations: 0 / 0.8016 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.5313, allocations: 8.094 kB / 0.8016 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.5315, allocations: 43.91 kB / 0.8016 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.5315, allocations: 0 / 0.8016 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.5316, allocations: 24.5 kB / 0.8016 GB, free: 1.582 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.5317, allocations: 11.94 kB / 0.8016 GB, free: 1.57 MB / 0.6231 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.0001666/0.5318, allocations: 153.8 kB / 0.8018 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.485e-05/0.5319, allocations: 27.8 kB / 0.8018 GB, free: 1.383 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004981/0.5324, allocations: 214.8 kB / 0.802 GB, free: 1.172 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.5324, allocations: 8 kB / 0.802 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.5324, allocations: 0 / 0.802 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.5324, allocations: 0 / 0.802 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.5335, allocations: 0.6012 MB / 0.8026 GB, free: 0.5039 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.5335, allocations: 8.219 kB / 0.8026 GB, free: 0.4961 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.5337, allocations: 31.92 kB / 0.8027 GB, free: 476 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.5337, allocations: 4 kB / 0.8027 GB, free: 472 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.5337, allocations: 4 kB / 0.8027 GB, free: 468 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.279e-06/0.5337, allocations: 4 kB / 0.8027 GB, free: 464 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.5337, allocations: 4 kB / 0.8027 GB, free: 460 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007297/0.5344, allocations: 425.4 kB / 0.8031 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.338e-05/0.5345, allocations: 43.89 kB / 0.8031 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.5346, allocations: 15.8 kB / 0.8031 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.5347, allocations: 7.984 kB / 0.8031 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.918e-05/0.5348, allocations: 23.86 kB / 0.8032 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.5348, allocations: 7.984 kB / 0.8032 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001873/0.535, allocations: 177.2 kB / 0.8033 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.535, allocations: 0 / 0.8033 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003856/0.5354, allocations: 83.83 kB / 0.8034 GB, free: 15.64 MB / 0.6387 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.0003452/0.5357, allocations: 151.1 kB / 0.8036 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004438/0.5362, allocations: 167.7 kB / 0.8037 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5362, allocations: 0 / 0.8037 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.5364, allocations: 84.52 kB / 0.8038 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007539/0.5371, allocations: 120.9 kB / 0.8039 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009653/0.5381, allocations: 0.5635 MB / 0.8045 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000184/0.5383, allocations: 162.8 kB / 0.8046 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001538/0.5384, allocations: 57.45 kB / 0.8047 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.389e-05/0.5385, allocations: 28.48 kB / 0.8047 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of SimCode: time 3.1e-07/0.5385, allocations: 0 / 0.8047 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of Templates: time 0.01033/0.5488, allocations: 4.745 MB / 0.8093 GB, free: 9.699 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.350319571793079] Failed to read output from testmodel.py, exit status != 0: 0.5569691583514214 0.57157424 0.046579537000000004 Calling exit ...