Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.547/1.547, allocations: 287.4 MB / 303.2 MB, free: 8.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008838/0.0008838, allocations: 175.2 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.25/1.25, allocations: 205.4 MB / 0.6305 GB, free: 10.46 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007992/0.0007992, allocations: 92.25 kB / 0.7438 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003805/0.0003807, allocations: 16.25 kB / 0.8667 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1708, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5379/0.7087, allocations: 176.6 MB / 1.152 GB, free: 9.621 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009589/0.7183, allocations: 6.519 MB / 1.158 GB, free: 5.289 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001439/0.7198, allocations: 38.06 kB / 1.158 GB, free: 5.27 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001401/0.7212, allocations: 473.1 kB / 1.159 GB, free: 4.883 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004734/0.726, allocations: 1.646 MB / 1.16 GB, free: 3.605 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003117/0.7291, allocations: 1.076 MB / 1.161 GB, free: 2.879 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004409/0.7335, allocations: 3.216 MB / 1.164 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00154/0.7351, allocations: 0.7519 MB / 1.165 GB, free: 0.5 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002217/0.7373, allocations: 0.9505 MB / 1.166 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001579/0.7389, allocations: 0.7417 MB / 1.167 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0002879/0.7392, allocations: 42.12 kB / 1.167 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003422/0.7427, allocations: 1.213 MB / 1.168 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0005428/0.7432, allocations: 311.1 kB / 1.168 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0005385/0.7438, allocations: 237.5 kB / 1.169 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00244/0.7462, allocations: 1.634 MB / 1.17 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.7462, allocations: 1.031 kB / 1.17 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7462, allocations: 0 / 1.17 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.223e-05/0.7463, allocations: 0 / 1.17 GB, free: 13.53 MB / 0.7136 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.004215/0.7505, allocations: 1.406 MB / 1.171 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.7506, allocations: 9 kB / 1.172 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003252/0.7538, allocations: 0.6085 MB / 1.172 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002762/0.7566, allocations: 1.003 MB / 1.173 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001245/0.7579, allocations: 317.6 kB / 1.173 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002883/0.7582, allocations: 70.72 kB / 1.173 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003175/0.7614, allocations: 1.166 MB / 1.175 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.7614, allocations: 3.938 kB / 1.175 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.7615, allocations: 28.77 kB / 1.175 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.863e-05/0.7616, allocations: 37.11 kB / 1.175 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003583/0.7652, allocations: 1.321 MB / 1.176 GB, free: 9.93 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006149/0.7713, allocations: 2.967 MB / 1.179 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/0.7731, allocations: 0.7445 MB / 1.18 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008035/0.774, allocations: 448.1 kB / 1.18 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008086/0.7748, allocations: 1.026 MB / 1.181 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009754/0.7758, allocations: 0.533 MB / 1.182 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=59): time 3.757e-06/0.7758, allocations: 2.906 kB / 1.182 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59): time 0.002995/0.7788, allocations: 1.283 MB / 1.183 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.7789, allocations: 115.8 kB / 1.183 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002076/0.7809, allocations: 1.214 MB / 1.184 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.837e-05/0.781, allocations: 40.48 kB / 1.184 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003321/0.7814, allocations: 429.6 kB / 1.185 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.7816, allocations: 196 kB / 1.185 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.7816, allocations: 14.84 kB / 1.185 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.7817, allocations: 332.2 kB / 1.185 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.7831, allocations: 499.8 kB / 1.186 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/0.7845, allocations: 0.6412 MB / 1.186 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002099/0.7866, allocations: 0.9882 MB / 1.187 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.7866, allocations: 0 / 1.187 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00326/0.7899, allocations: 1.314 MB / 1.188 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.457e-05/0.79, allocations: 37.62 kB / 1.188 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.79, allocations: 7.094 kB / 1.188 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.79, allocations: 5.781 kB / 1.188 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009697/0.791, allocations: 217.9 kB / 1.189 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/0.791, allocations: 13.06 kB / 1.189 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/0.7928, allocations: 307.8 kB / 1.189 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-05/0.7929, allocations: 32.61 kB / 1.189 GB, free: 1.285 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 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005059/0.7934, allocations: 333.1 kB / 1.189 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002824/0.7937, allocations: 120.6 kB / 1.189 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/0.7959, allocations: 1.058 MB / 1.19 GB, free: 380 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.7959, allocations: 6.734 kB / 1.19 GB, free: 376 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.7959, allocations: 7.938 kB / 1.19 GB, free: 368 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005707/0.7965, allocations: 320 kB / 1.191 GB, free: 88 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002351/0.7967, allocations: 19.86 kB / 1.191 GB, free: 76 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.7978, allocations: 117.9 kB / 1.191 GB, free: 32 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.814e-05/0.7979, allocations: 33.2 kB / 1.191 GB, free: 12 kB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002192/0.8001, allocations: 1.186 MB / 1.192 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001965/0.8021, allocations: 1.259 MB / 1.193 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007761/0.8029, allocations: 433.6 kB / 1.194 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001549/0.8044, allocations: 0.8756 MB / 1.195 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of Backend: time 5.01e-07/0.8044, allocations: 4 kB / 1.195 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003627/0.8081, allocations: 1.233 MB / 1.196 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of SimCode: time 0.004183/0.8123, allocations: 2.562 MB / 1.198 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of Templates: time 0.03874/0.851, allocations: 25.4 MB / 1.223 GB, free: 1.656 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)