Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity") translateModel(IBPSA.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 119.3 kB / 17.09 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 190.9 kB / 18.02 MB, free: 5.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8661/0.8661, allocations: 126.4 MB / 418.2 MB, free: 12.44 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 67.55 kB / 0.5742 GB, free: 27.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1438, allocations: 78.78 MB / 0.6511 GB, free: 3.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.5272/0.6711, allocations: 167.4 MB / 0.8146 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002483/0.6736, allocations: 1.568 MB / 0.8162 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003988/0.674, allocations: 11.69 kB / 0.8162 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004954/0.6745, allocations: 159.1 kB / 0.8163 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001742/0.6763, allocations: 0.7344 MB / 0.817 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001476/0.6778, allocations: 0.6053 MB / 0.8176 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008404/0.6786, allocations: 0.7166 MB / 0.8183 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003993/0.679, allocations: 234.6 kB / 0.8185 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.6801, allocations: 0.4982 MB / 0.819 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003059/0.6804, allocations: 221 kB / 0.8192 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.2e-05/0.6805, allocations: 22.84 kB / 0.8193 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.6818, allocations: 0.8582 MB / 0.8201 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.6819, allocations: 114.2 kB / 0.8202 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002108/0.6821, allocations: 175.9 kB / 0.8204 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.6833, allocations: 0.7271 MB / 0.8211 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6833, allocations: 0 / 0.8211 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6834, allocations: 0 / 0.8211 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.552e-05/0.6834, allocations: 4 kB / 0.8211 GB, free: 9.012 MB / 0.5919 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.001143/0.6845, allocations: 0.6878 MB / 0.8218 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.6846, allocations: 14.25 kB / 0.8218 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.6857, allocations: 156.9 kB / 0.8219 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006128/0.6864, allocations: 325.9 kB / 0.8222 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.6864, allocations: 22.41 kB / 0.8223 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.211e-05/0.6865, allocations: 20.84 kB / 0.8223 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005346/0.687, allocations: 289.7 kB / 0.8226 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.687, allocations: 3.984 kB / 0.8226 GB, free: 7.809 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.498e-05/0.6871, allocations: 14.25 kB / 0.8226 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.6871, allocations: 4.688 kB / 0.8226 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000424/0.6875, allocations: 199.6 kB / 0.8228 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.689, allocations: 1.225 MB / 0.824 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002905/0.6894, allocations: 151.4 kB / 0.8241 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.6895, allocations: 92.61 kB / 0.8242 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005714/0.6901, allocations: 304.6 kB / 0.8245 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.6902, allocations: 38.5 kB / 0.8245 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=17): time 1.473e-06/0.6902, allocations: 0 / 0.8245 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17): time 0.0007992/0.691, allocations: 290.8 kB / 0.8248 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.691, allocations: 66.36 kB / 0.8249 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003478/0.6914, allocations: 318.5 kB / 0.8252 GB, free: 5.684 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.6914, allocations: 32.52 kB / 0.8252 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.6916, allocations: 186.3 kB / 0.8254 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.558e-05/0.6916, allocations: 63.06 kB / 0.8254 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.078e-05/0.6917, allocations: 45.58 kB / 0.8255 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.6919, allocations: 342.5 kB / 0.8258 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.6921, allocations: 71.22 kB / 0.8259 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.6923, allocations: 127.6 kB / 0.826 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003596/0.6927, allocations: 198 kB / 0.8262 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.6927, allocations: 0 / 0.8262 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005014/0.6932, allocations: 261 kB / 0.8264 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.6932, allocations: 4.312 kB / 0.8264 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.6932, allocations: 3.312 kB / 0.8264 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.6932, allocations: 0 / 0.8264 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.6935, allocations: 47.11 kB / 0.8265 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.081e-05/0.6935, allocations: 6.734 kB / 0.8265 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.6937, allocations: 28.25 kB / 0.8265 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.369e-05/0.6938, allocations: 11.36 kB / 0.8265 GB, free: 4.625 MB / 0.5919 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.0001792/0.6939, allocations: 159.4 kB / 0.8267 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.339e-05/0.694, allocations: 30.38 kB / 0.8267 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005198/0.6945, allocations: 228.5 kB / 0.8269 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.6945, allocations: 2.406 kB / 0.8269 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6946, allocations: 0 / 0.8269 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.6946, allocations: 6.828 kB / 0.8269 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.6958, allocations: 0.7139 MB / 0.8276 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.6959, allocations: 3.438 kB / 0.8276 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.696, allocations: 35.86 kB / 0.8277 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.6961, allocations: 2.406 kB / 0.8277 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.6961, allocations: 6.344 kB / 0.8277 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.6961, allocations: 2.656 kB / 0.8277 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.6961, allocations: 6.906 kB / 0.8277 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007314/0.6968, allocations: 450.9 kB / 0.8281 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.697, allocations: 124.4 kB / 0.8282 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.147e-05/0.6971, allocations: 11.31 kB / 0.8283 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.6973, allocations: 15.58 kB / 0.8283 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.91e-05/0.6973, allocations: 16.8 kB / 0.8283 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.6973, allocations: 11.34 kB / 0.8283 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002461/0.6976, allocations: 228.9 kB / 0.8285 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6976, allocations: 0 / 0.8285 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004262/0.698, allocations: 84.02 kB / 0.8286 GB, free: 3.055 MB / 0.5919 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.0004618/0.6985, allocations: 169.5 kB / 0.8288 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004847/0.699, allocations: 198 kB / 0.8289 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.699, allocations: 0 / 0.8289 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.6992, allocations: 92.86 kB / 0.829 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008484/0.7001, allocations: 167.6 kB / 0.8292 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.7012, allocations: 0.6406 MB / 0.8298 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004956/0.7017, allocations: 0.7825 MB / 0.8306 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002328/0.702, allocations: 66.2 kB / 0.8306 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.953e-05/0.7021, allocations: 24.91 kB / 0.8307 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/0.7021, allocations: 0 / 0.8307 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of Templates: time 0.01239/0.7145, allocations: 5.86 MB / 0.8364 GB, free: 14.59 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe 2>&1)