Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001562, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002002/0.002002, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.456/1.456, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.949/2.949, allocations: 472.6 MB / 0.7447 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 62.14 kB / 0.9113 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.395, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 1.035/1.43, allocations: 191.6 MB / 1.255 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01096/1.441, allocations: 6.993 MB / 1.261 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002074/1.443, allocations: 38.94 kB / 1.262 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001976/1.445, allocations: 0.5672 MB / 1.262 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007133/1.452, allocations: 2.185 MB / 1.264 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004001/1.456, allocations: 1.281 MB / 1.265 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005546/1.462, allocations: 3.738 MB / 1.269 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00153/1.464, allocations: 0.7964 MB / 1.27 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00222/1.466, allocations: 0.9722 MB / 1.271 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002018/1.468, allocations: 0.8077 MB / 1.272 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001828/1.468, allocations: 46 kB / 1.272 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00539/1.473, allocations: 2.228 MB / 1.274 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006208/1.474, allocations: 321.6 kB / 1.274 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009858/1.475, allocations: 0.5361 MB / 1.275 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005144/1.48, allocations: 2.426 MB / 1.277 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.48, allocations: 1.203 kB / 1.277 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.72e-07/1.48, allocations: 0 / 1.277 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.188e-05/1.48, allocations: 0.625 kB / 1.277 GB, free: 5.223 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004292/1.485, allocations: 1.625 MB / 1.279 GB, free: 20.35 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/1.485, allocations: 10.41 kB / 1.279 GB, free: 20.35 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003487/1.488, allocations: 0.5318 MB / 1.279 GB, free: 20.27 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002324/1.49, allocations: 0.9837 MB / 1.28 GB, free: 19.93 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001185/1.492, allocations: 278.9 kB / 1.28 GB, free: 19.91 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/1.492, allocations: 68.22 kB / 1.28 GB, free: 19.91 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002422/1.494, allocations: 1.129 MB / 1.282 GB, free: 19.77 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/1.494, allocations: 4.344 kB / 1.282 GB, free: 19.77 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.804e-05/1.494, allocations: 24.88 kB / 1.282 GB, free: 19.77 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.989e-05/1.494, allocations: 31.83 kB / 1.282 GB, free: 19.77 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00304/1.497, allocations: 1.205 MB / 1.283 GB, free: 19.74 MB / 1.014 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.005828/1.503, allocations: 3.204 MB / 1.286 GB, free: 18.78 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/1.505, allocations: 0.6858 MB / 1.287 GB, free: 18.74 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000772/1.506, allocations: 426.7 kB / 1.287 GB, free: 18.72 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009278/1.507, allocations: 1.022 MB / 1.288 GB, free: 17.59 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009988/1.508, allocations: 0.5155 MB / 1.289 GB, free: 17.48 MB / 1.014 GB Notification: Performance of pre-optimization done (n=57): time 2.174e-06/1.508, allocations: 1.281 kB / 1.289 GB, free: 17.48 MB / 1.014 GB Notification: Performance of matching and sorting (n=57): time 0.003059/1.511, allocations: 1.222 MB / 1.29 GB, free: 17.33 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.524e-05/1.511, allocations: 143.5 kB / 1.29 GB, free: 17.17 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002267/1.513, allocations: 1.201 MB / 1.291 GB, free: 17.01 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001305/1.513, allocations: 41.19 kB / 1.291 GB, free: 16.98 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003572/1.514, allocations: 443.2 kB / 1.291 GB, free: 16.85 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/1.514, allocations: 185.3 kB / 1.292 GB, free: 16.73 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002844/1.514, allocations: 143 kB / 1.292 GB, free: 16.71 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001269/1.514, allocations: 333 kB / 1.292 GB, free: 16.4 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/1.516, allocations: 457.8 kB / 1.293 GB, free: 16.39 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/1.517, allocations: 0.6133 MB / 1.293 GB, free: 16.23 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00203/1.519, allocations: 0.9483 MB / 1.294 GB, free: 16.03 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/1.519, allocations: 1.125 kB / 1.294 GB, free: 16.03 MB / 1.014 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003152/1.522, allocations: 1.233 MB / 1.295 GB, free: 15.87 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.631e-05/1.522, allocations: 40.55 kB / 1.295 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/1.522, allocations: 4.156 kB / 1.295 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/1.522, allocations: 5.688 kB / 1.295 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00095/1.523, allocations: 203.8 kB / 1.296 GB, free: 15.83 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/1.523, allocations: 6.312 kB / 1.296 GB, free: 15.83 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/1.525, allocations: 274.8 kB / 1.296 GB, free: 15.76 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/1.525, allocations: 35.39 kB / 1.296 GB, free: 15.76 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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.000654/1.526, allocations: 337.4 kB / 1.296 GB, free: 15.61 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003543/1.526, allocations: 112.1 kB / 1.296 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002231/1.528, allocations: 0.9964 MB / 1.297 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/1.528, allocations: 10.56 kB / 1.297 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/1.529, allocations: 4.969 kB / 1.297 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/1.529, allocations: 4.922 kB / 1.297 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005334/1.534, allocations: 3.156 MB / 1.3 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.22e-05/1.534, allocations: 7.469 kB / 1.3 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006264/1.535, allocations: 120.7 kB / 1.3 GB, free: 14.65 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.46e-05/1.535, allocations: 9.594 kB / 1.3 GB, free: 14.65 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.319e-05/1.535, allocations: 32.61 kB / 1.3 GB, free: 14.65 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.584e-05/1.535, allocations: 14.06 kB / 1.3 GB, free: 14.65 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/1.535, allocations: 10.41 kB / 1.301 GB, free: 14.65 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002455/1.537, allocations: 1.346 MB / 1.302 GB, free: 14.06 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007912/1.538, allocations: 327.1 kB / 1.302 GB, free: 13.9 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003567/1.538, allocations: 20.75 kB / 1.302 GB, free: 13.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/1.54, allocations: 114.2 kB / 1.302 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/1.54, allocations: 67.73 kB / 1.302 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/1.54, allocations: 37.64 kB / 1.302 GB, free: 13.88 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001806/1.542, allocations: 0.8666 MB / 1.303 GB, free: 13.76 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.8e-07/1.542, allocations: 1.406 kB / 1.303 GB, free: 13.76 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001652/1.543, allocations: 293.7 kB / 1.303 GB, free: 13.74 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.0009793/1.544, allocations: 355.6 kB / 1.304 GB, free: 13.6 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002704/1.547, allocations: 1.019 MB / 1.305 GB, free: 13.51 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/1.547, allocations: 5.719 kB / 1.305 GB, free: 13.51 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009779/1.548, allocations: 0.5102 MB / 1.305 GB, free: 13.44 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003258/1.551, allocations: 0.5391 MB / 1.306 GB, free: 13.39 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00392/1.555, allocations: 2.337 MB / 1.308 GB, free: 12.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008657/1.556, allocations: 1.074 MB / 1.309 GB, free: 11.48 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001384/1.558, allocations: 274.7 kB / 1.309 GB, free: 11.42 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/1.558, allocations: 76.36 kB / 1.31 GB, free: 11.41 MB / 1.014 GB Notification: Performance of SimCode: time 9.92e-07/1.558, allocations: 0 / 1.31 GB, free: 11.41 MB / 1.014 GB Notification: Performance of Templates: time 0.03798/1.596, allocations: 21.26 MB / 1.33 GB, free: 5.801 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_1.6_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)