Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001031/0.001031, 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.001066/0.001066, allocations: 192.3 kB / 16.13 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.504/1.504, allocations: 251.7 MB / 0.5088 GB, free: 3.383 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 71.89 kB / 0.6216 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.422/0.4233, allocations: 104.7 MB / 0.7238 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5735/0.9968, allocations: 191.9 MB / 0.9112 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009726/1.007, allocations: 7.059 MB / 0.9181 GB, free: 2 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00202/1.009, allocations: 42.22 kB / 0.9181 GB, free: 2 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002427/1.011, allocations: 0.5684 MB / 0.9187 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006865/1.018, allocations: 2.192 MB / 0.9208 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003708/1.022, allocations: 1.287 MB / 0.9221 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005421/1.027, allocations: 3.7 MB / 0.9257 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/1.029, allocations: 0.771 MB / 0.9264 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002083/1.031, allocations: 0.9446 MB / 0.9274 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001956/1.033, allocations: 0.8755 MB / 0.9282 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001748/1.033, allocations: 48.47 kB / 0.9283 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004044/1.037, allocations: 2.226 MB / 0.9304 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003583/1.037, allocations: 321.6 kB / 0.9307 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007085/1.038, allocations: 0.5418 MB / 0.9313 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003652/1.042, allocations: 2.449 MB / 0.9337 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/1.042, allocations: 0 / 0.9337 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.91e-07/1.042, allocations: 0 / 0.9337 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.464e-05/1.042, allocations: 2.969 kB / 0.9337 GB, free: 1.551 MB / 0.7169 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.003512/1.045, allocations: 1.653 MB / 0.9353 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/1.045, allocations: 9.156 kB / 0.9353 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002891/1.048, allocations: 0.5448 MB / 0.9358 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001787/1.05, allocations: 0.9894 MB / 0.9368 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001127/1.051, allocations: 272.1 kB / 0.937 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/1.051, allocations: 70.45 kB / 0.9371 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002286/1.054, allocations: 1.149 MB / 0.9382 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/1.054, allocations: 0 / 0.9382 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.79e-05/1.054, allocations: 28.31 kB / 0.9383 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.349e-05/1.054, allocations: 43.91 kB / 0.9383 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002979/1.057, allocations: 1.275 MB / 0.9395 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004882/1.062, allocations: 3.024 MB / 0.9425 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/1.063, allocations: 0.7265 MB / 0.9432 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007201/1.064, allocations: 440.7 kB / 0.9436 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008467/1.065, allocations: 1.027 MB / 0.9446 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009155/1.066, allocations: 0.5302 MB / 0.9451 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=59): time 2.625e-06/1.066, allocations: 0 / 0.9451 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of matching and sorting (n=59): time 0.002698/1.069, allocations: 1.274 MB / 0.9464 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/1.069, allocations: 115.4 kB / 0.9465 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/1.07, allocations: 1.198 MB / 0.9477 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.55e-05/1.07, allocations: 41.02 kB / 0.9477 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/1.071, allocations: 425.9 kB / 0.9481 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001881/1.071, allocations: 199.1 kB / 0.9483 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002585/1.071, allocations: 151.5 kB / 0.9484 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001177/1.071, allocations: 331.6 kB / 0.9488 GB, free: 13 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/1.072, allocations: 474.4 kB / 0.9492 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/1.074, allocations: 0.621 MB / 0.9498 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001915/1.076, allocations: 0.961 MB / 0.9508 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/1.076, allocations: 2.125 kB / 0.9508 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002977/1.079, allocations: 1.26 MB / 0.952 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.122e-05/1.079, allocations: 43.17 kB / 0.952 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/1.079, allocations: 2.562 kB / 0.952 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/1.079, allocations: 5.516 kB / 0.952 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009176/1.08, allocations: 203.1 kB / 0.9522 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/1.08, allocations: 7.969 kB / 0.9522 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/1.081, allocations: 281.9 kB / 0.9525 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-05/1.081, allocations: 33.16 kB / 0.9525 GB, free: 12.4 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (69): * Single equations (assignments): 68 * 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.0004775/1.082, allocations: 338.2 kB / 0.9529 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/1.082, allocations: 114.4 kB / 0.953 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00193/1.084, allocations: 1.048 MB / 0.954 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/1.084, allocations: 14.58 kB / 0.954 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.084, allocations: 3.594 kB / 0.954 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/1.084, allocations: 7.266 kB / 0.954 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004172/1.088, allocations: 3.214 MB / 0.9572 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/1.088, allocations: 9.688 kB / 0.9572 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005764/1.089, allocations: 126.1 kB / 0.9573 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/1.089, allocations: 11.16 kB / 0.9573 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.258e-05/1.089, allocations: 26.3 kB / 0.9573 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.325e-06/1.089, allocations: 14.31 kB / 0.9573 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.85e-06/1.089, allocations: 11 kB / 0.9574 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/1.091, allocations: 1.315 MB / 0.9586 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004221/1.091, allocations: 338.4 kB / 0.959 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/1.091, allocations: 26.41 kB / 0.959 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/1.093, allocations: 111.1 kB / 0.9591 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/1.093, allocations: 61.2 kB / 0.9591 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.572e-05/1.093, allocations: 46.75 kB / 0.9592 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001389/1.094, allocations: 0.8659 MB / 0.96 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.61e-07/1.094, allocations: 0 / 0.96 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00111/1.095, allocations: 307.2 kB / 0.9603 GB, free: 10.49 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 (58): * Single equations (assignments): 53 * 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.0006724/1.096, allocations: 352.7 kB / 0.9607 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002183/1.098, allocations: 1.055 MB / 0.9617 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/1.098, allocations: 2.812 kB / 0.9617 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009323/1.099, allocations: 0.5313 MB / 0.9622 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002485/1.102, allocations: 0.5317 MB / 0.9627 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003877/1.105, allocations: 2.356 MB / 0.965 GB, free: 8.965 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005382/1.106, allocations: 1.073 MB / 0.9661 GB, free: 8.25 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001124/1.107, allocations: 286.6 kB / 0.9664 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002559/1.107, allocations: 82.95 kB / 0.9664 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of SimCode: time 3.4e-07/1.107, allocations: 2.594 kB / 0.9664 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of Templates: time 0.03119/1.139, allocations: 21.5 MB / 0.9874 GB, free: 12.22 MB / 0.7481 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)