Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002519/0.002519, allocations: 100.3 kB / 19.72 MB, free: 424 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003026/0.003026, allocations: 220.2 kB / 23.02 MB, free: 2.965 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.672/1.672, allocations: 230.6 MB / 256.8 MB, free: 9.633 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.606/3.606, allocations: 0.5045 GB / 0.8104 GB, free: 2.816 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Interfaces.Examples.ConservationEquation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003571/0.003571, allocations: 71.88 kB / 1.177 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9237/0.9272, allocations: 180 MB / 1.353 GB, free: 1.652 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.02673/0.954, allocations: 19.4 MB / 1.372 GB, free: 14.17 MB / 1.057 GB Notification: Performance of NFInst.instExpressions: time 0.009488/0.9635, allocations: 4.956 MB / 1.377 GB, free: 9.203 MB / 1.057 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008719/0.9643, allocations: 35.69 kB / 1.377 GB, free: 9.168 MB / 1.057 GB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.9655, allocations: 341.8 kB / 1.377 GB, free: 8.832 MB / 1.057 GB Notification: Performance of NFTyping.typeBindings: time 0.002861/0.9683, allocations: 0.9758 MB / 1.378 GB, free: 7.852 MB / 1.057 GB Notification: Performance of NFTyping.typeClassSections: time 0.002792/0.9711, allocations: 0.9505 MB / 1.379 GB, free: 6.91 MB / 1.057 GB Notification: Performance of NFFlatten.flatten: time 0.003186/0.9743, allocations: 1.731 MB / 1.381 GB, free: 5.176 MB / 1.057 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009805/0.9753, allocations: 406.2 kB / 1.381 GB, free: 4.762 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002606/0.9779, allocations: 0.7833 MB / 1.382 GB, free: 3.98 MB / 1.057 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.979, allocations: 493.8 kB / 1.382 GB, free: 3.496 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.9792, allocations: 40 kB / 1.382 GB, free: 3.457 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002179/0.9814, allocations: 0.9202 MB / 1.383 GB, free: 2.535 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.000284/0.9817, allocations: 151.3 kB / 1.383 GB, free: 2.387 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.0006853/0.9823, allocations: 270.7 kB / 1.384 GB, free: 2.121 MB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.003007/0.9853, allocations: 1.207 MB / 1.385 GB, free: 0.9102 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.9854, allocations: 0 / 1.385 GB, free: 0.9102 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9854, allocations: 4 kB / 1.385 GB, free: 0.9062 MB / 1.057 GB Notification: Performance of Transformations before backend: time 2.807e-05/0.9854, allocations: 0 / 1.385 GB, free: 0.9062 MB / 1.057 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.002615/0.988, allocations: 0.9997 MB / 1.386 GB, free: 15.87 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.988, allocations: 8.031 kB / 1.386 GB, free: 15.86 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.9891, allocations: 180.3 kB / 1.386 GB, free: 15.68 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/0.9906, allocations: 0.5364 MB / 1.386 GB, free: 15.12 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.213e-05/0.9906, allocations: 29 kB / 1.386 GB, free: 15.1 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-05/0.9907, allocations: 39.95 kB / 1.387 GB, free: 15.06 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.992, allocations: 0.6137 MB / 1.387 GB, free: 14.39 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.992, allocations: 3.938 kB / 1.387 GB, free: 14.39 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.422e-05/0.9921, allocations: 16 kB / 1.387 GB, free: 14.37 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.839e-05/0.9921, allocations: 15.98 kB / 1.387 GB, free: 14.36 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.9932, allocations: 436.3 kB / 1.388 GB, free: 13.93 MB / 1.073 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.003205/0.9964, allocations: 1.474 MB / 1.389 GB, free: 12.4 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.9976, allocations: 372.7 kB / 1.389 GB, free: 12.02 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005675/0.9982, allocations: 227.2 kB / 1.39 GB, free: 11.79 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002151/0.9984, allocations: 40.2 kB / 1.39 GB, free: 11.75 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008963/0.9993, allocations: 438.9 kB / 1.39 GB, free: 11.27 MB / 1.073 GB Notification: Performance of pre-optimization done (n=33): time 3.196e-06/0.9993, allocations: 0 / 1.39 GB, free: 11.27 MB / 1.073 GB Notification: Performance of matching and sorting (n=33): time 0.002688/1.002, allocations: 0.8385 MB / 1.391 GB, free: 10.41 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.329e-05/1.002, allocations: 85.11 kB / 1.391 GB, free: 10.31 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007531/1.003, allocations: 466.1 kB / 1.391 GB, free: 9.84 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 7.103e-05/1.003, allocations: 37.64 kB / 1.391 GB, free: 9.797 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003221/1.003, allocations: 284.6 kB / 1.392 GB, free: 9.516 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/1.003, allocations: 119 kB / 1.392 GB, free: 9.398 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/1.004, allocations: 77.39 kB / 1.392 GB, free: 9.316 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0002489/1.004, allocations: 358.8 kB / 1.392 GB, free: 8.957 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005158/1.004, allocations: 210.4 kB / 1.392 GB, free: 8.742 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009087/1.005, allocations: 482.6 kB / 1.393 GB, free: 8.188 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/1.006, allocations: 467.1 kB / 1.393 GB, free: 7.699 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/1.006, allocations: 0 / 1.393 GB, free: 7.699 MB / 1.073 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001673/1.008, allocations: 0.6494 MB / 1.394 GB, free: 7.027 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 6.38e-05/1.008, allocations: 41.69 kB / 1.394 GB, free: 6.98 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/1.008, allocations: 160 / 1.394 GB, free: 6.98 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003788/1.008, allocations: 72.8 kB / 1.394 GB, free: 6.906 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004058/1.009, allocations: 83.88 kB / 1.394 GB, free: 6.824 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006112/1.009, allocations: 0.5991 MB / 1.395 GB, free: 6.199 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005116/1.01, allocations: 47.84 kB / 1.395 GB, free: 6.152 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.064e-05/1.01, allocations: 16 kB / 1.395 GB, free: 6.137 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007039/1.011, allocations: 348.2 kB / 1.395 GB, free: 5.789 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007155/1.011, allocations: 470.9 kB / 1.396 GB, free: 5.246 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001071/1.012, allocations: 461 kB / 1.396 GB, free: 4.762 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.404e-06/1.012, allocations: 80 / 1.396 GB, free: 4.762 MB / 1.073 GB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.001536/1.014, allocations: 0.6301 MB / 1.397 GB, free: 4.109 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 5.233e-05/1.014, allocations: 41.69 kB / 1.397 GB, free: 4.062 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.014, allocations: 4 kB / 1.397 GB, free: 4.059 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001844/1.014, allocations: 44.83 kB / 1.397 GB, free: 4.012 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003957/1.015, allocations: 80.03 kB / 1.397 GB, free: 3.934 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001958/1.017, allocations: 1.61 MB / 1.398 GB, free: 2.227 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004913/1.017, allocations: 67.72 kB / 1.398 GB, free: 2.16 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.353e-05/1.017, allocations: 16.19 kB / 1.398 GB, free: 2.145 MB / 1.073 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.0002748/1.017, allocations: 242 kB / 1.399 GB, free: 1.895 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/1.018, allocations: 55.67 kB / 1.399 GB, free: 1.84 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001646/1.019, allocations: 0.6756 MB / 1.399 GB, free: 1.141 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/1.019, allocations: 7.984 kB / 1.399 GB, free: 1.133 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/1.019, allocations: 4 kB / 1.399 GB, free: 1.129 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001664/1.021, allocations: 0.8198 MB / 1.4 GB, free: 232 kB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002586/1.023, allocations: 1.205 MB / 1.401 GB, free: 14.96 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/1.023, allocations: 0 / 1.401 GB, free: 14.96 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003695/1.024, allocations: 71.97 kB / 1.401 GB, free: 14.89 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001442/1.024, allocations: 40.84 kB / 1.401 GB, free: 14.85 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.701e-05/1.024, allocations: 11.98 kB / 1.401 GB, free: 14.84 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004994/1.024, allocations: 0.568 MB / 1.402 GB, free: 14.24 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.974e-06/1.025, allocations: 7.875 kB / 1.402 GB, free: 14.23 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002177/1.027, allocations: 1.046 MB / 1.403 GB, free: 13.14 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002707/1.027, allocations: 107.5 kB / 1.403 GB, free: 13.04 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.765e-05/1.027, allocations: 8 kB / 1.403 GB, free: 13.03 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005172/1.028, allocations: 36.02 kB / 1.403 GB, free: 12.99 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.681e-05/1.028, allocations: 23.97 kB / 1.403 GB, free: 12.97 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-05/1.028, allocations: 27.92 kB / 1.403 GB, free: 12.94 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.0004782/1.028, allocations: 322.9 kB / 1.404 GB, free: 12.63 MB / 1.089 GB Notification: Performance of sort global known variables: time 1e-07/1.028, allocations: 0 / 1.404 GB, free: 12.63 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.001248/1.029, allocations: 351.2 kB / 1.404 GB, free: 12.29 MB / 1.089 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.0006897/1.03, allocations: 282.3 kB / 1.404 GB, free: 12 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.002425/1.033, allocations: 0.9835 MB / 1.405 GB, free: 10.96 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/1.033, allocations: 3.938 kB / 1.405 GB, free: 10.96 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.0007443/1.033, allocations: 314.1 kB / 1.405 GB, free: 10.63 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/1.034, allocations: 199.9 kB / 1.406 GB, free: 10.44 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002857/1.037, allocations: 1.166 MB / 1.407 GB, free: 9.227 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/1.038, allocations: 287.3 kB / 1.407 GB, free: 8.918 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0004987/1.038, allocations: 120.1 kB / 1.407 GB, free: 8.797 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/1.038, allocations: 47.41 kB / 1.407 GB, free: 8.75 MB / 1.089 GB Notification: Performance of SimCode: time 8.52e-07/1.038, allocations: 0 / 1.407 GB, free: 8.75 MB / 1.089 GB Notification: Performance of Templates: time 0.02659/1.065, allocations: 11.93 MB / 1.419 GB, free: 13.01 MB / 1.104 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_13_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_13_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_13_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 11.147903066128492]