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.597/1.597, allocations: 289.7 MB / 302.2 MB, free: 2.172 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.001061/0.001061, allocations: 178.8 kB / 371.6 MB, free: 3.406 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.506/1.506, allocations: 205.2 MB / 0.6309 GB, free: 11.77 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.001008/0.001008, allocations: 89.31 kB / 0.745 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.104e-05/4.107e-05, allocations: 7.984 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2627, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.803/6.066, allocations: 2.062 GB / 3.042 GB, free: 180.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/6.066, allocations: 88.64 kB / 3.042 GB, free: 180.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.167/7.233, allocations: 243.1 MB / 3.28 GB, free: 224.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.247e-06/7.233, allocations: 3.516 kB / 3.28 GB, free: 224.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.863e-05/7.233, allocations: 6 kB / 3.28 GB, free: 224.3 MB / 0.948 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.001336/7.235, allocations: 0.643 MB / 3.28 GB, free: 223.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/7.235, allocations: 9.281 kB / 3.28 GB, free: 223.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/7.236, allocations: 150.6 kB / 3.28 GB, free: 223.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005485/7.236, allocations: 332.6 kB / 3.281 GB, free: 223.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/7.236, allocations: 17.47 kB / 3.281 GB, free: 223.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.817e-05/7.237, allocations: 29.39 kB / 3.281 GB, free: 223.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000431/7.237, allocations: 251.5 kB / 3.281 GB, free: 223.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/7.237, allocations: 7.031 kB / 3.281 GB, free: 223.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/7.237, allocations: 12.09 kB / 3.281 GB, free: 223.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/7.237, allocations: 6.062 kB / 3.281 GB, free: 223.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002809/7.237, allocations: 164.2 kB / 3.281 GB, free: 223.6 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.001434/7.239, allocations: 1.222 MB / 3.282 GB, free: 222.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/7.239, allocations: 117 kB / 3.282 GB, free: 222.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/7.239, allocations: 78.23 kB / 3.283 GB, free: 222.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004796/7.24, allocations: 298.4 kB / 3.283 GB, free: 222.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/7.24, allocations: 33.62 kB / 3.283 GB, free: 222.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=17): time 1.913e-06/7.24, allocations: 3.25 kB / 3.283 GB, free: 222.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=17): time 0.0004937/7.24, allocations: 188.6 kB / 3.283 GB, free: 222.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/7.24, allocations: 51.41 kB / 3.283 GB, free: 222.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002996/7.241, allocations: 290.7 kB / 3.283 GB, free: 222.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/7.241, allocations: 25.7 kB / 3.283 GB, free: 222.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/7.241, allocations: 189.8 kB / 3.284 GB, free: 222.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/7.241, allocations: 65.61 kB / 3.284 GB, free: 222 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-06/7.241, allocations: 0 / 3.284 GB, free: 222 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.633e-05/7.241, allocations: 341 kB / 3.284 GB, free: 221.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.945e-05/7.241, allocations: 58.45 kB / 3.284 GB, free: 221.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/7.241, allocations: 120.4 kB / 3.284 GB, free: 221.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/7.241, allocations: 68.52 kB / 3.284 GB, free: 221.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/7.241, allocations: 0 / 3.284 GB, free: 221.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002992/7.242, allocations: 209.4 kB / 3.284 GB, free: 221.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/7.242, allocations: 10.89 kB / 3.284 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/7.242, allocations: 0 / 3.284 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/7.242, allocations: 3.062 kB / 3.284 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/7.242, allocations: 55.44 kB / 3.284 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/7.242, allocations: 0 / 3.284 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/7.242, allocations: 34.89 kB / 3.285 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.728e-05/7.242, allocations: 13.59 kB / 3.285 GB, free: 221.6 MB / 0.948 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.302e-05/7.242, allocations: 122.7 kB / 3.285 GB, free: 221.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.013e-05/7.242, allocations: 31.59 kB / 3.285 GB, free: 221.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003666/7.243, allocations: 197.7 kB / 3.285 GB, free: 221.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/7.243, allocations: 3.094 kB / 3.285 GB, free: 221.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/7.243, allocations: 0 / 3.285 GB, free: 221.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/7.243, allocations: 0 / 3.285 GB, free: 221.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008589/7.244, allocations: 0.6566 MB / 3.286 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/7.244, allocations: 6.438 kB / 3.286 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/7.244, allocations: 39.56 kB / 3.286 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/7.244, allocations: 3.281 kB / 3.286 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/7.244, allocations: 8.812 kB / 3.286 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/7.244, allocations: 3.031 kB / 3.286 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/7.244, allocations: 5.734 kB / 3.286 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005495/7.244, allocations: 480.1 kB / 3.286 GB, free: 220.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/7.245, allocations: 126.8 kB / 3.286 GB, free: 220.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.674e-05/7.245, allocations: 9.609 kB / 3.286 GB, free: 220.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/7.245, allocations: 20.45 kB / 3.286 GB, free: 220.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.854e-05/7.245, allocations: 14.27 kB / 3.286 GB, free: 220.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/7.245, allocations: 10.16 kB / 3.286 GB, free: 220.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002364/7.245, allocations: 227.9 kB / 3.286 GB, free: 220.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.1e-07/7.245, allocations: 0 / 3.286 GB, free: 220.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009236/7.246, allocations: 169.6 kB / 3.287 GB, free: 220.6 MB / 0.948 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001744/7.248, allocations: 1.035 MB / 3.288 GB, free: 220.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003095/7.248, allocations: 149.2 kB / 3.288 GB, free: 220.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/7.248, allocations: 3.312 kB / 3.288 GB, free: 220.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001151/7.248, allocations: 71.94 kB / 3.288 GB, free: 220.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008201/7.249, allocations: 159 kB / 3.288 GB, free: 220.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008482/7.25, allocations: 451.7 kB / 3.288 GB, free: 220.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/7.25, allocations: 0.7871 MB / 3.289 GB, free: 219.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002233/7.25, allocations: 58.52 kB / 3.289 GB, free: 219.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.395e-05/7.251, allocations: 26.34 kB / 3.289 GB, free: 219.4 MB / 0.948 GB Notification: Performance of SimCode: time 6.32e-07/7.251, allocations: 0 / 3.289 GB, free: 219.4 MB / 0.948 GB Notification: Performance of Templates: time 0.03738/7.288, allocations: 20.74 MB / 3.309 GB, free: 217.7 MB / 0.948 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)