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.001324/0.001329, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002033/0.002034, allocations: 192.7 kB / 16.14 MB, free: 6.711 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.463/1.463, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.851/2.851, allocations: 472.6 MB / 0.7447 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 72.36 kB / 0.9113 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4335/0.4356, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1885/0.6241, allocations: 165.2 MB / 1.229 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002978/0.6271, allocations: 1.57 MB / 1.23 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004311/0.6276, allocations: 15.94 kB / 1.23 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005502/0.6281, allocations: 115.2 kB / 1.23 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001894/0.6301, allocations: 0.6691 MB / 1.231 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.6316, allocations: 0.5455 MB / 1.232 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001095/0.6327, allocations: 0.9828 MB / 1.233 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004186/0.6331, allocations: 201.1 kB / 1.233 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000732/0.6339, allocations: 322.7 kB / 1.233 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003628/0.6343, allocations: 243 kB / 1.233 GB, free: 496 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.501e-05/0.6343, allocations: 16 kB / 1.233 GB, free: 480 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001652/0.636, allocations: 1.017 MB / 1.234 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.6362, allocations: 103.6 kB / 1.234 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002075/0.6364, allocations: 163.1 kB / 1.235 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.6377, allocations: 0.7713 MB / 1.235 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.6377, allocations: 0 / 1.235 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6377, allocations: 3.938 kB / 1.235 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.6377, allocations: 0 / 1.235 GB, free: 14.41 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.0009936/0.6387, allocations: 0.6584 MB / 1.236 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.6387, allocations: 8.031 kB / 1.236 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/0.64, allocations: 159.3 kB / 1.236 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000412/0.6404, allocations: 314.6 kB / 1.236 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.6404, allocations: 16.56 kB / 1.236 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.652e-05/0.6405, allocations: 27.94 kB / 1.237 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005059/0.641, allocations: 285.8 kB / 1.237 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.641, allocations: 7.922 kB / 1.237 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.641, allocations: 15.94 kB / 1.237 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.6411, allocations: 4 kB / 1.237 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004384/0.6415, allocations: 204.9 kB / 1.237 GB, free: 12.62 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.001428/0.6429, allocations: 1.215 MB / 1.238 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003292/0.6433, allocations: 154.4 kB / 1.238 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.6435, allocations: 97.11 kB / 1.238 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008031/0.6443, allocations: 299.2 kB / 1.239 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.6443, allocations: 38.47 kB / 1.239 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=17): time 3.136e-06/0.6444, allocations: 7.984 kB / 1.239 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17): time 0.0008446/0.6452, allocations: 286.9 kB / 1.239 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.6453, allocations: 55.34 kB / 1.239 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003629/0.6456, allocations: 332.4 kB / 1.239 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.6457, allocations: 29.7 kB / 1.239 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.6458, allocations: 184.2 kB / 1.24 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/0.6459, allocations: 63.09 kB / 1.24 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.27e-05/0.646, allocations: 45.7 kB / 1.24 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002576/0.6462, allocations: 342.8 kB / 1.24 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.6464, allocations: 63.95 kB / 1.24 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/0.6466, allocations: 131.7 kB / 1.24 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003775/0.647, allocations: 191.1 kB / 1.24 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.6471, allocations: 3.938 kB / 1.24 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005196/0.6476, allocations: 257 kB / 1.241 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.6476, allocations: 7.984 kB / 1.241 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.6476, allocations: 4 kB / 1.241 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.6476, allocations: 4 kB / 1.241 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.6479, allocations: 39.98 kB / 1.241 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.6479, allocations: 0 / 1.241 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.6481, allocations: 47.7 kB / 1.241 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/0.6481, allocations: 11.98 kB / 1.241 GB, free: 8.492 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.0001658/0.6483, allocations: 149.8 kB / 1.241 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.572e-05/0.6484, allocations: 31.62 kB / 1.241 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004867/0.6489, allocations: 226.4 kB / 1.241 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.6489, allocations: 8 kB / 1.241 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.6489, allocations: 0 / 1.241 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.6489, allocations: 7.922 kB / 1.241 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.6501, allocations: 0.7068 MB / 1.242 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.6501, allocations: 96 / 1.242 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/0.6503, allocations: 35.92 kB / 1.242 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.6503, allocations: 4 kB / 1.242 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/0.6503, allocations: 8 kB / 1.242 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-06/0.6504, allocations: 7.875 kB / 1.242 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.6504, allocations: 4 kB / 1.242 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000745/0.6511, allocations: 449.1 kB / 1.242 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.6513, allocations: 128.7 kB / 1.242 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.378e-05/0.6513, allocations: 8 kB / 1.242 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.6515, allocations: 15.92 kB / 1.242 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.118e-05/0.6516, allocations: 16.05 kB / 1.243 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.6516, allocations: 12 kB / 1.243 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000247/0.6519, allocations: 231 kB / 1.243 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6519, allocations: 0 / 1.243 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004229/0.6523, allocations: 91.83 kB / 1.243 GB, free: 6.238 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.000461/0.6528, allocations: 166.9 kB / 1.243 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004634/0.6533, allocations: 175.8 kB / 1.243 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6533, allocations: 0 / 1.243 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002402/0.6535, allocations: 96.44 kB / 1.243 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009406/0.6545, allocations: 158.9 kB / 1.243 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.6556, allocations: 0.7291 MB / 1.244 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.656, allocations: 0.7836 MB / 1.245 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002524/0.6563, allocations: 70.92 kB / 1.245 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.64e-05/0.6563, allocations: 23.44 kB / 1.245 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of SimCode: time 4.51e-07/0.6563, allocations: 0 / 1.245 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of Templates: time 0.5694/1.226, allocations: 5.527 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)