Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001089/0.001089, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008473/0.008473, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.441/1.441, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.837/2.837, allocations: 473.4 MB / 0.7469 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0006074/0.0006074, allocations: 17.06 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4809/0.4815, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 1.042/1.523, allocations: 189.1 MB / 1.259 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01267/1.536, allocations: 6.924 MB / 1.266 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002388/1.538, allocations: 43.45 kB / 1.266 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002284/1.541, allocations: 0.5726 MB / 1.266 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006971/1.548, allocations: 2.178 MB / 1.268 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003737/1.551, allocations: 1.287 MB / 1.27 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005713/1.557, allocations: 3.746 MB / 1.273 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001526/1.559, allocations: 0.7648 MB / 1.274 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002114/1.561, allocations: 0.9551 MB / 1.275 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001733/1.563, allocations: 0.7957 MB / 1.276 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001392/1.563, allocations: 39.19 kB / 1.276 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005012/1.568, allocations: 2.219 MB / 1.278 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005265/1.568, allocations: 310.7 kB / 1.278 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001091/1.569, allocations: 0.5496 MB / 1.279 GB, free: 21.93 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004555/1.574, allocations: 2.39 MB / 1.281 GB, free: 21.8 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/1.574, allocations: 5.859 kB / 1.281 GB, free: 21.8 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.703e-06/1.574, allocations: 0.5625 kB / 1.281 GB, free: 21.8 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.022e-05/1.574, allocations: 0 / 1.281 GB, free: 21.8 MB / 1.014 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.00342/1.577, allocations: 1.382 MB / 1.282 GB, free: 20.97 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/1.577, allocations: 9.594 kB / 1.282 GB, free: 20.97 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003429/1.581, allocations: 0.604 MB / 1.283 GB, free: 20.88 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00219/1.583, allocations: 0.9907 MB / 1.284 GB, free: 20.54 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001273/1.584, allocations: 318.1 kB / 1.284 GB, free: 20.51 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/1.585, allocations: 71.61 kB / 1.284 GB, free: 20.51 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002626/1.587, allocations: 1.153 MB / 1.285 GB, free: 20.38 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/1.587, allocations: 0 / 1.285 GB, free: 20.38 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.443e-05/1.587, allocations: 28.27 kB / 1.285 GB, free: 20.38 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.366e-05/1.587, allocations: 34.59 kB / 1.286 GB, free: 20.38 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003288/1.591, allocations: 1.252 MB / 1.287 GB, free: 20.34 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.006089/1.597, allocations: 3.265 MB / 1.29 GB, free: 19.36 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/1.598, allocations: 0.6977 MB / 1.291 GB, free: 19.32 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007838/1.599, allocations: 438.6 kB / 1.291 GB, free: 19.3 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00096/1.6, allocations: 1.02 MB / 1.292 GB, free: 18.18 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009942/1.601, allocations: 0.5197 MB / 1.293 GB, free: 18.06 MB / 1.014 GB Notification: Performance of pre-optimization done (n=57): time 2.895e-06/1.601, allocations: 0 / 1.293 GB, free: 18.06 MB / 1.014 GB Notification: Performance of matching and sorting (n=57): time 0.003728/1.605, allocations: 1.242 MB / 1.294 GB, free: 17.91 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/1.605, allocations: 143.7 kB / 1.294 GB, free: 17.75 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003016/1.608, allocations: 1.222 MB / 1.295 GB, free: 17.59 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000166/1.608, allocations: 38.67 kB / 1.295 GB, free: 17.56 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000483/1.609, allocations: 435.3 kB / 1.296 GB, free: 17.43 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/1.609, allocations: 191.2 kB / 1.296 GB, free: 17.32 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/1.609, allocations: 52.33 kB / 1.296 GB, free: 17.3 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001859/1.609, allocations: 329.8 kB / 1.296 GB, free: 16.99 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001507/1.611, allocations: 494.8 kB / 1.297 GB, free: 16.97 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001532/1.612, allocations: 0.6424 MB / 1.297 GB, free: 16.82 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002223/1.615, allocations: 0.979 MB / 1.298 GB, free: 16.6 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/1.615, allocations: 1.219 kB / 1.298 GB, free: 16.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004118/1.619, allocations: 1.29 MB / 1.299 GB, free: 16.44 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.979e-05/1.619, allocations: 40.78 kB / 1.299 GB, free: 16.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/1.619, allocations: 3.5 kB / 1.299 GB, free: 16.41 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.844e-05/1.619, allocations: 5.688 kB / 1.299 GB, free: 16.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/1.62, allocations: 215.4 kB / 1.3 GB, free: 16.39 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.958e-05/1.62, allocations: 8.984 kB / 1.3 GB, free: 16.39 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002014/1.622, allocations: 303 kB / 1.3 GB, free: 16.33 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/1.622, allocations: 42.89 kB / 1.3 GB, free: 16.33 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.0008337/1.623, allocations: 325.9 kB / 1.3 GB, free: 16.18 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00033/1.623, allocations: 119.8 kB / 1.3 GB, free: 16.12 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002744/1.626, allocations: 1.012 MB / 1.301 GB, free: 16 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-05/1.626, allocations: 6.469 kB / 1.301 GB, free: 16 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/1.626, allocations: 1 kB / 1.301 GB, free: 16 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/1.626, allocations: 4.109 kB / 1.301 GB, free: 16 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004983/1.631, allocations: 3.166 MB / 1.305 GB, free: 15.22 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/1.631, allocations: 9.656 kB / 1.305 GB, free: 15.22 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000606/1.632, allocations: 129.8 kB / 1.305 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-05/1.632, allocations: 9.406 kB / 1.305 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-05/1.632, allocations: 25.53 kB / 1.305 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.646e-05/1.632, allocations: 15.45 kB / 1.305 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-05/1.632, allocations: 12.53 kB / 1.305 GB, free: 15.21 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002285/1.634, allocations: 1.365 MB / 1.306 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005728/1.635, allocations: 328 kB / 1.306 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/1.635, allocations: 23.75 kB / 1.306 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/1.636, allocations: 127.1 kB / 1.306 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/1.636, allocations: 56.83 kB / 1.307 GB, free: 14.45 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.6e-05/1.636, allocations: 40.58 kB / 1.307 GB, free: 14.45 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001648/1.638, allocations: 0.8949 MB / 1.307 GB, free: 14.32 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.6e-07/1.638, allocations: 0 / 1.307 GB, free: 14.32 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001273/1.639, allocations: 299.9 kB / 1.308 GB, free: 14.3 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.0007129/1.64, allocations: 352.6 kB / 1.308 GB, free: 14.15 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002367/1.642, allocations: 1.053 MB / 1.309 GB, free: 14.06 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.642, allocations: 1.281 kB / 1.309 GB, free: 14.06 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009022/1.643, allocations: 0.5179 MB / 1.31 GB, free: 13.99 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003832/1.647, allocations: 0.5335 MB / 1.31 GB, free: 13.95 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003434/1.651, allocations: 2.376 MB / 1.312 GB, free: 12.75 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006506/1.651, allocations: 1.066 MB / 1.313 GB, free: 12.04 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001178/1.653, allocations: 275.4 kB / 1.314 GB, free: 11.98 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002432/1.653, allocations: 88.81 kB / 1.314 GB, free: 11.96 MB / 1.014 GB Notification: Performance of SimCode: time 8.32e-07/1.653, allocations: 0 / 1.314 GB, free: 11.96 MB / 1.014 GB Notification: Performance of Templates: time 0.03428/1.687, allocations: 21.14 MB / 1.334 GB, free: 5.445 MB / 1.014 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)