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.001593/0.001593, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001841/0.001841, allocations: 217.2 kB / 23.01 MB, free: 4.609 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.401/1.401, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.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.002461/0.002461, allocations: 284.4 kB / 313.5 MB, free: 2.848 MB / 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.186/1.186, allocations: 180.6 MB / 0.5377 GB, free: 12.96 MB / 382.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: NcDataReader2 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: BuildingSystems 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.002804/0.002804, allocations: 109.1 kB / 0.7408 GB, free: 28.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1889, allocations: 95.37 MB / 0.834 GB, free: 8.168 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6156/0.8045, allocations: 171 MB / 1.001 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002669/0.8072, allocations: 1.556 MB / 1.002 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004207/0.8076, allocations: 17.34 kB / 1.002 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000516/0.8081, allocations: 150.3 kB / 1.003 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001929/0.8101, allocations: 0.7403 MB / 1.003 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001718/0.8118, allocations: 0.6345 MB / 1.004 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001081/0.8128, allocations: 0.7174 MB / 1.005 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003875/0.8132, allocations: 187.6 kB / 1.005 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007496/0.814, allocations: 350.3 kB / 1.005 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003856/0.8144, allocations: 241.2 kB / 1.005 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.369e-05/0.8144, allocations: 22.44 kB / 1.005 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002017/0.8164, allocations: 0.9504 MB / 1.006 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.8166, allocations: 108.4 kB / 1.006 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002486/0.8169, allocations: 166 kB / 1.007 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.8184, allocations: 0.7188 MB / 1.007 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.8184, allocations: 1.375 kB / 1.007 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8184, allocations: 0.5938 kB / 1.007 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.8184, allocations: 0 / 1.007 GB, free: 3.59 MB / 0.7169 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.001359/0.8198, allocations: 0.5892 MB / 1.008 GB, free: 19.19 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.8198, allocations: 10.88 kB / 1.008 GB, free: 19.19 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/0.8211, allocations: 154.9 kB / 1.008 GB, free: 19.17 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006101/0.8217, allocations: 258.4 kB / 1.008 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.029e-05/0.8218, allocations: 21.66 kB / 1.008 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.403e-05/0.8218, allocations: 22.12 kB / 1.008 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005503/0.8224, allocations: 282.3 kB / 1.009 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.8224, allocations: 4.938 kB / 1.009 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.8224, allocations: 6.125 kB / 1.009 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.8224, allocations: 5.031 kB / 1.009 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004843/0.8229, allocations: 194.5 kB / 1.009 GB, free: 18.93 MB / 0.7325 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.001641/0.8245, allocations: 1.177 MB / 1.01 GB, free: 18.13 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/0.8248, allocations: 132.7 kB / 1.01 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.825, allocations: 89.92 kB / 1.01 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004572/0.8255, allocations: 74.05 kB / 1.01 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.8255, allocations: 44.61 kB / 1.01 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.432e-06/0.8255, allocations: 1.062 kB / 1.01 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.000774/0.8263, allocations: 276.6 kB / 1.011 GB, free: 18 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.8263, allocations: 54.03 kB / 1.011 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003521/0.8267, allocations: 320.1 kB / 1.011 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.8267, allocations: 29.8 kB / 1.011 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.8268, allocations: 186.2 kB / 1.011 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.8269, allocations: 54.92 kB / 1.011 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.951e-05/0.8269, allocations: 41.19 kB / 1.011 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.8271, allocations: 343.6 kB / 1.012 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.8273, allocations: 65.89 kB / 1.012 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.8274, allocations: 129.6 kB / 1.012 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003089/0.8277, allocations: 184.5 kB / 1.012 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.8278, allocations: 2.188 kB / 1.012 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004318/0.8282, allocations: 238.4 kB / 1.012 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.8282, allocations: 8.5 kB / 1.012 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.8282, allocations: 2.656 kB / 1.012 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.8282, allocations: 1.406 kB / 1.012 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.8284, allocations: 44.27 kB / 1.012 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.525e-06/0.8284, allocations: 2.219 kB / 1.012 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.8286, allocations: 33 kB / 1.012 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/0.8287, allocations: 12.25 kB / 1.012 GB, free: 17.16 MB / 0.7325 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.0001496/0.8288, allocations: 154.5 kB / 1.012 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.007e-05/0.8289, allocations: 28.97 kB / 1.012 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004428/0.8293, allocations: 225.7 kB / 1.013 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.8293, allocations: 2.172 kB / 1.013 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.8293, allocations: 2.125 kB / 1.013 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.8293, allocations: 6.328 kB / 1.013 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00096/0.8303, allocations: 0.6566 MB / 1.013 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.8303, allocations: 2.5 kB / 1.013 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.8304, allocations: 37.2 kB / 1.013 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.8305, allocations: 6.719 kB / 1.013 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.8305, allocations: 8.969 kB / 1.013 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.8305, allocations: 4 kB / 1.013 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.8305, allocations: 2.344 kB / 1.013 GB, free: 16.65 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006038/0.8311, allocations: 430.7 kB / 1.014 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.293e-05/0.8312, allocations: 47.44 kB / 1.014 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.62e-05/0.8312, allocations: 14.97 kB / 1.014 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.8314, allocations: 6.734 kB / 1.014 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.8314, allocations: 16.67 kB / 1.014 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.8314, allocations: 7.281 kB / 1.014 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002073/0.8316, allocations: 231.9 kB / 1.014 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8316, allocations: 0 / 1.014 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004139/0.8321, allocations: 83.02 kB / 1.014 GB, free: 16.34 MB / 0.7325 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.0002761/0.8323, allocations: 146.2 kB / 1.014 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004023/0.8327, allocations: 172.3 kB / 1.014 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8327, allocations: 0 / 1.014 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.8329, allocations: 89.27 kB / 1.015 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008247/0.8337, allocations: 166.8 kB / 1.015 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009946/0.8347, allocations: 0.6328 MB / 1.015 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.8351, allocations: 0.7751 MB / 1.016 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.114e-05/0.8352, allocations: 26.44 kB / 1.016 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of SimCode: time 3.2e-07/0.8352, allocations: 0 / 1.016 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of Templates: time 0.007335/0.8425, allocations: 4.86 MB / 1.021 GB, free: 14.87 MB / 0.7325 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: 9.905716293025762] Failed to read output from testmodel.py, exit status != 0: 0.8501856329385191 0.8606742780000001 0.03984771 Calling exit ...