Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.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.001384/0.001384, allocations: 88.72 kB / 19.44 MB, free: 356 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.001565/0.001565, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.483/1.483, allocations: 177.1 MB / 203.1 MB, free: 5.594 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.002716/0.002716, allocations: 234 kB / 259.8 MB, free: 12.84 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.093/1.093, allocations: 138.4 MB / 454.7 MB, free: 1.488 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.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity") translateModel(BuildingSystems.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.5543 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.724e-05/2.872e-05, allocations: 10.31 kB / 0.5543 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.4133/0.4133, allocations: 147.6 MB / 0.6985 GB, free: 7.148 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002841/0.4161, allocations: 1.494 MB / 0.6999 GB, free: 5.652 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004227/0.4166, allocations: 15.88 kB / 0.7 GB, free: 5.637 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005151/0.4171, allocations: 170.7 kB / 0.7001 GB, free: 5.469 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001835/0.4189, allocations: 0.719 MB / 0.7008 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.4204, allocations: 0.654 MB / 0.7015 GB, free: 4.09 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.000732/0.4212, allocations: 0.7253 MB / 0.7022 GB, free: 3.363 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003554/0.4215, allocations: 200.9 kB / 0.7024 GB, free: 3.176 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008176/0.4223, allocations: 450.7 kB / 0.7028 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002716/0.4226, allocations: 203.3 kB / 0.703 GB, free: 2.535 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 4.455e-05/0.4226, allocations: 24 kB / 0.703 GB, free: 2.512 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.4237, allocations: 0.7319 MB / 0.7037 GB, free: 1.777 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.4239, allocations: 123.6 kB / 0.7038 GB, free: 1.656 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.424, allocations: 119.7 kB / 0.7039 GB, free: 1.539 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.4251, allocations: 0.7439 MB / 0.7047 GB, free: 0.793 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.4251, allocations: 0 / 0.7047 GB, free: 0.793 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4251, allocations: 0 / 0.7047 GB, free: 0.793 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.4251, allocations: 0 / 0.7047 GB, free: 0.793 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.000872/0.426, allocations: 0.6017 MB / 0.7053 GB, free: 160 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.426, allocations: 8.75 kB / 0.7053 GB, free: 152 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/0.4273, allocations: 207.2 kB / 0.7055 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006303/0.4279, allocations: 280.5 kB / 0.7057 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/0.4279, allocations: 24.44 kB / 0.7058 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.267e-05/0.428, allocations: 20 kB / 0.7058 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005861/0.4286, allocations: 285.1 kB / 0.7061 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.4286, allocations: 3.938 kB / 0.7061 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.4286, allocations: 4 kB / 0.7061 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.4286, allocations: 8 kB / 0.7061 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004745/0.4291, allocations: 204.9 kB / 0.7063 GB, free: 15.09 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.001628/0.4307, allocations: 0.9407 MB / 0.7072 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003386/0.4311, allocations: 142.4 kB / 0.7073 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/0.4313, allocations: 88.8 kB / 0.7074 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004969/0.4318, allocations: 75.92 kB / 0.7075 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.4318, allocations: 36.38 kB / 0.7075 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=17): time 1.103e-06/0.4318, allocations: 0 / 0.7075 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=17): time 0.0009205/0.4327, allocations: 298.1 kB / 0.7078 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.4328, allocations: 59.34 kB / 0.7078 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/0.4331, allocations: 260.2 kB / 0.7081 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/0.4332, allocations: 33.7 kB / 0.7081 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/0.4334, allocations: 188.2 kB / 0.7083 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.318e-05/0.4334, allocations: 59.47 kB / 0.7084 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.4335, allocations: 53.66 kB / 0.7084 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001975/0.4337, allocations: 330.8 kB / 0.7087 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.4339, allocations: 71.95 kB / 0.7088 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003243/0.4343, allocations: 209.9 kB / 0.709 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004326/0.4347, allocations: 197 kB / 0.7092 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4347, allocations: 0 / 0.7092 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005788/0.4353, allocations: 255.7 kB / 0.7094 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.4353, allocations: 8 kB / 0.7094 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.4353, allocations: 3.938 kB / 0.7094 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.4353, allocations: 8.094 kB / 0.7095 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.4355, allocations: 47.97 kB / 0.7095 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.4355, allocations: 3.938 kB / 0.7095 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.4357, allocations: 27.5 kB / 0.7095 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/0.4358, allocations: 8 kB / 0.7095 GB, free: 11.57 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 (24): * Single equations (assignments): 24 * 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.0001753/0.4359, allocations: 145.8 kB / 0.7097 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.806e-05/0.436, allocations: 39.8 kB / 0.7097 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005338/0.4366, allocations: 234.3 kB / 0.7099 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.4366, allocations: 4 kB / 0.7099 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.4366, allocations: 0 / 0.7099 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.4366, allocations: 0 / 0.7099 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.4378, allocations: 0.6214 MB / 0.7105 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.4378, allocations: 4.031 kB / 0.7106 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.438, allocations: 31.98 kB / 0.7106 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.438, allocations: 3.984 kB / 0.7106 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.438, allocations: 8 kB / 0.7106 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.438, allocations: 7.938 kB / 0.7106 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.438, allocations: 4 kB / 0.7106 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.4391, allocations: 457.1 kB / 0.711 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.4392, allocations: 43.77 kB / 0.7111 GB, free: 9.879 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.4393, allocations: 4 kB / 0.7111 GB, free: 9.875 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.4395, allocations: 11.98 kB / 0.7111 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.241e-05/0.4395, allocations: 15.92 kB / 0.7111 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/0.4395, allocations: 15.98 kB / 0.7111 GB, free: 9.832 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002154/0.4398, allocations: 179.1 kB / 0.7113 GB, free: 9.656 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.4398, allocations: 0 / 0.7113 GB, free: 9.656 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004454/0.4402, allocations: 87.88 kB / 0.7114 GB, free: 9.57 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 (17): * Single equations (assignments): 17 * 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.0003445/0.4406, allocations: 152.6 kB / 0.7115 GB, free: 9.41 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004895/0.441, allocations: 179.7 kB / 0.7117 GB, free: 9.234 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.441, allocations: 0 / 0.7117 GB, free: 9.234 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002178/0.4413, allocations: 88.31 kB / 0.7118 GB, free: 9.148 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007857/0.442, allocations: 128.2 kB / 0.7119 GB, free: 9.039 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.4432, allocations: 0.5867 MB / 0.7125 GB, free: 8.406 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.4434, allocations: 175.5 kB / 0.7126 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002045/0.4436, allocations: 54.53 kB / 0.7127 GB, free: 8.168 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.518e-05/0.4437, allocations: 20.5 kB / 0.7127 GB, free: 8.148 MB / 0.5261 GB Notification: Performance of SimCode: time 9.02e-07/0.4437, allocations: 4 kB / 0.7127 GB, free: 8.145 MB / 0.5261 GB Notification: Performance of Templates: time 0.01133/0.455, allocations: 4.911 MB / 0.7175 GB, free: 3.406 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.066869004978798]