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.001318/0.001318, allocations: 85.36 kB / 19.43 MB, free: 1.844 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.001438/0.001438, allocations: 160.4 kB / 22.75 MB, free: 4.398 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.391/1.391, allocations: 177.1 MB / 203.1 MB, free: 8.102 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.002499/0.002499, allocations: 233.8 kB / 259.8 MB, free: 3.93 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.032/1.032, allocations: 138.4 MB / 454.7 MB, free: 4.258 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.553e-06/1.553e-06, allocations: 0 / 0.5543 GB, free: 11.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.816e-05/2.972e-05, allocations: 4.828 kB / 0.5543 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.204/0.204, allocations: 147.6 MB / 0.6984 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003192/0.2072, allocations: 1.48 MB / 0.6999 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003283/0.2075, allocations: 23.81 kB / 0.6999 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005809/0.2081, allocations: 150.9 kB / 0.7 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001985/0.2101, allocations: 0.7189 MB / 0.7007 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001914/0.212, allocations: 0.6618 MB / 0.7014 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001036/0.213, allocations: 0.7088 MB / 0.7021 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004048/0.2134, allocations: 181.4 kB / 0.7023 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008846/0.2143, allocations: 442.7 kB / 0.7027 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003204/0.2146, allocations: 195.4 kB / 0.7029 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.541e-05/0.2147, allocations: 20 kB / 0.7029 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00164/0.2163, allocations: 0.7358 MB / 0.7036 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.2165, allocations: 111.6 kB / 0.7037 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.2166, allocations: 111.8 kB / 0.7038 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.2178, allocations: 0.74 MB / 0.7045 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.2179, allocations: 0 / 0.7045 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.674e-06/0.2179, allocations: 4 kB / 0.7045 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.2179, allocations: 0 / 0.7045 GB, free: 1.488 MB / 0.5606 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.001061/0.2189, allocations: 0.5784 MB / 0.7051 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.219, allocations: 8.031 kB / 0.7051 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/0.2203, allocations: 215.1 kB / 0.7053 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006346/0.221, allocations: 280.5 kB / 0.7056 GB, free: 368 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.221, allocations: 16.5 kB / 0.7056 GB, free: 352 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.643e-05/0.221, allocations: 24 kB / 0.7056 GB, free: 328 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005805/0.2216, allocations: 276.3 kB / 0.7059 GB, free: 32 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.2216, allocations: 0 / 0.7059 GB, free: 32 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.2217, allocations: 12 kB / 0.7059 GB, free: 20 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.2217, allocations: 7.938 kB / 0.7059 GB, free: 12 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.217/0.4387, allocations: 192.2 kB / 0.7061 GB, free: 166.3 MB / 0.5606 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.00145/0.4401, allocations: 0.9283 MB / 0.707 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.4404, allocations: 126.2 kB / 0.7071 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.4406, allocations: 87.72 kB / 0.7072 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005052/0.4411, allocations: 76.97 kB / 0.7073 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/0.4411, allocations: 32.69 kB / 0.7073 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.763e-06/0.4411, allocations: 0.9375 kB / 0.7073 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0009195/0.442, allocations: 289.7 kB / 0.7076 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.4421, allocations: 54.52 kB / 0.7076 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/0.4423, allocations: 248.6 kB / 0.7079 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.4424, allocations: 28.36 kB / 0.7079 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.4425, allocations: 185.6 kB / 0.7081 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.111e-05/0.4425, allocations: 58.97 kB / 0.7081 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.211e-05/0.4426, allocations: 43.08 kB / 0.7082 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.735e-05/0.4427, allocations: 332.1 kB / 0.7085 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.4428, allocations: 69.61 kB / 0.7086 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.4431, allocations: 198.2 kB / 0.7087 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003657/0.4434, allocations: 195.8 kB / 0.7089 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4434, allocations: 1.438 kB / 0.7089 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004978/0.4439, allocations: 248.8 kB / 0.7092 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.444, allocations: 5.906 kB / 0.7092 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.444, allocations: 2.484 kB / 0.7092 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.444, allocations: 3.656 kB / 0.7092 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.4442, allocations: 41.55 kB / 0.7092 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.4442, allocations: 3.484 kB / 0.7092 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.4444, allocations: 22.66 kB / 0.7092 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/0.4444, allocations: 13.98 kB / 0.7093 GB, free: 164.3 MB / 0.5606 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.0001169/0.4445, allocations: 150.8 kB / 0.7094 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.856e-05/0.4446, allocations: 38.09 kB / 0.7094 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004714/0.4451, allocations: 212.4 kB / 0.7096 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.4451, allocations: 3.938 kB / 0.7096 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4451, allocations: 1.375 kB / 0.7096 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4451, allocations: 0.6094 kB / 0.7096 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009977/0.4461, allocations: 0.5982 MB / 0.7102 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.4461, allocations: 2.641 kB / 0.7102 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.4463, allocations: 34.62 kB / 0.7103 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.4463, allocations: 2.938 kB / 0.7103 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.4463, allocations: 3.703 kB / 0.7103 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.4463, allocations: 6.953 kB / 0.7103 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.4463, allocations: 3.5 kB / 0.7103 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006398/0.4469, allocations: 434 kB / 0.7107 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.216e-05/0.447, allocations: 41.14 kB / 0.7107 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/0.4471, allocations: 4.953 kB / 0.7107 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.4472, allocations: 12.12 kB / 0.7108 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.565e-05/0.4473, allocations: 21.7 kB / 0.7108 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.4473, allocations: 5.453 kB / 0.7108 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001562/0.4475, allocations: 178.5 kB / 0.7109 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.4475, allocations: 0.7812 kB / 0.711 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004415/0.4479, allocations: 85.47 kB / 0.711 GB, free: 163.3 MB / 0.5606 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.0003327/0.4482, allocations: 156 kB / 0.7112 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004987/0.4487, allocations: 169.8 kB / 0.7113 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4487, allocations: 1.062 kB / 0.7113 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.4489, allocations: 85.5 kB / 0.7114 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000796/0.4497, allocations: 123.2 kB / 0.7115 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.4508, allocations: 0.5645 MB / 0.7121 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001915/0.4509, allocations: 169.6 kB / 0.7123 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001898/0.4511, allocations: 56.09 kB / 0.7123 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.24e-05/0.4512, allocations: 22.66 kB / 0.7123 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.4512, allocations: 1.031 kB / 0.7123 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.01109/0.4623, allocations: 4.835 MB / 0.7171 GB, free: 161.1 MB / 0.5606 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.093173965811729] Failed to read output from testmodel.py, exit status != 0: 0.4710719771683216 0.481909871 0.26174974999999995 Calling exit ...