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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.342/1.342, allocations: 251.5 MB / 267.4 MB, free: 11.12 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009607/0.0009608, allocations: 178.2 kB / 326.5 MB, free: 2.711 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205 MB / 0.5766 GB, free: 21.04 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007529/0.0007529, allocations: 89.17 kB / 0.6803 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003107/0.0003108, allocations: 9.312 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1622, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.561/0.7233, allocations: 191.6 MB / 1.084 GB, free: 1.578 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01182/0.7352, allocations: 7.066 MB / 1.091 GB, free: 1.352 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002364/0.7376, allocations: 41.56 kB / 1.091 GB, free: 1.352 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001811/0.7394, allocations: 0.5631 MB / 1.091 GB, free: 1.344 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007233/0.7467, allocations: 2.19 MB / 1.093 GB, free: 1.238 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003848/0.7505, allocations: 1.285 MB / 1.095 GB, free: 1.188 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005627/0.7562, allocations: 3.696 MB / 1.098 GB, free: 1.168 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001436/0.7576, allocations: 0.7577 MB / 1.099 GB, free: 1.059 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002035/0.7597, allocations: 0.9513 MB / 1.1 GB, free: 1.051 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002675/0.7624, allocations: 0.8561 MB / 1.101 GB, free: 1.039 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002062/0.7626, allocations: 44.19 kB / 1.101 GB, free: 1.039 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004632/0.7672, allocations: 2.225 MB / 1.103 GB, free: 1.016 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003607/0.7676, allocations: 311.1 kB / 1.103 GB, free: 1.012 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008005/0.7684, allocations: 0.5238 MB / 1.104 GB, free: 1.012 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00301/0.7714, allocations: 1.752 MB / 1.106 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.7715, allocations: 3.625 kB / 1.106 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.248e-06/0.7715, allocations: 6.453 kB / 1.106 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.611e-05/0.7715, allocations: 0 / 1.106 GB, free: 0.8945 MB / 0.698 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.003224/0.7747, allocations: 1.409 MB / 1.107 GB, free: 16.06 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.7748, allocations: 10.72 kB / 1.107 GB, free: 16.06 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002889/0.7777, allocations: 0.6062 MB / 1.108 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002054/0.7797, allocations: 0.9941 MB / 1.108 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001242/0.781, allocations: 323.9 kB / 1.109 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.7811, allocations: 68.16 kB / 1.109 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002531/0.7837, allocations: 1.173 MB / 1.11 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.7837, allocations: 0 / 1.11 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.665e-05/0.7838, allocations: 28.38 kB / 1.11 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.743e-05/0.7838, allocations: 36.56 kB / 1.11 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003176/0.787, allocations: 1.327 MB / 1.111 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006357/0.7934, allocations: 3.072 MB / 1.114 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00185/0.7953, allocations: 0.7427 MB / 1.115 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000777/0.7961, allocations: 449.1 kB / 1.116 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009487/0.797, allocations: 1.02 MB / 1.117 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001027/0.7981, allocations: 0.5407 MB / 1.117 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=59): time 2.475e-06/0.7981, allocations: 0 / 1.117 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59): time 0.002896/0.801, allocations: 1.294 MB / 1.118 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.8011, allocations: 120.6 kB / 1.118 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001921/0.803, allocations: 1.215 MB / 1.12 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.847e-05/0.8031, allocations: 35.61 kB / 1.12 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003288/0.8034, allocations: 434.4 kB / 1.12 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/0.8036, allocations: 199.9 kB / 1.12 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.022e-05/0.8037, allocations: 48.25 kB / 1.12 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.8039, allocations: 332.8 kB / 1.121 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/0.8051, allocations: 0.4885 MB / 1.121 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001512/0.8067, allocations: 0.6441 MB / 1.122 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002441/0.8091, allocations: 0.9953 MB / 1.123 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/0.8091, allocations: 1.031 kB / 1.123 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003955/0.8131, allocations: 1.315 MB / 1.124 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.489e-05/0.8132, allocations: 41.97 kB / 1.124 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.808e-05/0.8132, allocations: 6.531 kB / 1.124 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.8132, allocations: 7.703 kB / 1.124 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009338/0.8142, allocations: 222.8 kB / 1.124 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.8142, allocations: 5.312 kB / 1.124 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/0.8159, allocations: 304.1 kB / 1.125 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.11e-05/0.816, allocations: 47.11 kB / 1.125 GB, free: 11.72 MB / 0.7136 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.0006226/0.8166, allocations: 322.7 kB / 1.125 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002897/0.8169, allocations: 113.7 kB / 1.125 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002237/0.8191, allocations: 1.074 MB / 1.126 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.8192, allocations: 10.27 kB / 1.126 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.8192, allocations: 3.094 kB / 1.126 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.8192, allocations: 4.5 kB / 1.126 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005046/0.8242, allocations: 3.234 MB / 1.129 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.8243, allocations: 8.062 kB / 1.129 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006164/0.8249, allocations: 132.1 kB / 1.129 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.484e-05/0.8249, allocations: 11.56 kB / 1.129 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.963e-05/0.825, allocations: 25.42 kB / 1.129 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.024e-05/0.825, allocations: 14.47 kB / 1.129 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/0.825, allocations: 19.98 kB / 1.129 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/0.8273, allocations: 1.329 MB / 1.131 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005548/0.8279, allocations: 334.9 kB / 1.131 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.828, allocations: 27.95 kB / 1.131 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.8291, allocations: 132.2 kB / 1.131 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.8293, allocations: 63.88 kB / 1.131 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.432e-05/0.8293, allocations: 46.97 kB / 1.131 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001497/0.8308, allocations: 0.8834 MB / 1.132 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8309, allocations: 0 / 1.132 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001017/0.8319, allocations: 299.7 kB / 1.132 GB, free: 9.801 MB / 0.7136 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.0007191/0.8326, allocations: 336.8 kB / 1.133 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002408/0.835, allocations: 1.087 MB / 1.134 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.835, allocations: 3.562 kB / 1.134 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009072/0.836, allocations: 0.5436 MB / 1.134 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003572/0.8395, allocations: 0.5489 MB / 1.135 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004042/0.8436, allocations: 2.402 MB / 1.137 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007579/0.8444, allocations: 1.066 MB / 1.138 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003916/0.8448, allocations: 95.64 kB / 1.138 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of SimCode: time 1.112e-06/0.8448, allocations: 0 / 1.138 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of Templates: time 0.03105/0.8759, allocations: 18.78 MB / 1.157 GB, free: 11.23 MB / 0.7292 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)