Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009981/0.0009981, allocations: 91.84 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.005469/0.005469, allocations: 169.8 kB / 16.26 MB, free: 6.68 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.339/1.339, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.043/1.043, allocations: 143.2 MB / 434.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003567, allocations: 8 kB / 0.5164 GB, free: 11.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1556, allocations: 83.41 MB / 0.5978 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation): time 0.2987/0.4544, allocations: 20.13 MB / 0.6175 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00648/0.4609, allocations: 5.402 MB / 0.6228 GB, free: 29.87 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008/0.4617, allocations: 19.16 kB / 0.6228 GB, free: 29.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000812/0.4625, allocations: 281.2 kB / 0.6231 GB, free: 29.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002325/0.4649, allocations: 0.8649 MB / 0.6239 GB, free: 29.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00221/0.4671, allocations: 0.8136 MB / 0.6247 GB, free: 29.23 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002345/0.4695, allocations: 2.297 MB / 0.6269 GB, free: 28.59 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006473/0.4701, allocations: 433.8 kB / 0.6274 GB, free: 28.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.4712, allocations: 0.606 MB / 0.6279 GB, free: 28.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000548/0.4717, allocations: 494.1 kB / 0.6284 GB, free: 27.99 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.705e-05/0.4718, allocations: 27 kB / 0.6284 GB, free: 27.98 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/0.4735, allocations: 1.089 MB / 0.6295 GB, free: 27.64 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.4736, allocations: 123.5 kB / 0.6296 GB, free: 27.58 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002762/0.4739, allocations: 330.9 kB / 0.6299 GB, free: 27.38 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.4753, allocations: 1.206 MB / 0.6311 GB, free: 27.01 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4753, allocations: 0 / 0.6311 GB, free: 27.01 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4753, allocations: 0 / 0.6311 GB, free: 27.01 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.4753, allocations: 0 / 0.6311 GB, free: 27.01 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001349/0.4767, allocations: 0.9362 MB / 0.632 GB, free: 26.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.4767, allocations: 8.625 kB / 0.632 GB, free: 26.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008507/0.4776, allocations: 197.7 kB / 0.6322 GB, free: 26.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009509/0.4786, allocations: 0.5569 MB / 0.6328 GB, free: 25.85 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003228/0.4789, allocations: 92.36 kB / 0.6329 GB, free: 25.83 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.976e-05/0.479, allocations: 38 kB / 0.6329 GB, free: 25.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008787/0.4799, allocations: 0.5124 MB / 0.6334 GB, free: 25.6 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.4799, allocations: 0 / 0.6334 GB, free: 25.6 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.661e-05/0.48, allocations: 14.12 kB / 0.6334 GB, free: 25.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/0.48, allocations: 11.81 kB / 0.6334 GB, free: 25.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009085/0.4809, allocations: 430.2 kB / 0.6338 GB, free: 25.47 MB / 0.4981 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.002446/0.4834, allocations: 2.303 MB / 0.6361 GB, free: 23.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009306/0.4843, allocations: 392.5 kB / 0.6365 GB, free: 23.56 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004412/0.4847, allocations: 234.4 kB / 0.6367 GB, free: 23.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002306/0.485, allocations: 341.1 kB / 0.637 GB, free: 23.1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005666/0.4856, allocations: 319.7 kB / 0.6373 GB, free: 22.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.555e-06/0.4856, allocations: 3.938 kB / 0.6373 GB, free: 22.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.00212/0.4877, allocations: 0.8911 MB / 0.6382 GB, free: 22.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.4877, allocations: 84.14 kB / 0.6383 GB, free: 22.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004921/0.4882, allocations: 494.8 kB / 0.6387 GB, free: 22.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.4883, allocations: 34.67 kB / 0.6388 GB, free: 22.22 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.4885, allocations: 275.2 kB / 0.639 GB, free: 22 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.65e-05/0.4886, allocations: 117 kB / 0.6391 GB, free: 21.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.892e-05/0.4886, allocations: 35.19 kB / 0.6392 GB, free: 21.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.104e-05/0.4887, allocations: 364.6 kB / 0.6395 GB, free: 21.55 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004262/0.4892, allocations: 184.2 kB / 0.6397 GB, free: 21.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004839/0.4896, allocations: 274.5 kB / 0.64 GB, free: 21.35 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008737/0.4905, allocations: 491.4 kB / 0.6404 GB, free: 21.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.4905, allocations: 2.969 kB / 0.6404 GB, free: 21.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001382/0.4919, allocations: 0.6384 MB / 0.6411 GB, free: 20.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001096/0.4921, allocations: 174 kB / 0.6412 GB, free: 20.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.4921, allocations: 0 / 0.6412 GB, free: 20.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003771/0.4925, allocations: 71.05 kB / 0.6413 GB, free: 20.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/0.4928, allocations: 79.59 kB / 0.6414 GB, free: 20.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000409/0.4932, allocations: 0.5997 MB / 0.642 GB, free: 20.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006255/0.4939, allocations: 79.56 kB / 0.642 GB, free: 20.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.707e-05/0.4939, allocations: 18.89 kB / 0.642 GB, free: 20.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.494, allocations: 5.844 kB / 0.6421 GB, free: 20.04 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001113/0.4951, allocations: 0.5615 MB / 0.6426 GB, free: 19.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.4951, allocations: 2.531 kB / 0.6426 GB, free: 19.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001258/0.4952, allocations: 45.12 kB / 0.6426 GB, free: 19.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/0.4955, allocations: 88.67 kB / 0.6427 GB, free: 19.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001099/0.4967, allocations: 1.642 MB / 0.6443 GB, free: 18.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004881/0.4972, allocations: 76.31 kB / 0.6444 GB, free: 18.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/0.4972, allocations: 14.06 kB / 0.6444 GB, free: 18.24 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000389/0.4976, allocations: 305.4 kB / 0.6447 GB, free: 17.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.881e-05/0.4977, allocations: 61.56 kB / 0.6448 GB, free: 17.95 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/0.4992, allocations: 0.6705 MB / 0.6454 GB, free: 17.67 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.4992, allocations: 6.969 kB / 0.6454 GB, free: 17.67 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.4992, allocations: 0 / 0.6454 GB, free: 17.67 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001272/0.5005, allocations: 0.8104 MB / 0.6462 GB, free: 17.15 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002068/0.5026, allocations: 1.339 MB / 0.6475 GB, free: 16.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.5026, allocations: 4.031 kB / 0.6475 GB, free: 16.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003482/0.5029, allocations: 67.41 kB / 0.6476 GB, free: 16.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001316/0.5031, allocations: 53.83 kB / 0.6477 GB, free: 16.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/0.5031, allocations: 13.03 kB / 0.6477 GB, free: 16.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000248/0.5034, allocations: 0.5721 MB / 0.6482 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5034, allocations: 5.312 kB / 0.6482 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001974/0.5054, allocations: 1.002 MB / 0.6492 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002612/0.5057, allocations: 189.8 kB / 0.6494 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.076e-05/0.5057, allocations: 8.781 kB / 0.6494 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000545/0.5063, allocations: 68.09 kB / 0.6495 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.008e-05/0.5064, allocations: 29.19 kB / 0.6495 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-05/0.5064, allocations: 23.69 kB / 0.6495 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003757/0.5068, allocations: 340.6 kB / 0.6498 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5068, allocations: 0.5625 kB / 0.6498 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001116/0.5079, allocations: 342 kB / 0.6502 GB, free: 14.97 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * 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 (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006415/0.5086, allocations: 303.5 kB / 0.6505 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002033/0.5106, allocations: 0.9973 MB / 0.6514 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.5106, allocations: 1.031 kB / 0.6514 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006068/0.5112, allocations: 336 kB / 0.6517 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/0.5128, allocations: 251.5 kB / 0.652 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.5148, allocations: 1.394 MB / 0.6533 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.5151, allocations: 0.8773 MB / 0.6542 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005284/0.5157, allocations: 123.6 kB / 0.6543 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.5158, allocations: 50.12 kB / 0.6544 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of SimCode: time 8.61e-07/0.5158, allocations: 1.25 kB / 0.6544 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.02129/0.5371, allocations: 11.15 MB / 0.6653 GB, free: 11.6 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)