Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.776/1.776, allocations: 288.4 MB / 303.7 MB, free: 8.129 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.0009719/0.0009719, allocations: 178.3 kB / 372.3 MB, free: 10.12 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.633/1.633, allocations: 205.4 MB / 0.631 GB, free: 9.906 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008202/0.0008203, allocations: 88.88 kB / 0.7444 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004425/0.0004427, allocations: 12.78 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2734, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.8174/1.091, allocations: 152.1 MB / 1.129 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003031/1.094, allocations: 1.488 MB / 1.13 GB, free: 1.484 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003561/1.094, allocations: 6.906 kB / 1.13 GB, free: 1.48 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005002/1.095, allocations: 107.7 kB / 1.13 GB, free: 1.438 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001806/1.097, allocations: 0.6204 MB / 1.131 GB, free: 1.301 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001694/1.098, allocations: 0.5119 MB / 1.131 GB, free: 1.242 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001148/1.1, allocations: 0.8497 MB / 1.132 GB, free: 1.113 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004081/1.1, allocations: 210.9 kB / 1.132 GB, free: 1.07 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007601/1.101, allocations: 307.3 kB / 1.133 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003052/1.101, allocations: 225.8 kB / 1.133 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.667e-05/1.101, allocations: 13.59 kB / 1.133 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002273/1.103, allocations: 0.9979 MB / 1.134 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001463/1.104, allocations: 98.69 kB / 1.134 GB, free: 0.8477 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002537/1.104, allocations: 177.5 kB / 1.134 GB, free: 16.77 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009359/1.105, allocations: 0.5013 MB / 1.135 GB, free: 16.74 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/1.105, allocations: 0 / 1.135 GB, free: 16.74 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.565e-06/1.105, allocations: 0 / 1.135 GB, free: 16.74 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.236e-06/1.105, allocations: 0.8438 kB / 1.135 GB, free: 16.74 MB / 0.698 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.001106/1.106, allocations: 0.6048 MB / 1.135 GB, free: 16.25 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/1.106, allocations: 9.344 kB / 1.135 GB, free: 16.25 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/1.107, allocations: 160.4 kB / 1.135 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005791/1.108, allocations: 313 kB / 1.136 GB, free: 16 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/1.108, allocations: 21.19 kB / 1.136 GB, free: 15.99 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.599e-05/1.108, allocations: 28.72 kB / 1.136 GB, free: 15.99 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006525/1.108, allocations: 285.9 kB / 1.136 GB, free: 15.91 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/1.109, allocations: 1.406 kB / 1.136 GB, free: 15.91 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.137e-05/1.109, allocations: 13.16 kB / 1.136 GB, free: 15.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/1.109, allocations: 5.375 kB / 1.136 GB, free: 15.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005047/1.109, allocations: 208.3 kB / 1.136 GB, free: 15.9 MB / 0.698 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.001909/1.111, allocations: 1.231 MB / 1.137 GB, free: 15.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003538/1.111, allocations: 153.9 kB / 1.138 GB, free: 15.02 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/1.112, allocations: 103.2 kB / 1.138 GB, free: 15 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006928/1.112, allocations: 319.4 kB / 1.138 GB, free: 14.71 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/1.112, allocations: 31.59 kB / 1.138 GB, free: 14.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=17): time 4.449e-06/1.112, allocations: 1.031 kB / 1.138 GB, free: 14.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=17): time 0.000919/1.113, allocations: 319.5 kB / 1.138 GB, free: 14.62 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/1.113, allocations: 53.59 kB / 1.138 GB, free: 14.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004199/1.114, allocations: 316.1 kB / 1.139 GB, free: 14.45 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/1.114, allocations: 29.7 kB / 1.139 GB, free: 14.41 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/1.114, allocations: 192.2 kB / 1.139 GB, free: 14.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.691e-05/1.114, allocations: 56.11 kB / 1.139 GB, free: 14.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-05/1.114, allocations: 4.75 kB / 1.139 GB, free: 14.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001775/1.114, allocations: 339.9 kB / 1.139 GB, free: 13.95 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/1.114, allocations: 70.7 kB / 1.139 GB, free: 13.95 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/1.115, allocations: 138.8 kB / 1.139 GB, free: 13.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004439/1.115, allocations: 213.9 kB / 1.14 GB, free: 13.84 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.115, allocations: 1.312 kB / 1.14 GB, free: 13.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005576/1.116, allocations: 265.2 kB / 1.14 GB, free: 13.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/1.116, allocations: 7.578 kB / 1.14 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/1.116, allocations: 2.281 kB / 1.14 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/1.116, allocations: 2.031 kB / 1.14 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/1.116, allocations: 45.25 kB / 1.14 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-05/1.116, allocations: 10.53 kB / 1.14 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003418/1.117, allocations: 43.2 kB / 1.14 GB, free: 13.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.456e-05/1.117, allocations: 8.125 kB / 1.14 GB, free: 13.75 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000225/1.117, allocations: 152.4 kB / 1.14 GB, free: 13.63 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.13e-05/1.117, allocations: 31.78 kB / 1.14 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006066/1.117, allocations: 247.8 kB / 1.14 GB, free: 13.56 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/1.118, allocations: 2.75 kB / 1.14 GB, free: 13.56 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/1.118, allocations: 0 / 1.14 GB, free: 13.56 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/1.118, allocations: 0 / 1.14 GB, free: 13.56 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/1.119, allocations: 0.7171 MB / 1.141 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/1.119, allocations: 6.406 kB / 1.141 GB, free: 13.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/1.119, allocations: 32.92 kB / 1.141 GB, free: 13.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/1.119, allocations: 2.312 kB / 1.141 GB, free: 13.17 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/1.119, allocations: 7.875 kB / 1.141 GB, free: 13.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.44e-05/1.119, allocations: 14.02 kB / 1.141 GB, free: 13.16 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/1.119, allocations: 2.5 kB / 1.141 GB, free: 13.16 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008328/1.12, allocations: 466 kB / 1.142 GB, free: 12.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/1.12, allocations: 124.2 kB / 1.142 GB, free: 12.78 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.364e-05/1.12, allocations: 6.594 kB / 1.142 GB, free: 12.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/1.12, allocations: 26.08 kB / 1.142 GB, free: 12.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.811e-05/1.121, allocations: 10.64 kB / 1.142 GB, free: 12.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/1.121, allocations: 13.58 kB / 1.142 GB, free: 12.76 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002908/1.121, allocations: 225.9 kB / 1.142 GB, free: 12.66 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/1.121, allocations: 0 / 1.142 GB, free: 12.66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005186/1.121, allocations: 87.34 kB / 1.142 GB, free: 12.64 MB / 0.698 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 (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.0005448/1.122, allocations: 160.2 kB / 1.142 GB, free: 12.54 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005135/1.122, allocations: 188.9 kB / 1.142 GB, free: 12.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.122, allocations: 5.25 kB / 1.142 GB, free: 12.49 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002267/1.123, allocations: 98.06 kB / 1.143 GB, free: 12.47 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/1.124, allocations: 169.9 kB / 1.143 GB, free: 12.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/1.125, allocations: 0.739 MB / 1.143 GB, free: 11.88 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005079/1.126, allocations: 0.7836 MB / 1.144 GB, free: 11.14 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002963/1.126, allocations: 71.39 kB / 1.144 GB, free: 11.11 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.443e-05/1.126, allocations: 25.28 kB / 1.144 GB, free: 11.1 MB / 0.698 GB Notification: Performance of SimCode: time 2.084e-06/1.126, allocations: 0 / 1.144 GB, free: 11.1 MB / 0.698 GB Notification: Performance of Templates: time 0.01395/1.14, allocations: 5.452 MB / 1.15 GB, free: 8.426 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)