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.0007794/0.0007794, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0008185/0.0008185, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.8776/0.8776, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.001519/0.001519, allocations: 233.8 kB / 260.2 MB, free: 13.02 MB / 250.7 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 0.7168/0.7168, allocations: 138.4 MB / 455.1 MB, free: 30.08 MB / 410.7 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.964e-06/1.964e-06, allocations: 0 / 0.6475 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.937e-05/3.133e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.348 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.3764/0.3765, allocations: 147.6 MB / 0.7916 GB, free: 7.141 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001907/0.3784, allocations: 1.477 MB / 0.7931 GB, free: 5.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001869/0.3785, allocations: 19.81 kB / 0.7931 GB, free: 5.641 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004032/0.3789, allocations: 150.9 kB / 0.7932 GB, free: 5.492 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001153/0.3801, allocations: 0.7228 MB / 0.7939 GB, free: 4.766 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.3812, allocations: 0.6566 MB / 0.7946 GB, free: 4.109 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005494/0.3817, allocations: 0.7094 MB / 0.7953 GB, free: 3.398 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002689/0.382, allocations: 191.4 kB / 0.7955 GB, free: 3.207 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004614/0.3825, allocations: 430.7 kB / 0.7959 GB, free: 2.785 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.3826, allocations: 203.4 kB / 0.7961 GB, free: 2.586 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.124e-05/0.3827, allocations: 24 kB / 0.7961 GB, free: 2.562 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008567/0.3835, allocations: 0.7281 MB / 0.7968 GB, free: 1.832 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.121e-05/0.3836, allocations: 107.6 kB / 0.7969 GB, free: 1.727 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.638e-05/0.3837, allocations: 119.8 kB / 0.797 GB, free: 1.609 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000754/0.3845, allocations: 0.7284 MB / 0.7977 GB, free: 0.8789 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3845, allocations: 0 / 0.7977 GB, free: 0.8789 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3845, allocations: 0 / 0.7977 GB, free: 0.8789 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.3845, allocations: 0 / 0.7977 GB, free: 0.8789 MB / 0.6198 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.0006398/0.3851, allocations: 0.588 MB / 0.7983 GB, free: 268 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.3851, allocations: 13.94 kB / 0.7983 GB, free: 256 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005979/0.3857, allocations: 155.6 kB / 0.7985 GB, free: 100 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003888/0.3861, allocations: 256.6 kB / 0.7987 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.3862, allocations: 24.38 kB / 0.7987 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/0.3862, allocations: 23.98 kB / 0.7988 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003167/0.3865, allocations: 279.6 kB / 0.799 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3865, allocations: 0 / 0.799 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.3865, allocations: 12 kB / 0.799 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.3865, allocations: 7.938 kB / 0.799 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002404/0.3868, allocations: 191.8 kB / 0.7992 GB, free: 15.28 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.0008443/0.3876, allocations: 0.9214 MB / 0.8001 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.3878, allocations: 126.5 kB / 0.8002 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.3879, allocations: 89.73 kB / 0.8003 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002435/0.3882, allocations: 74.67 kB / 0.8004 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.3882, allocations: 38.5 kB / 0.8004 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.3882, allocations: 0 / 0.8004 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0004619/0.3886, allocations: 271.3 kB / 0.8007 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.3887, allocations: 61.03 kB / 0.8008 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.3888, allocations: 253.8 kB / 0.801 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.3888, allocations: 29.7 kB / 0.801 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.212e-05/0.3889, allocations: 184.2 kB / 0.8012 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.389, allocations: 51.59 kB / 0.8013 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.315e-05/0.389, allocations: 45.66 kB / 0.8013 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.025e-05/0.3891, allocations: 334.8 kB / 0.8016 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.251e-05/0.3892, allocations: 63.95 kB / 0.8017 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.3893, allocations: 203.5 kB / 0.8019 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.3895, allocations: 194.9 kB / 0.8021 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3895, allocations: 2 kB / 0.8021 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002616/0.3898, allocations: 236.1 kB / 0.8023 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.3898, allocations: 8 kB / 0.8023 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.3898, allocations: 0 / 0.8023 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3898, allocations: 8.094 kB / 0.8023 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.39, allocations: 43.91 kB / 0.8023 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.39, allocations: 0 / 0.8023 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.691e-05/0.39, allocations: 27.88 kB / 0.8024 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.3901, allocations: 10.16 kB / 0.8024 GB, free: 11.89 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 0.0001014/0.3902, allocations: 150.4 kB / 0.8025 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.3902, allocations: 31.8 kB / 0.8026 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002759/0.3905, allocations: 215.2 kB / 0.8028 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.3905, allocations: 4 kB / 0.8028 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3905, allocations: 0 / 0.8028 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.3905, allocations: 0 / 0.8028 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006353/0.3911, allocations: 0.6051 MB / 0.8034 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.3911, allocations: 8.156 kB / 0.8034 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.59e-05/0.3912, allocations: 27.98 kB / 0.8034 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.3912, allocations: 4 kB / 0.8034 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.3912, allocations: 9.438 kB / 0.8034 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3912, allocations: 0 / 0.8034 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.3912, allocations: 7.938 kB / 0.8034 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003724/0.3916, allocations: 421.1 kB / 0.8038 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/0.3917, allocations: 47.83 kB / 0.8039 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.3917, allocations: 11.98 kB / 0.8039 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.829e-05/0.3918, allocations: 4 kB / 0.8039 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.3918, allocations: 27.84 kB / 0.8039 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.3918, allocations: 4 kB / 0.8039 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001001/0.3919, allocations: 177.2 kB / 0.8041 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.3919, allocations: 0 / 0.8041 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002585/0.3922, allocations: 83.88 kB / 0.8041 GB, free: 9.969 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.0003034/0.3925, allocations: 153.6 kB / 0.8043 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002602/0.3927, allocations: 167.9 kB / 0.8045 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3927, allocations: 0 / 0.8045 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.3928, allocations: 81.61 kB / 0.8045 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/0.3933, allocations: 128.5 kB / 0.8047 GB, free: 9.457 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006669/0.3939, allocations: 0.5791 MB / 0.8052 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.394, allocations: 166.8 kB / 0.8054 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.688e-05/0.3941, allocations: 28.5 kB / 0.8054 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of SimCode: time 5.61e-07/0.3941, allocations: 0 / 0.8054 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of Templates: time 0.004344/0.3984, allocations: 4.38 MB / 0.8097 GB, free: 4.309 MB / 0.6355 GB " [Timeout remaining time 660] 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.113667919300497] Failed to read output from testmodel.py, exit status != 0: 0.40446122642606497 0.41329084499999996 0.026385093000000002 Calling exit ...