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.001115/0.001115, allocations: 102.8 kB / 16.27 MB, free: 6.105 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.001226/0.001226, allocations: 184.9 kB / 17.19 MB, free: 5.723 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.353/1.353, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7639/0.7639, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 67.89 kB / 0.4911 GB, free: 7.434 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3905, allocations: 77.92 MB / 0.5672 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.1867/0.5773, allocations: 167.4 MB / 0.7307 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003707/0.581, allocations: 1.556 MB / 0.7322 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008482/0.5819, allocations: 7.938 kB / 0.7322 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007703/0.5828, allocations: 158.8 kB / 0.7323 GB, free: 1.309 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002311/0.5851, allocations: 0.7039 MB / 0.733 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002016/0.5872, allocations: 0.599 MB / 0.7336 GB, free: 4 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001196/0.5884, allocations: 0.7177 MB / 0.7343 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00053/0.5889, allocations: 237 kB / 0.7345 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.59, allocations: 342.7 kB / 0.7349 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004641/0.5904, allocations: 231 kB / 0.7351 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.915e-05/0.5905, allocations: 24 kB / 0.7351 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001978/0.5925, allocations: 0.8612 MB / 0.7359 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002124/0.5927, allocations: 107.6 kB / 0.7361 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003009/0.593, allocations: 175.1 kB / 0.7362 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001795/0.5948, allocations: 0.7168 MB / 0.7369 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.5949, allocations: 4 kB / 0.7369 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5949, allocations: 4 kB / 0.7369 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.5949, allocations: 0 / 0.7369 GB, free: 12.6 MB / 0.5762 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.001453/0.5964, allocations: 0.666 MB / 0.7376 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.5964, allocations: 12.62 kB / 0.7376 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001439/0.5979, allocations: 155.4 kB / 0.7377 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005002/0.5984, allocations: 302.7 kB / 0.738 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.5984, allocations: 28.55 kB / 0.7381 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.121e-05/0.5985, allocations: 27.94 kB / 0.7381 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005348/0.599, allocations: 281.8 kB / 0.7383 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.599, allocations: 4 kB / 0.7384 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/0.5991, allocations: 8 kB / 0.7384 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.5991, allocations: 12 kB / 0.7384 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004843/0.5996, allocations: 204.7 kB / 0.7386 GB, free: 10.81 MB / 0.5762 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.001775/0.6014, allocations: 1.23 MB / 0.7398 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003151/0.6017, allocations: 150.4 kB / 0.7399 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.6019, allocations: 100.8 kB / 0.74 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006931/0.6026, allocations: 307.2 kB / 0.7403 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.6026, allocations: 34.56 kB / 0.7403 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 1.943e-06/0.6027, allocations: 0 / 0.7403 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.0008916/0.6036, allocations: 291.5 kB / 0.7406 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.6036, allocations: 59.31 kB / 0.7407 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003319/0.6039, allocations: 320.5 kB / 0.741 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.604, allocations: 33.7 kB / 0.741 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.6041, allocations: 180.2 kB / 0.7412 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.644e-05/0.6042, allocations: 59.11 kB / 0.7412 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.255e-05/0.6043, allocations: 41.7 kB / 0.7413 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.6044, allocations: 342.8 kB / 0.7416 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.6046, allocations: 71.95 kB / 0.7417 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.6048, allocations: 122.7 kB / 0.7418 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003619/0.6052, allocations: 203.3 kB / 0.742 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.6052, allocations: 3.938 kB / 0.742 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005071/0.6057, allocations: 253 kB / 0.7422 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.6057, allocations: 4 kB / 0.7422 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/0.6057, allocations: 4 kB / 0.7422 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.6058, allocations: 4.094 kB / 0.7422 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.606, allocations: 51.91 kB / 0.7423 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.606, allocations: 0 / 0.7423 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.6062, allocations: 35.67 kB / 0.7423 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/0.6063, allocations: 8 kB / 0.7423 GB, free: 6.684 MB / 0.5762 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.0001571/0.6064, allocations: 161.6 kB / 0.7425 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.764e-05/0.6065, allocations: 27.62 kB / 0.7425 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005634/0.6071, allocations: 232.6 kB / 0.7427 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.6071, allocations: 0 / 0.7427 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.6071, allocations: 4 kB / 0.7427 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.6071, allocations: 0 / 0.7427 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.6082, allocations: 0.7068 MB / 0.7434 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-06/0.6082, allocations: 4 kB / 0.7434 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.6084, allocations: 35.92 kB / 0.7435 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.6084, allocations: 3.984 kB / 0.7435 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.6084, allocations: 12.22 kB / 0.7435 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.676e-06/0.6084, allocations: 7.938 kB / 0.7435 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6084, allocations: 0 / 0.7435 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007086/0.6092, allocations: 455.1 kB / 0.7439 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.6093, allocations: 116.7 kB / 0.744 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.285e-05/0.6093, allocations: 11.98 kB / 0.744 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.6095, allocations: 7.938 kB / 0.744 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.697e-05/0.6096, allocations: 20.05 kB / 0.7441 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.6096, allocations: 8 kB / 0.7441 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000274/0.6099, allocations: 231 kB / 0.7443 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6099, allocations: 0 / 0.7443 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004388/0.6103, allocations: 91.83 kB / 0.7444 GB, free: 4.434 MB / 0.5762 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.0004481/0.6108, allocations: 172.6 kB / 0.7445 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00049/0.6113, allocations: 185.9 kB / 0.7447 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6113, allocations: 0 / 0.7447 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000228/0.6115, allocations: 96.38 kB / 0.7448 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009426/0.6125, allocations: 171 kB / 0.745 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.6137, allocations: 0.6418 MB / 0.7456 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.6141, allocations: 0.7834 MB / 0.7464 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002486/0.6143, allocations: 66.92 kB / 0.7464 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.427e-05/0.6144, allocations: 27.38 kB / 0.7465 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.6144, allocations: 0 / 0.7465 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of Templates: time 0.3056/0.92, allocations: 5.804 MB / 0.7521 GB, free: 172 MB / 0.5762 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe 2>&1)