Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.001927/0.001927, allocations: 104.3 kB / 19.72 MB, free: 416 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.00219/0.00219, allocations: 213 kB / 23.02 MB, free: 2.953 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.702/1.702, allocations: 230.6 MB / 256.8 MB, free: 9.59 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.425/3.425, allocations: 0.5045 GB / 0.8104 GB, free: 2.812 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.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00385/0.00385, allocations: 66.08 kB / 1.177 GB, free: 15.22 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4119/0.4157, allocations: 180 MB / 1.353 GB, free: 8.68 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2474/0.6631, allocations: 171.9 MB / 1.521 GB, free: 12.15 MB / 1.214 GB Notification: Performance of NFInst.instExpressions: time 0.01344/0.6765, allocations: 6.506 MB / 1.527 GB, free: 5.629 MB / 1.214 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001927/0.6785, allocations: 63.44 kB / 1.527 GB, free: 5.566 MB / 1.214 GB Notification: Performance of NFTyping.typeComponents: time 0.0023/0.6808, allocations: 0.687 MB / 1.528 GB, free: 4.875 MB / 1.214 GB Notification: Performance of NFTyping.typeBindings: time 0.007396/0.6882, allocations: 2.396 MB / 1.53 GB, free: 2.469 MB / 1.214 GB Notification: Performance of NFTyping.typeClassSections: time 0.003884/0.692, allocations: 1.421 MB / 1.532 GB, free: 1.066 MB / 1.214 GB Notification: Performance of NFFlatten.flatten: time 0.005015/0.6971, allocations: 2.919 MB / 1.534 GB, free: 14.14 MB / 1.229 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001301/0.6984, allocations: 0.648 MB / 1.535 GB, free: 13.48 MB / 1.229 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004524/0.7029, allocations: 1.611 MB / 1.537 GB, free: 11.87 MB / 1.229 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001915/0.7048, allocations: 0.7879 MB / 1.537 GB, free: 11.08 MB / 1.229 GB Notification: Performance of NFPackage.collectConstants: time 0.0002334/0.705, allocations: 100 kB / 1.538 GB, free: 10.98 MB / 1.229 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003852/0.7089, allocations: 1.66 MB / 1.539 GB, free: 9.32 MB / 1.229 GB Notification: Performance of NFScalarize.scalarize: time 0.0005103/0.7094, allocations: 378.8 kB / 1.539 GB, free: 8.949 MB / 1.229 GB Notification: Performance of NFVerifyModel.verify: time 0.0007008/0.7101, allocations: 473.7 kB / 1.54 GB, free: 8.484 MB / 1.229 GB Notification: Performance of NFConvertDAE.convert: time 0.004036/0.7141, allocations: 2.332 MB / 1.542 GB, free: 6.145 MB / 1.229 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.7141, allocations: 0 / 1.542 GB, free: 6.145 MB / 1.229 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7141, allocations: 0 / 1.542 GB, free: 6.145 MB / 1.229 GB Notification: Performance of Transformations before backend: time 2.19e-05/0.7142, allocations: 0 / 1.542 GB, free: 6.145 MB / 1.229 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.004191/0.7184, allocations: 1.571 MB / 1.544 GB, free: 4.531 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.7184, allocations: 12.92 kB / 1.544 GB, free: 4.52 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003142/0.7215, allocations: 0.5377 MB / 1.544 GB, free: 3.98 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002534/0.7241, allocations: 0.939 MB / 1.545 GB, free: 3.008 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.553e-05/0.7241, allocations: 53.31 kB / 1.545 GB, free: 2.957 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.7243, allocations: 71.98 kB / 1.545 GB, free: 2.887 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002811/0.7271, allocations: 1.234 MB / 1.547 GB, free: 1.594 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.7271, allocations: 7.875 kB / 1.547 GB, free: 1.586 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.098e-05/0.7272, allocations: 28 kB / 1.547 GB, free: 1.559 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.218e-05/0.7273, allocations: 25.31 kB / 1.547 GB, free: 1.535 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003229/0.7305, allocations: 1.193 MB / 1.548 GB, free: 344 kB / 1.229 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.006427/0.7369, allocations: 2.702 MB / 1.55 GB, free: 13.57 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002076/0.739, allocations: 0.6779 MB / 1.551 GB, free: 12.88 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009102/0.7399, allocations: 431.7 kB / 1.551 GB, free: 12.45 MB / 1.245 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005379/0.7405, allocations: 120.3 kB / 1.552 GB, free: 12.34 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001241/0.7417, allocations: 0.6472 MB / 1.552 GB, free: 11.62 MB / 1.245 GB Notification: Performance of pre-optimization done (n=57): time 2.385e-06/0.7417, allocations: 0 / 1.552 GB, free: 11.62 MB / 1.245 GB Notification: Performance of matching and sorting (n=57): time 0.00342/0.7451, allocations: 1.264 MB / 1.553 GB, free: 10.34 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/0.7453, allocations: 144.8 kB / 1.554 GB, free: 10.17 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001768/0.747, allocations: 0.8681 MB / 1.554 GB, free: 9.289 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.000127/0.7472, allocations: 37.7 kB / 1.554 GB, free: 9.246 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005261/0.7477, allocations: 452.5 kB / 1.555 GB, free: 8.797 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.000249/0.7479, allocations: 202.2 kB / 1.555 GB, free: 8.598 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003351/0.7483, allocations: 150.2 kB / 1.555 GB, free: 8.445 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.0002002/0.7485, allocations: 333.9 kB / 1.556 GB, free: 8.113 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001314/0.7498, allocations: 470.7 kB / 1.556 GB, free: 7.648 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001801/0.7516, allocations: 0.9823 MB / 1.557 GB, free: 6.52 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002322/0.7539, allocations: 0.9254 MB / 1.558 GB, free: 5.543 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/0.7539, allocations: 3.938 kB / 1.558 GB, free: 5.539 MB / 1.245 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003299/0.7572, allocations: 1.215 MB / 1.559 GB, free: 4.297 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 5.553e-05/0.7573, allocations: 37.69 kB / 1.559 GB, free: 4.254 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.7573, allocations: 8.266 kB / 1.559 GB, free: 4.246 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.7573, allocations: 8 kB / 1.559 GB, free: 4.238 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009636/0.7583, allocations: 187.7 kB / 1.559 GB, free: 4.055 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.7583, allocations: 4 kB / 1.559 GB, free: 4.051 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.7597, allocations: 223.4 kB / 1.56 GB, free: 3.832 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.712e-05/0.7598, allocations: 35.97 kB / 1.56 GB, free: 3.797 MB / 1.245 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.0005784/0.7603, allocations: 334.1 kB / 1.56 GB, free: 3.457 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.7605, allocations: 95.39 kB / 1.56 GB, free: 3.363 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002382/0.7629, allocations: 1.001 MB / 1.561 GB, free: 2.355 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/0.7629, allocations: 11.98 kB / 1.561 GB, free: 2.344 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.7629, allocations: 4 kB / 1.561 GB, free: 2.34 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.65e-05/0.763, allocations: 3.938 kB / 1.561 GB, free: 2.336 MB / 1.245 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005376/0.7683, allocations: 2.938 MB / 1.564 GB, free: 15.25 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.7683, allocations: 4 kB / 1.564 GB, free: 15.24 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006346/0.769, allocations: 119.8 kB / 1.564 GB, free: 15.12 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.668e-05/0.769, allocations: 12 kB / 1.564 GB, free: 15.11 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.276e-05/0.7691, allocations: 27.98 kB / 1.564 GB, free: 15.09 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.577e-05/0.7691, allocations: 19.97 kB / 1.564 GB, free: 15.07 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.21e-05/0.7691, allocations: 11.94 kB / 1.564 GB, free: 15.05 MB / 1.26 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002753/0.7718, allocations: 1.359 MB / 1.565 GB, free: 13.57 MB / 1.26 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000531/0.7724, allocations: 223 kB / 1.566 GB, free: 13.36 MB / 1.26 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.7725, allocations: 28 kB / 1.566 GB, free: 13.33 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.7736, allocations: 99.89 kB / 1.566 GB, free: 13.23 MB / 1.26 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.7737, allocations: 59.75 kB / 1.566 GB, free: 13.17 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.969e-05/0.7738, allocations: 43.97 kB / 1.566 GB, free: 13.13 MB / 1.26 GB Notification: Performance of sorting global known variables: time 0.001332/0.7751, allocations: 0.6239 MB / 1.566 GB, free: 12.51 MB / 1.26 GB Notification: Performance of sort global known variables: time 1e-07/0.7751, allocations: 3.938 kB / 1.566 GB, free: 12.5 MB / 1.26 GB Notification: Performance of remove unused functions: time 0.001228/0.7764, allocations: 327.3 kB / 1.567 GB, free: 12.18 MB / 1.26 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.0006695/0.777, allocations: 334.4 kB / 1.567 GB, free: 11.86 MB / 1.26 GB Notification: Performance of simCode: created initialization part: time 0.002624/0.7796, allocations: 1.032 MB / 1.568 GB, free: 10.8 MB / 1.26 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.7797, allocations: 4 kB / 1.568 GB, free: 10.79 MB / 1.26 GB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.7807, allocations: 0.5135 MB / 1.569 GB, free: 10.27 MB / 1.26 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/0.7825, allocations: 327 kB / 1.569 GB, free: 9.953 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004188/0.7867, allocations: 2.021 MB / 1.571 GB, free: 7.789 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006456/0.7873, allocations: 481.2 kB / 1.571 GB, free: 7.289 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.0009291/0.7883, allocations: 239.6 kB / 1.571 GB, free: 7.059 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004813/0.7887, allocations: 71.41 kB / 1.572 GB, free: 6.988 MB / 1.26 GB Notification: Performance of SimCode: time 1.072e-06/0.7888, allocations: 0 / 1.572 GB, free: 6.988 MB / 1.26 GB Notification: Performance of Templates: time 0.03731/0.8261, allocations: 18.57 MB / 1.59 GB, free: 4.742 MB / 1.276 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 11.25078828819096]