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.0009189/0.0009189, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.0009776/0.0009776, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9938/0.9938, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.002225/0.002225, allocations: 241.2 kB / 260.5 MB, free: 12.66 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.7682/0.7682, allocations: 138.4 MB / 455.5 MB, free: 1.438 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.603e-06/1.603e-06, allocations: 0 / 0.5556 GB, free: 272 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.243e-05/1.404e-05, allocations: 8.844 kB / 0.5556 GB, free: 264 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.3578/0.3578, allocations: 143.9 MB / 0.6961 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001776/0.3596, allocations: 1.281 MB / 0.6974 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002251/0.3598, allocations: 15.88 kB / 0.6974 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.000293/0.3601, allocations: 87.22 kB / 0.6975 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0007917/0.3609, allocations: 389.8 kB / 0.6978 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009292/0.3618, allocations: 470.7 kB / 0.6983 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0005632/0.3624, allocations: 0.7214 MB / 0.699 GB, free: 9.449 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002674/0.3626, allocations: 185.4 kB / 0.6992 GB, free: 9.273 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004824/0.3631, allocations: 394.9 kB / 0.6995 GB, free: 8.887 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/0.3633, allocations: 207.4 kB / 0.6997 GB, free: 8.684 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.279e-05/0.3634, allocations: 20 kB / 0.6997 GB, free: 8.664 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003955/0.3637, allocations: 307.1 kB / 0.7 GB, free: 8.363 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 8.914e-05/0.3638, allocations: 119.6 kB / 0.7002 GB, free: 8.246 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 8.851e-05/0.3639, allocations: 119.7 kB / 0.7003 GB, free: 8.129 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0004566/0.3644, allocations: 450.5 kB / 0.7007 GB, free: 7.688 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3644, allocations: 0 / 0.7007 GB, free: 7.688 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3644, allocations: 0 / 0.7007 GB, free: 7.688 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.3644, allocations: 0 / 0.7007 GB, free: 7.688 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.0005797/0.365, allocations: 0.6647 MB / 0.7013 GB, free: 6.984 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.365, allocations: 8.75 kB / 0.7014 GB, free: 6.977 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008078/0.3658, allocations: 216 kB / 0.7016 GB, free: 6.766 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.3661, allocations: 272.4 kB / 0.7018 GB, free: 6.477 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.3661, allocations: 24.38 kB / 0.7018 GB, free: 6.453 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.11e-05/0.3661, allocations: 24 kB / 0.7019 GB, free: 6.43 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/0.3664, allocations: 227.9 kB / 0.7021 GB, free: 6.18 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.3664, allocations: 0 / 0.7021 GB, free: 6.18 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.3664, allocations: 9.562 kB / 0.7021 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.3664, allocations: 8 kB / 0.7021 GB, free: 6.164 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.723e-05/0.3665, allocations: 74.11 kB / 0.7022 GB, free: 6.094 MB / 0.5105 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.0007091/0.3672, allocations: 1.092 MB / 0.7032 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.3673, allocations: 87 kB / 0.7033 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.891e-05/0.3674, allocations: 36.3 kB / 0.7034 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002022/0.3676, allocations: 66 kB / 0.7034 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/0.3676, allocations: 37.33 kB / 0.7035 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=17): time 2.204e-06/0.3676, allocations: 0 / 0.7035 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of matching and sorting (n=17): time 0.0003159/0.3679, allocations: 155.1 kB / 0.7036 GB, free: 4.555 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.627e-05/0.3679, allocations: 51.41 kB / 0.7037 GB, free: 4.492 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.3681, allocations: 306.2 kB / 0.7039 GB, free: 4.18 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.3681, allocations: 25.7 kB / 0.704 GB, free: 4.148 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.528e-05/0.3681, allocations: 238.9 kB / 0.7042 GB, free: 3.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.3682, allocations: 71.42 kB / 0.7043 GB, free: 3.84 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.616e-05/0.3682, allocations: 51.34 kB / 0.7043 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.305e-05/0.3683, allocations: 0.5079 MB / 0.7048 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.522e-05/0.3683, allocations: 23.97 kB / 0.7048 GB, free: 3.238 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.599e-05/0.3684, allocations: 171.4 kB / 0.705 GB, free: 3.031 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.3685, allocations: 112.1 kB / 0.7051 GB, free: 2.898 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3685, allocations: 0 / 0.7051 GB, free: 2.898 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001835/0.3687, allocations: 161.3 kB / 0.7053 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.3687, allocations: 8 kB / 0.7053 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3687, allocations: 0.6875 kB / 0.7053 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3687, allocations: 4 kB / 0.7053 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.3688, allocations: 43.92 kB / 0.7053 GB, free: 2.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.3688, allocations: 4 kB / 0.7053 GB, free: 2.676 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.588e-05/0.3689, allocations: 27.83 kB / 0.7053 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.369, allocations: 4.5 kB / 0.7053 GB, free: 2.645 MB / 0.5105 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 6.838e-05/0.369, allocations: 168.5 kB / 0.7055 GB, free: 2.469 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.951e-05/0.3691, allocations: 39.8 kB / 0.7055 GB, free: 2.43 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001678/0.3692, allocations: 137.6 kB / 0.7057 GB, free: 2.289 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3692, allocations: 0 / 0.7057 GB, free: 2.289 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.3692, allocations: 4 kB / 0.7057 GB, free: 2.285 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3692, allocations: 0 / 0.7057 GB, free: 2.285 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004548/0.3697, allocations: 0.5266 MB / 0.7062 GB, free: 1.695 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3697, allocations: 224 / 0.7062 GB, free: 1.695 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.621e-05/0.3698, allocations: 39.92 kB / 0.7062 GB, free: 1.656 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.3698, allocations: 4 kB / 0.7062 GB, free: 1.652 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.3698, allocations: 4.625 kB / 0.7062 GB, free: 1.648 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.3698, allocations: 4 kB / 0.7062 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3698, allocations: 0 / 0.7062 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/0.37, allocations: 371 kB / 0.7066 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.086e-05/0.3701, allocations: 43.89 kB / 0.7066 GB, free: 1.199 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.3701, allocations: 12.86 kB / 0.7067 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.935e-05/0.3702, allocations: 4 kB / 0.7067 GB, free: 1.184 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.3702, allocations: 31.88 kB / 0.7067 GB, free: 1.152 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.3702, allocations: 4 kB / 0.7067 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.666e-05/0.3703, allocations: 195 kB / 0.7069 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.3703, allocations: 0 / 0.7069 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003235/0.3706, allocations: 95.83 kB / 0.707 GB, free: 0.8633 MB / 0.5105 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.0001759/0.3708, allocations: 135.1 kB / 0.7071 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001461/0.371, allocations: 95.45 kB / 0.7072 GB, free: 0.625 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.371, allocations: 0 / 0.7072 GB, free: 0.625 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.679e-05/0.371, allocations: 59.52 kB / 0.7072 GB, free: 0.5625 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005313/0.3715, allocations: 123.8 kB / 0.7074 GB, free: 472 kB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009232/0.3725, allocations: 0.5877 MB / 0.7079 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.59e-05/0.3725, allocations: 98.38 kB / 0.708 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001163/0.3727, allocations: 35.33 kB / 0.7081 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/0.3729, allocations: 162.1 kB / 0.7082 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of SimCode: time 6.31e-07/0.3729, allocations: 7.938 kB / 0.7082 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.008309/0.3812, allocations: 5.135 MB / 0.7132 GB, free: 10.54 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.093650884926319]