Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.672/1.672, allocations: 292.3 MB / 308.1 MB, free: 4.355 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001354/0.001354, allocations: 182.4 kB / 376.9 MB, free: 1.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.753/1.753, allocations: 205 MB / 0.6354 GB, free: 9.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009629/0.0009629, allocations: 104.2 kB / 0.748 GB, free: 61.01 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001015/0.001015, allocations: 59.91 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2661, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.7249/0.9911, allocations: 165.2 MB / 1.144 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002856/0.994, allocations: 1.571 MB / 1.145 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003006/0.9943, allocations: 10.34 kB / 1.145 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.000498/0.9948, allocations: 122.7 kB / 1.145 GB, free: 12.85 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001625/0.9965, allocations: 0.6719 MB / 1.146 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.9979, allocations: 0.5453 MB / 1.146 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.000918/0.9988, allocations: 0.9882 MB / 1.147 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003298/0.9992, allocations: 210.6 kB / 1.148 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006656/0.9998, allocations: 313.6 kB / 1.148 GB, free: 11.67 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002723/1, allocations: 236.3 kB / 1.148 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/1, allocations: 15.5 kB / 1.148 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001601/1.002, allocations: 1.012 MB / 1.149 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001198/1.002, allocations: 109.5 kB / 1.149 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0001771/1.002, allocations: 163.4 kB / 1.149 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001089/1.003, allocations: 0.7792 MB / 1.15 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.003, allocations: 0 / 1.15 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.142e-06/1.003, allocations: 0 / 1.15 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.051e-06/1.003, allocations: 0 / 1.15 GB, free: 10.79 MB / 0.7605 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.001052/1.004, allocations: 0.6671 MB / 1.151 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/1.004, allocations: 10.47 kB / 1.151 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/1.005, allocations: 163.2 kB / 1.151 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004399/1.006, allocations: 308.8 kB / 1.151 GB, free: 9.949 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/1.006, allocations: 18.38 kB / 1.151 GB, free: 9.941 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.06e-05/1.006, allocations: 28.28 kB / 1.151 GB, free: 9.93 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005253/1.006, allocations: 285 kB / 1.152 GB, free: 9.777 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/1.006, allocations: 0 / 1.152 GB, free: 9.777 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/1.007, allocations: 12.16 kB / 1.152 GB, free: 9.77 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/1.007, allocations: 3.469 kB / 1.152 GB, free: 9.77 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000395/1.007, allocations: 200.6 kB / 1.152 GB, free: 9.715 MB / 0.7605 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.001476/1.008, allocations: 1.227 MB / 1.153 GB, free: 8.715 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/1.009, allocations: 152.4 kB / 1.153 GB, free: 8.648 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/1.009, allocations: 96.23 kB / 1.153 GB, free: 8.613 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006286/1.01, allocations: 302.9 kB / 1.153 GB, free: 8.324 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/1.01, allocations: 42.69 kB / 1.153 GB, free: 8.277 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=17): time 1.883e-06/1.01, allocations: 0 / 1.153 GB, free: 8.277 MB / 0.7605 GB Notification: Performance of matching and sorting (n=17): time 0.0007394/1.01, allocations: 292.9 kB / 1.154 GB, free: 8.168 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/1.01, allocations: 54.66 kB / 1.154 GB, free: 8.105 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/1.011, allocations: 320.3 kB / 1.154 GB, free: 7.938 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/1.011, allocations: 32.61 kB / 1.154 GB, free: 7.902 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/1.011, allocations: 186.3 kB / 1.154 GB, free: 7.746 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.372e-05/1.011, allocations: 57.23 kB / 1.154 GB, free: 7.699 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.437e-05/1.011, allocations: 42.36 kB / 1.154 GB, free: 7.672 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001243/1.011, allocations: 348 kB / 1.155 GB, free: 7.344 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/1.011, allocations: 69.83 kB / 1.155 GB, free: 7.324 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/1.011, allocations: 128.6 kB / 1.155 GB, free: 7.246 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003528/1.012, allocations: 199.5 kB / 1.155 GB, free: 7.141 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.012, allocations: 0 / 1.155 GB, free: 7.141 MB / 0.7605 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004994/1.012, allocations: 256.3 kB / 1.155 GB, free: 7.027 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/1.012, allocations: 10.47 kB / 1.155 GB, free: 7.023 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/1.012, allocations: 0 / 1.155 GB, free: 7.023 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/1.012, allocations: 7.234 kB / 1.155 GB, free: 7.02 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/1.013, allocations: 47.11 kB / 1.155 GB, free: 7.016 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/1.013, allocations: 3.219 kB / 1.155 GB, free: 7.016 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000259/1.013, allocations: 35.81 kB / 1.155 GB, free: 6.996 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/1.013, allocations: 16.23 kB / 1.155 GB, free: 6.992 MB / 0.7605 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.0001599/1.013, allocations: 160.2 kB / 1.156 GB, free: 6.848 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.89e-05/1.013, allocations: 24.97 kB / 1.156 GB, free: 6.836 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005456/1.014, allocations: 226.1 kB / 1.156 GB, free: 6.742 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/1.014, allocations: 3.781 kB / 1.156 GB, free: 6.742 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.014, allocations: 0 / 1.156 GB, free: 6.742 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/1.014, allocations: 0 / 1.156 GB, free: 6.742 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/1.015, allocations: 0.7109 MB / 1.157 GB, free: 6.242 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/1.015, allocations: 0.8438 kB / 1.157 GB, free: 6.242 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/1.015, allocations: 43.06 kB / 1.157 GB, free: 6.234 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/1.015, allocations: 3.156 kB / 1.157 GB, free: 6.234 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/1.015, allocations: 3.281 kB / 1.157 GB, free: 6.234 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/1.015, allocations: 8.391 kB / 1.157 GB, free: 6.23 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.015, allocations: 0.9375 kB / 1.157 GB, free: 6.23 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00429/1.02, allocations: 2.064 MB / 1.159 GB, free: 4.816 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/1.02, allocations: 120.5 kB / 1.159 GB, free: 4.699 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/1.02, allocations: 7.281 kB / 1.159 GB, free: 4.695 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/1.02, allocations: 13.8 kB / 1.159 GB, free: 4.695 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/1.02, allocations: 13.61 kB / 1.159 GB, free: 4.691 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/1.02, allocations: 9.797 kB / 1.159 GB, free: 4.691 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001948/1.02, allocations: 235.1 kB / 1.159 GB, free: 4.57 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.2e-07/1.02, allocations: 0.8438 kB / 1.159 GB, free: 4.57 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005461/1.021, allocations: 116.9 kB / 1.159 GB, free: 4.551 MB / 0.7605 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.0004254/1.021, allocations: 169.8 kB / 1.159 GB, free: 4.438 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004197/1.022, allocations: 182 kB / 1.159 GB, free: 4.387 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.022, allocations: 0 / 1.159 GB, free: 4.387 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001817/1.022, allocations: 94.58 kB / 1.16 GB, free: 4.359 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009227/1.023, allocations: 152.8 kB / 1.16 GB, free: 4.328 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/1.024, allocations: 0.8915 MB / 1.161 GB, free: 3.672 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/1.024, allocations: 0.785 MB / 1.161 GB, free: 2.969 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002174/1.025, allocations: 68.52 kB / 1.161 GB, free: 2.953 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.143e-05/1.025, allocations: 27.02 kB / 1.161 GB, free: 2.945 MB / 0.7605 GB Notification: Performance of SimCode: time 2.3e-07/1.025, allocations: 2.844 kB / 1.161 GB, free: 2.945 MB / 0.7605 GB Notification: Performance of Templates: time 0.009255/1.034, allocations: 5.687 MB / 1.167 GB, free: 2.598 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)