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.001427/0.001427, allocations: 92.7 kB / 19.44 MB, free: 328 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.00163/0.00163, allocations: 161.3 kB / 22.75 MB, free: 1.66 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.457/1.457, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 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.002621/0.002621, allocations: 230 kB / 259.8 MB, free: 12.86 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 1.083/1.083, allocations: 138.4 MB / 454.7 MB, free: 1.461 MB / 362.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 2.184e-06/2.184e-06, allocations: 0 / 0.5543 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.95e-05/3.168e-05, allocations: 6.312 kB / 0.5543 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4134/0.4134, allocations: 147.5 MB / 0.6984 GB, free: 7.141 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002667/0.4161, allocations: 1.487 MB / 0.6999 GB, free: 5.652 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002794/0.4164, allocations: 19.81 kB / 0.6999 GB, free: 5.633 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005722/0.417, allocations: 154.8 kB / 0.7 GB, free: 5.48 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001603/0.4186, allocations: 0.7229 MB / 0.7008 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.4199, allocations: 0.6578 MB / 0.7014 GB, free: 4.094 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0005369/0.4205, allocations: 0.7127 MB / 0.7021 GB, free: 3.379 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002548/0.4207, allocations: 181 kB / 0.7023 GB, free: 3.211 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004954/0.4212, allocations: 442.7 kB / 0.7027 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.4214, allocations: 203.4 kB / 0.7029 GB, free: 2.578 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.56e-05/0.4214, allocations: 20 kB / 0.7029 GB, free: 2.559 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000841/0.4223, allocations: 0.7358 MB / 0.7036 GB, free: 1.82 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 9.898e-05/0.4224, allocations: 115.6 kB / 0.7037 GB, free: 1.707 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.4225, allocations: 115.7 kB / 0.7038 GB, free: 1.594 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0007109/0.4232, allocations: 0.7361 MB / 0.7046 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.4232, allocations: 0 / 0.7046 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4232, allocations: 0 / 0.7046 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.4232, allocations: 0 / 0.7046 GB, free: 0.8555 MB / 0.5105 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.0007345/0.4239, allocations: 0.5823 MB / 0.7051 GB, free: 248 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.424, allocations: 12.69 kB / 0.7051 GB, free: 236 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.4251, allocations: 207.2 kB / 0.7053 GB, free: 28 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005611/0.4256, allocations: 276.5 kB / 0.7056 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.4257, allocations: 16.5 kB / 0.7056 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.739e-05/0.4257, allocations: 20 kB / 0.7056 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005635/0.4263, allocations: 281.7 kB / 0.7059 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.4263, allocations: 0 / 0.7059 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/0.4263, allocations: 12 kB / 0.7059 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.4263, allocations: 7.938 kB / 0.7059 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004553/0.4268, allocations: 199.8 kB / 0.7061 GB, free: 15.18 MB / 0.5261 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.001465/0.4282, allocations: 0.9263 MB / 0.707 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003022/0.4285, allocations: 122.5 kB / 0.7071 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.4288, allocations: 92.73 kB / 0.7072 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004846/0.4292, allocations: 67.92 kB / 0.7073 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.4293, allocations: 34.56 kB / 0.7073 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.4293, allocations: 4 kB / 0.7073 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.0008279/0.4301, allocations: 281.6 kB / 0.7076 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.4302, allocations: 55.34 kB / 0.7076 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003/0.4305, allocations: 249.8 kB / 0.7079 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/0.4305, allocations: 29.7 kB / 0.7079 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.4306, allocations: 184.2 kB / 0.7081 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.673e-05/0.4307, allocations: 59.47 kB / 0.7081 GB, free: 13 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.501e-05/0.4308, allocations: 45.66 kB / 0.7082 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.431, allocations: 334.8 kB / 0.7085 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.4312, allocations: 75.89 kB / 0.7086 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002906/0.4315, allocations: 195.1 kB / 0.7088 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003919/0.4319, allocations: 185 kB / 0.7089 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4319, allocations: 0 / 0.7089 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005382/0.4324, allocations: 252.5 kB / 0.7092 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.4324, allocations: 5.094 kB / 0.7092 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.4324, allocations: 4 kB / 0.7092 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.4324, allocations: 0 / 0.7092 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.4326, allocations: 43.91 kB / 0.7092 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.4327, allocations: 4 kB / 0.7092 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.4328, allocations: 23.88 kB / 0.7093 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.4329, allocations: 12.09 kB / 0.7093 GB, free: 11.78 MB / 0.5261 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.0001697/0.433, allocations: 153.8 kB / 0.7094 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.456e-05/0.4331, allocations: 27.8 kB / 0.7094 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005178/0.4336, allocations: 212.6 kB / 0.7096 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.4336, allocations: 0 / 0.7096 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.4336, allocations: 0 / 0.7096 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.4336, allocations: 7.984 kB / 0.7097 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.4348, allocations: 0.6064 MB / 0.7102 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.4348, allocations: 4 kB / 0.7103 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.4349, allocations: 31.98 kB / 0.7103 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4349, allocations: 0 / 0.7103 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.435, allocations: 7.984 kB / 0.7103 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/0.435, allocations: 9.594 kB / 0.7103 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.435, allocations: 4 kB / 0.7103 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007549/0.4357, allocations: 437.8 kB / 0.7107 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-05/0.4358, allocations: 39.8 kB / 0.7108 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.4358, allocations: 8 kB / 0.7108 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.436, allocations: 8 kB / 0.7108 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.209e-05/0.4361, allocations: 19.91 kB / 0.7108 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.4361, allocations: 8.062 kB / 0.7108 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004145/0.4365, allocations: 185.1 kB / 0.711 GB, free: 9.926 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4365, allocations: 0 / 0.711 GB, free: 9.926 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004147/0.4369, allocations: 87.83 kB / 0.7111 GB, free: 9.84 MB / 0.5261 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.0002989/0.4372, allocations: 153 kB / 0.7112 GB, free: 9.684 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004435/0.4377, allocations: 169.4 kB / 0.7114 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4377, allocations: 0 / 0.7114 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002054/0.4379, allocations: 87.81 kB / 0.7115 GB, free: 9.434 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007699/0.4386, allocations: 121.4 kB / 0.7116 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.4397, allocations: 0.5607 MB / 0.7121 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.4399, allocations: 171.7 kB / 0.7123 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001795/0.44, allocations: 53.31 kB / 0.7123 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.56e-05/0.4401, allocations: 24.5 kB / 0.7124 GB, free: 8.461 MB / 0.5261 GB Notification: Performance of SimCode: time 4.71e-07/0.4401, allocations: 0 / 0.7124 GB, free: 8.461 MB / 0.5261 GB Notification: Performance of Templates: time 0.01059/0.4507, allocations: 4.834 MB / 0.7171 GB, free: 3.801 MB / 0.5261 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.142916693002917]