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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(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.0009376/0.0009379, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.005599/0.005599, allocations: 170.3 kB / 16.26 MB, free: 6.613 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.33/1.33, 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-master/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-master/package.mo): time 1.016/1.016, allocations: 143.4 MB / 434.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003147/0.0003147, allocations: 11.98 kB / 0.5166 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1737, allocations: 83.41 MB / 0.5981 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ConservationEquation): time 0.3735/0.5472, allocations: 20.15 MB / 0.6178 GB, free: 32.58 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006709/0.554, allocations: 5.385 MB / 0.623 GB, free: 30.05 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007277/0.5547, allocations: 22.91 kB / 0.623 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000785/0.5555, allocations: 278.6 kB / 0.6233 GB, free: 29.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001934/0.5575, allocations: 0.8629 MB / 0.6242 GB, free: 29.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002045/0.5595, allocations: 0.8093 MB / 0.6249 GB, free: 29.16 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002107/0.5617, allocations: 2.298 MB / 0.6272 GB, free: 28.35 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005868/0.5623, allocations: 435.1 kB / 0.6276 GB, free: 28.18 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009439/0.5632, allocations: 0.6091 MB / 0.6282 GB, free: 27.93 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005716/0.5638, allocations: 495 kB / 0.6287 GB, free: 27.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.5e-05/0.5639, allocations: 21.41 kB / 0.6287 GB, free: 27.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001884/0.5658, allocations: 1.089 MB / 0.6298 GB, free: 27.39 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.5659, allocations: 131.4 kB / 0.6299 GB, free: 27.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002499/0.5662, allocations: 327.1 kB / 0.6302 GB, free: 27.12 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001393/0.5676, allocations: 1.211 MB / 0.6314 GB, free: 26.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.5676, allocations: 4 kB / 0.6314 GB, free: 26.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.186e-06/0.5676, allocations: 0 / 0.6314 GB, free: 26.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.5676, allocations: 3.938 kB / 0.6314 GB, free: 26.74 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.001408/0.569, allocations: 0.9165 MB / 0.6323 GB, free: 26.02 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.5691, allocations: 8.594 kB / 0.6323 GB, free: 26.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008579/0.5699, allocations: 201.7 kB / 0.6325 GB, free: 25.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008885/0.5708, allocations: 0.5627 MB / 0.633 GB, free: 25.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003266/0.5712, allocations: 97.69 kB / 0.6331 GB, free: 25.57 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.965e-05/0.5712, allocations: 38.12 kB / 0.6332 GB, free: 25.56 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008895/0.5721, allocations: 0.5016 MB / 0.6336 GB, free: 25.35 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.5722, allocations: 4 kB / 0.6337 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.287e-05/0.5722, allocations: 11.06 kB / 0.6337 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.521e-05/0.5722, allocations: 11.41 kB / 0.6337 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009117/0.5732, allocations: 428.7 kB / 0.6341 GB, free: 25.22 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.002463/0.5756, allocations: 2.305 MB / 0.6363 GB, free: 23.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.5767, allocations: 395 kB / 0.6367 GB, free: 23.3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004815/0.5772, allocations: 237.2 kB / 0.6369 GB, free: 23.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002531/0.5774, allocations: 348.1 kB / 0.6373 GB, free: 22.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005845/0.578, allocations: 306.3 kB / 0.6376 GB, free: 22.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.354e-06/0.578, allocations: 3.938 kB / 0.6376 GB, free: 22.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002219/0.5802, allocations: 0.8874 MB / 0.6384 GB, free: 22.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.5803, allocations: 86.92 kB / 0.6385 GB, free: 22.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004334/0.5807, allocations: 497.2 kB / 0.639 GB, free: 22 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/0.5808, allocations: 35.58 kB / 0.639 GB, free: 21.97 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.5809, allocations: 277.4 kB / 0.6393 GB, free: 21.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.078e-05/0.581, allocations: 117 kB / 0.6394 GB, free: 21.65 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/0.5811, allocations: 30.91 kB / 0.6394 GB, free: 21.63 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.235e-05/0.5812, allocations: 366.6 kB / 0.6398 GB, free: 21.29 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004295/0.5816, allocations: 181.7 kB / 0.6399 GB, free: 21.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004732/0.5821, allocations: 277 kB / 0.6402 GB, free: 21.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009219/0.583, allocations: 488.2 kB / 0.6407 GB, free: 20.85 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.583, allocations: 3.969 kB / 0.6407 GB, free: 20.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001299/0.5843, allocations: 0.6376 MB / 0.6413 GB, free: 20.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.303e-05/0.5844, allocations: 173.7 kB / 0.6415 GB, free: 20.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.5844, allocations: 3.25 kB / 0.6415 GB, free: 20.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000337/0.5848, allocations: 72.22 kB / 0.6415 GB, free: 20.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003434/0.5851, allocations: 81.55 kB / 0.6416 GB, free: 20.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003307/0.5855, allocations: 0.5994 MB / 0.6422 GB, free: 19.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005453/0.586, allocations: 75.94 kB / 0.6423 GB, free: 19.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/0.5861, allocations: 21.86 kB / 0.6423 GB, free: 19.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.771e-06/0.5861, allocations: 6.094 kB / 0.6423 GB, free: 19.79 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001145/0.5872, allocations: 0.562 MB / 0.6429 GB, free: 19.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-06/0.5873, allocations: 3.938 kB / 0.6429 GB, free: 19.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001269/0.5874, allocations: 51.77 kB / 0.6429 GB, free: 19.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003311/0.5877, allocations: 81.08 kB / 0.643 GB, free: 19.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001104/0.5888, allocations: 1.641 MB / 0.6446 GB, free: 18.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004894/0.5893, allocations: 78.81 kB / 0.6447 GB, free: 17.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.5894, allocations: 20.36 kB / 0.6447 GB, free: 17.98 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.000267/0.5897, allocations: 299.3 kB / 0.645 GB, free: 17.72 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.991e-05/0.5897, allocations: 57.31 kB / 0.645 GB, free: 17.69 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/0.5911, allocations: 0.6598 MB / 0.6457 GB, free: 17.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.5911, allocations: 11.97 kB / 0.6457 GB, free: 17.42 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-06/0.5911, allocations: 0 / 0.6457 GB, free: 17.42 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001174/0.5923, allocations: 0.8215 MB / 0.6465 GB, free: 16.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/0.5943, allocations: 1.336 MB / 0.6478 GB, free: 16.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.5943, allocations: 0.75 kB / 0.6478 GB, free: 16.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003447/0.5946, allocations: 71.84 kB / 0.6479 GB, free: 16.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000124/0.5948, allocations: 46 kB / 0.6479 GB, free: 16.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/0.5948, allocations: 13.89 kB / 0.6479 GB, free: 16.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002598/0.5951, allocations: 0.5714 MB / 0.6485 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.5951, allocations: 5.969 kB / 0.6485 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.597, allocations: 1.003 MB / 0.6495 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001996/0.5972, allocations: 187.4 kB / 0.6496 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.041e-05/0.5973, allocations: 9.375 kB / 0.6496 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005645/0.5978, allocations: 65.31 kB / 0.6497 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.552e-05/0.5979, allocations: 33.84 kB / 0.6497 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-05/0.598, allocations: 19.47 kB / 0.6498 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003647/0.5983, allocations: 346.3 kB / 0.6501 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5983, allocations: 0 / 0.6501 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001135/0.5995, allocations: 334.6 kB / 0.6504 GB, free: 14.73 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.0006505/0.6001, allocations: 317.4 kB / 0.6507 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002064/0.6022, allocations: 0.9966 MB / 0.6517 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.6022, allocations: 1.062 kB / 0.6517 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006008/0.6028, allocations: 339.9 kB / 0.652 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.6043, allocations: 246.6 kB / 0.6522 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.6064, allocations: 1.383 MB / 0.6536 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.6067, allocations: 0.8784 MB / 0.6544 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005289/0.6073, allocations: 125.6 kB / 0.6546 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.6074, allocations: 53.98 kB / 0.6546 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of SimCode: time 6.01e-07/0.6074, allocations: 4 kB / 0.6546 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of Templates: time 0.02177/0.6292, allocations: 11.14 MB / 0.6655 GB, free: 11.36 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)