Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001644/0.001644, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002622/0.002622, allocations: 191.7 kB / 16.25 MB, free: 6.625 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.541/1.541, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.94/2.94, allocations: 472.6 MB / 0.7448 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 66.62 kB / 0.9115 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.4261, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2057/0.6318, allocations: 165.2 MB / 1.229 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003155/0.635, allocations: 1.552 MB / 1.23 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002932/0.6353, allocations: 15.88 kB / 1.231 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005445/0.6359, allocations: 123.2 kB / 1.231 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.6377, allocations: 0.6653 MB / 1.231 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.6392, allocations: 0.5606 MB / 1.232 GB, free: 2.098 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007931/0.64, allocations: 0.7254 MB / 1.233 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003733/0.6404, allocations: 217.1 kB / 1.233 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006256/0.641, allocations: 354.7 kB / 1.233 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002765/0.6413, allocations: 239 kB / 1.233 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.037e-05/0.6414, allocations: 24 kB / 1.233 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001386/0.6428, allocations: 0.9 MB / 1.234 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.6429, allocations: 111.7 kB / 1.234 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001753/0.6431, allocations: 167.2 kB / 1.234 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.6442, allocations: 0.783 MB / 1.235 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.6442, allocations: 4 kB / 1.235 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6442, allocations: 0 / 1.235 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.836e-06/0.6442, allocations: 0 / 1.235 GB, free: 14.59 MB / 0.9981 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.001026/0.6452, allocations: 0.6622 MB / 1.236 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.6453, allocations: 8.031 kB / 1.236 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.6464, allocations: 159.3 kB / 1.236 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004558/0.6469, allocations: 314.6 kB / 1.236 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.6469, allocations: 20.56 kB / 1.236 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.879e-05/0.647, allocations: 31.86 kB / 1.236 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005057/0.6475, allocations: 281.8 kB / 1.237 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.6475, allocations: 0 / 1.237 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.368e-05/0.6475, allocations: 8 kB / 1.237 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.6476, allocations: 11.94 kB / 1.237 GB, free: 13 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004154/0.648, allocations: 200.9 kB / 1.237 GB, free: 12.8 MB / 0.9981 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.001473/0.6495, allocations: 1.219 MB / 1.238 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002998/0.6498, allocations: 154.4 kB / 1.238 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.65, allocations: 97.11 kB / 1.238 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007381/0.6507, allocations: 303.2 kB / 1.239 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.6508, allocations: 42.47 kB / 1.239 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=17): time 2.134e-06/0.6508, allocations: 0 / 1.239 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17): time 0.0008214/0.6516, allocations: 290.2 kB / 1.239 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.6517, allocations: 51.41 kB / 1.239 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000374/0.652, allocations: 332.4 kB / 1.239 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.6521, allocations: 29.7 kB / 1.239 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.6522, allocations: 184.2 kB / 1.239 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.893e-05/0.6523, allocations: 63.09 kB / 1.24 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.8e-05/0.6524, allocations: 45.7 kB / 1.24 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.6526, allocations: 342.8 kB / 1.24 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.6528, allocations: 67.95 kB / 1.24 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.653, allocations: 127.7 kB / 1.24 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003744/0.6534, allocations: 202.6 kB / 1.24 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.6534, allocations: 3.938 kB / 1.24 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004652/0.6539, allocations: 245.1 kB / 1.241 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.6539, allocations: 5.719 kB / 1.241 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.6539, allocations: 0 / 1.241 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.6539, allocations: 4 kB / 1.241 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.6541, allocations: 52.06 kB / 1.241 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.6542, allocations: 7.938 kB / 1.241 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.6544, allocations: 39.67 kB / 1.241 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.6544, allocations: 8.141 kB / 1.241 GB, free: 8.668 MB / 0.9981 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.0001812/0.6546, allocations: 150.4 kB / 1.241 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.943e-05/0.6547, allocations: 35.61 kB / 1.241 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004965/0.6552, allocations: 232.7 kB / 1.241 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.6552, allocations: 0 / 1.241 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.6552, allocations: 0 / 1.241 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.6552, allocations: 0 / 1.241 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.6563, allocations: 0.7106 MB / 1.242 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.6563, allocations: 7.938 kB / 1.242 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.6565, allocations: 35.97 kB / 1.242 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.6565, allocations: 4 kB / 1.242 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.6565, allocations: 4.219 kB / 1.242 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.6565, allocations: 11.88 kB / 1.242 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.6565, allocations: 7.984 kB / 1.242 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006722/0.6572, allocations: 450.4 kB / 1.242 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.6573, allocations: 128.7 kB / 1.242 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.461e-05/0.6574, allocations: 4 kB / 1.242 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.6576, allocations: 23.98 kB / 1.242 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.719e-05/0.6577, allocations: 15.98 kB / 1.242 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.6577, allocations: 4 kB / 1.242 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002206/0.6579, allocations: 231 kB / 1.243 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6579, allocations: 0 / 1.243 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003801/0.6583, allocations: 87.84 kB / 1.243 GB, free: 6.41 MB / 0.9981 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.0004519/0.6587, allocations: 168.2 kB / 1.243 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004609/0.6592, allocations: 183.8 kB / 1.243 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6592, allocations: 0 / 1.243 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002081/0.6594, allocations: 100.3 kB / 1.243 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008839/0.6603, allocations: 161.6 kB / 1.243 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.6614, allocations: 0.7236 MB / 1.244 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.6618, allocations: 0.7834 MB / 1.245 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002191/0.6621, allocations: 62.92 kB / 1.245 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.972e-05/0.6621, allocations: 27.44 kB / 1.245 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of SimCode: time 2.514e-06/0.6621, allocations: 0 / 1.245 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of Templates: time 0.5892/1.251, allocations: 5.735 MB / 1.25 GB, free: 184 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Velocity.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)