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.001895/0.001895, allocations: 85.48 kB / 19.44 MB, free: 344 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.002556/0.002556, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.642/1.642, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.003401/0.003401, allocations: 237.6 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.172/1.172, 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.844e-06/1.844e-06, allocations: 0 / 0.5543 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.394e-05/3.579e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.4522/0.4522, allocations: 163.6 MB / 0.7141 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003182/0.4554, allocations: 1.579 MB / 0.7157 GB, free: 7.777 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002624/0.4557, allocations: 19.81 kB / 0.7157 GB, free: 7.758 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.000511/0.4562, allocations: 158.8 kB / 0.7158 GB, free: 7.602 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001899/0.4581, allocations: 0.7228 MB / 0.7165 GB, free: 6.875 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.4598, allocations: 0.6618 MB / 0.7172 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001268/0.4611, allocations: 0.7292 MB / 0.7179 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003871/0.4615, allocations: 196.9 kB / 0.7181 GB, free: 5.297 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000877/0.4624, allocations: 450.7 kB / 0.7185 GB, free: 4.855 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003603/0.4627, allocations: 211.3 kB / 0.7187 GB, free: 4.648 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.499e-05/0.4628, allocations: 24 kB / 0.7187 GB, free: 4.625 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001569/0.4644, allocations: 0.7319 MB / 0.7194 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001823/0.4645, allocations: 119.6 kB / 0.7196 GB, free: 3.773 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.4647, allocations: 127.7 kB / 0.7197 GB, free: 3.648 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001301/0.466, allocations: 0.7322 MB / 0.7204 GB, free: 2.914 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.466, allocations: 4 kB / 0.7204 GB, free: 2.91 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.694e-06/0.466, allocations: 0 / 0.7204 GB, free: 2.91 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.363e-06/0.466, allocations: 0 / 0.7204 GB, free: 2.91 MB / 0.5261 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.001137/0.4672, allocations: 0.7052 MB / 0.7211 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.4672, allocations: 12.75 kB / 0.7211 GB, free: 2.152 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.4684, allocations: 219.1 kB / 0.7213 GB, free: 1.938 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005524/0.469, allocations: 272.3 kB / 0.7216 GB, free: 1.648 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.435e-05/0.469, allocations: 16.5 kB / 0.7216 GB, free: 1.633 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.616e-05/0.4691, allocations: 24 kB / 0.7216 GB, free: 1.609 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005347/0.4696, allocations: 271.2 kB / 0.7219 GB, free: 1.32 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.4696, allocations: 3.938 kB / 0.7219 GB, free: 1.316 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.705e-05/0.4696, allocations: 12 kB / 0.7219 GB, free: 1.305 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.4697, allocations: 7.938 kB / 0.7219 GB, free: 1.297 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003632/0.47, allocations: 153 kB / 0.722 GB, free: 1.148 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.001727/0.4717, allocations: 1.204 MB / 0.7232 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.472, allocations: 125.7 kB / 0.7233 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.4722, allocations: 67.66 kB / 0.7234 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004773/0.4727, allocations: 59.94 kB / 0.7235 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.4727, allocations: 43.2 kB / 0.7235 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=17): time 1.152e-06/0.4727, allocations: 4 kB / 0.7235 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of matching and sorting (n=17): time 0.0007382/0.4734, allocations: 248.1 kB / 0.7237 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/0.4735, allocations: 55.41 kB / 0.7238 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003689/0.4739, allocations: 342.3 kB / 0.7241 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.4739, allocations: 25.7 kB / 0.7241 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/0.4741, allocations: 243 kB / 0.7244 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.45e-05/0.4742, allocations: 67.44 kB / 0.7244 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.978e-05/0.4743, allocations: 51.36 kB / 0.7245 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0005328/0.4748, allocations: 0.5196 MB / 0.725 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.4749, allocations: 55.97 kB / 0.725 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002702/0.4752, allocations: 209.8 kB / 0.7252 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/0.4756, allocations: 183 kB / 0.7254 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4756, allocations: 0 / 0.7254 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004576/0.476, allocations: 222.6 kB / 0.7256 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.4761, allocations: 8 kB / 0.7256 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.4761, allocations: 3.938 kB / 0.7256 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.4761, allocations: 4 kB / 0.7256 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.4763, allocations: 43.92 kB / 0.7257 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.4763, allocations: 4 kB / 0.7257 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.4765, allocations: 27.83 kB / 0.7257 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.4765, allocations: 8 kB / 0.7257 GB, free: 13.16 MB / 0.5417 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.0001762/0.4767, allocations: 180.5 kB / 0.7259 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.42e-05/0.4768, allocations: 31.95 kB / 0.7259 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004581/0.4772, allocations: 198.8 kB / 0.7261 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.4772, allocations: 0 / 0.7261 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.4772, allocations: 3.938 kB / 0.7261 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.4772, allocations: 3.938 kB / 0.7261 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.4784, allocations: 0.6758 MB / 0.7268 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.4784, allocations: 0 / 0.7268 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.4786, allocations: 39.92 kB / 0.7268 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4786, allocations: 0 / 0.7268 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.4786, allocations: 8.922 kB / 0.7268 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.4786, allocations: 4 kB / 0.7268 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.4786, allocations: 4 kB / 0.7268 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000689/0.4793, allocations: 457.3 kB / 0.7273 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.4794, allocations: 43.94 kB / 0.7273 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.26e-05/0.4794, allocations: 11.98 kB / 0.7273 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.4796, allocations: 4 kB / 0.7273 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.813e-05/0.4797, allocations: 25.16 kB / 0.7274 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.4797, allocations: 8 kB / 0.7274 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002202/0.4799, allocations: 227 kB / 0.7276 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.4799, allocations: 0 / 0.7276 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004258/0.4803, allocations: 95.78 kB / 0.7277 GB, free: 11.03 MB / 0.5417 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.0003024/0.4806, allocations: 155.1 kB / 0.7278 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004056/0.481, allocations: 165.9 kB / 0.728 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.481, allocations: 0 / 0.728 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.4812, allocations: 83.53 kB / 0.7281 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007749/0.482, allocations: 127.7 kB / 0.7282 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.4831, allocations: 0.5902 MB / 0.7288 GB, free: 9.867 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/0.4833, allocations: 171.5 kB / 0.7289 GB, free: 9.676 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000165/0.4834, allocations: 53.69 kB / 0.729 GB, free: 9.629 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.133e-05/0.4835, allocations: 28.48 kB / 0.729 GB, free: 9.602 MB / 0.5417 GB Notification: Performance of SimCode: time 7.11e-07/0.4835, allocations: 0 / 0.729 GB, free: 9.602 MB / 0.5417 GB Notification: Performance of Templates: time 0.01121/0.4947, allocations: 4.913 MB / 0.7338 GB, free: 4.859 MB / 0.5417 GB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.553806924959645]