Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001234, 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.001487/0.001487, allocations: 191.2 kB / 16.13 MB, free: 6.703 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.445/1.445, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.901/2.901, allocations: 472.6 MB / 0.7447 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 64.69 kB / 0.9113 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3474, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1737/0.5211, allocations: 165.1 MB / 1.229 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002814/0.524, allocations: 1.563 MB / 1.23 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003567/0.5244, allocations: 19.81 kB / 1.23 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005127/0.5249, allocations: 111.3 kB / 1.23 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001675/0.5266, allocations: 0.6613 MB / 1.231 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.5281, allocations: 0.5449 MB / 1.232 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0009412/0.5291, allocations: 0.9703 MB / 1.233 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003186/0.5294, allocations: 197.2 kB / 1.233 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005657/0.53, allocations: 302.8 kB / 1.233 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002697/0.5303, allocations: 247 kB / 1.233 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.848e-05/0.5303, allocations: 12 kB / 1.233 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001596/0.5319, allocations: 1.009 MB / 1.234 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.5321, allocations: 107.5 kB / 1.234 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.5322, allocations: 151.2 kB / 1.235 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.5333, allocations: 0.7635 MB / 1.235 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.5333, allocations: 4 kB / 1.235 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.002e-06/0.5333, allocations: 0 / 1.235 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.5333, allocations: 4 kB / 1.235 GB, free: 14.49 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001007/0.5343, allocations: 0.6504 MB / 1.236 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.5344, allocations: 8.031 kB / 1.236 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/0.5356, allocations: 159.4 kB / 1.236 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004744/0.5361, allocations: 297.7 kB / 1.236 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.5361, allocations: 16.44 kB / 1.236 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.305e-05/0.5362, allocations: 31.98 kB / 1.236 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005078/0.5367, allocations: 279.3 kB / 1.237 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.5367, allocations: 0 / 1.237 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.5367, allocations: 8 kB / 1.237 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.5368, allocations: 8 kB / 1.237 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004171/0.5372, allocations: 191.8 kB / 1.237 GB, free: 12.75 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.001438/0.5386, allocations: 1.213 MB / 1.238 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.5389, allocations: 138.5 kB / 1.238 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.5391, allocations: 90.92 kB / 1.238 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006672/0.5398, allocations: 295.2 kB / 1.239 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.5398, allocations: 46.5 kB / 1.239 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.5398, allocations: 0 / 1.239 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15): time 0.0007748/0.5406, allocations: 281.3 kB / 1.239 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.5407, allocations: 51.41 kB / 1.239 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003022/0.541, allocations: 312.5 kB / 1.239 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.541, allocations: 37.64 kB / 1.239 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.5411, allocations: 184.1 kB / 1.239 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.38e-05/0.5412, allocations: 55.28 kB / 1.239 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.107e-05/0.5413, allocations: 45.61 kB / 1.239 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.5414, allocations: 338.8 kB / 1.24 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.5416, allocations: 63.95 kB / 1.24 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.5419, allocations: 126.5 kB / 1.24 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003616/0.5422, allocations: 188.9 kB / 1.24 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5422, allocations: 4 kB / 1.24 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004618/0.5427, allocations: 241.2 kB / 1.24 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.5427, allocations: 6.188 kB / 1.24 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.5428, allocations: 4 kB / 1.24 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.5428, allocations: 0 / 1.24 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.543, allocations: 43.97 kB / 1.24 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.543, allocations: 3.938 kB / 1.24 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002297/0.5432, allocations: 39.77 kB / 1.241 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/0.5433, allocations: 8 kB / 1.241 GB, free: 8.715 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 (22): * Single equations (assignments): 22 * 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.0001385/0.5434, allocations: 153.8 kB / 1.241 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.223e-05/0.5435, allocations: 27.62 kB / 1.241 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000487/0.544, allocations: 226.4 kB / 1.241 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.544, allocations: 4 kB / 1.241 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.544, allocations: 0 / 1.241 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.544, allocations: 3.984 kB / 1.241 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.545, allocations: 0.6834 MB / 1.242 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.545, allocations: 4 kB / 1.242 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.5452, allocations: 31.92 kB / 1.242 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.563e-06/0.5452, allocations: 7.938 kB / 1.242 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.5452, allocations: 4 kB / 1.242 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.5453, allocations: 0 / 1.242 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.5453, allocations: 4.219 kB / 1.242 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006339/0.5459, allocations: 437 kB / 1.242 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.546, allocations: 116.7 kB / 1.242 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.707e-05/0.5461, allocations: 11.94 kB / 1.242 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.5463, allocations: 11.98 kB / 1.242 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.72e-05/0.5463, allocations: 27.92 kB / 1.242 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.5464, allocations: 4 kB / 1.242 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002139/0.5466, allocations: 227 kB / 1.242 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5466, allocations: 0 / 1.242 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003986/0.547, allocations: 87.84 kB / 1.243 GB, free: 6.52 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 (15): * Single equations (assignments): 15 * 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.0004039/0.5474, allocations: 170.7 kB / 1.243 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004336/0.5478, allocations: 159.8 kB / 1.243 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5479, allocations: 0 / 1.243 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.548, allocations: 88.44 kB / 1.243 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008977/0.549, allocations: 160.2 kB / 1.243 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.55, allocations: 0.6891 MB / 1.244 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.5503, allocations: 0.7758 MB / 1.244 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002137/0.5506, allocations: 70.91 kB / 1.245 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.152e-05/0.5506, allocations: 27.44 kB / 1.245 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/0.5506, allocations: 0 / 1.245 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of Templates: time 0.5926/1.143, allocations: 5.448 MB / 1.25 GB, free: 184 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)