Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.684/1.684, allocations: 288.4 MB / 304.3 MB, free: 8.156 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.0009319/0.000932, allocations: 181.9 kB / 372.9 MB, free: 10.15 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.23/1.23, allocations: 205.4 MB / 0.6316 GB, free: 9.863 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.0006962/0.0006965, allocations: 104 kB / 0.745 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.0003369, allocations: 12.38 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1542, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5048/0.6591, allocations: 176.6 MB / 1.153 GB, free: 9.566 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009685/0.6688, allocations: 6.518 MB / 1.16 GB, free: 4.25 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008608/0.6697, allocations: 42.88 kB / 1.16 GB, free: 4.227 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001241/0.671, allocations: 0.4912 MB / 1.16 GB, free: 3.82 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004121/0.6751, allocations: 1.939 MB / 1.162 GB, free: 2.359 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002645/0.6777, allocations: 1.081 MB / 1.163 GB, free: 1.629 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003436/0.6812, allocations: 3.212 MB / 1.166 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.6822, allocations: 0.7409 MB / 1.167 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001511/0.6838, allocations: 0.9563 MB / 1.168 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/0.685, allocations: 0.7531 MB / 1.169 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.6851, allocations: 41.88 kB / 1.169 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003615/0.6887, allocations: 2.178 MB / 1.171 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0003203/0.6891, allocations: 298.9 kB / 1.171 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0005062/0.6896, allocations: 0.5221 MB / 1.172 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001861/0.6914, allocations: 1.758 MB / 1.173 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6915, allocations: 0 / 1.173 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6915, allocations: 0 / 1.173 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.218e-05/0.6915, allocations: 1.219 kB / 1.173 GB, free: 11.45 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.003124/0.6946, allocations: 1.413 MB / 1.175 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.6947, allocations: 8.5 kB / 1.175 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002862/0.6975, allocations: 0.6067 MB / 1.175 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001949/0.6995, allocations: 0.9959 MB / 1.176 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001147/0.7006, allocations: 321.4 kB / 1.176 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.7008, allocations: 70.33 kB / 1.177 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002407/0.7032, allocations: 1.162 MB / 1.178 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.7032, allocations: 3.938 kB / 1.178 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-05/0.7033, allocations: 29.72 kB / 1.178 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.864e-05/0.7033, allocations: 36.39 kB / 1.178 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003326/0.7067, allocations: 1.318 MB / 1.179 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005353/0.712, allocations: 2.985 MB / 1.182 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.7138, allocations: 0.7334 MB / 1.183 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007993/0.7146, allocations: 448.7 kB / 1.183 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008117/0.7154, allocations: 1.025 MB / 1.184 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009652/0.7164, allocations: 0.5365 MB / 1.185 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=59): time 2.255e-06/0.7164, allocations: 0 / 1.185 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59): time 0.002735/0.7191, allocations: 1.286 MB / 1.186 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.7192, allocations: 112.5 kB / 1.186 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/0.721, allocations: 1.21 MB / 1.187 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.952e-05/0.721, allocations: 38.58 kB / 1.187 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000317/0.7214, allocations: 429.4 kB / 1.188 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.7215, allocations: 197.8 kB / 1.188 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.333e-05/0.7216, allocations: 10.94 kB / 1.188 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.7217, allocations: 329.9 kB / 1.188 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/0.723, allocations: 0.4923 MB / 1.189 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/0.7245, allocations: 0.6386 MB / 1.189 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002058/0.7265, allocations: 0.9927 MB / 1.19 GB, free: 92 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.7265, allocations: 0 / 1.19 GB, free: 92 kB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003097/0.7296, allocations: 1.318 MB / 1.192 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.389e-05/0.7297, allocations: 44.62 kB / 1.192 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.7297, allocations: 6.031 kB / 1.192 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.7297, allocations: 5.906 kB / 1.192 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009593/0.7307, allocations: 214.8 kB / 1.192 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.7307, allocations: 8.531 kB / 1.192 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/0.7323, allocations: 304.6 kB / 1.192 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.897e-05/0.7323, allocations: 40.64 kB / 1.192 GB, free: 15.19 MB / 0.7292 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.0004081/0.7328, allocations: 334.3 kB / 1.192 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.7329, allocations: 116.5 kB / 1.193 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002063/0.735, allocations: 1.059 MB / 1.194 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.735, allocations: 6.891 kB / 1.194 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.735, allocations: 3.938 kB / 1.194 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004302/0.7354, allocations: 321.5 kB / 1.194 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/0.7356, allocations: 11.05 kB / 1.194 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.7366, allocations: 122.4 kB / 1.194 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.943e-05/0.7367, allocations: 41.55 kB / 1.194 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002176/0.7389, allocations: 1.177 MB / 1.195 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00191/0.7408, allocations: 1.254 MB / 1.196 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007881/0.7416, allocations: 439.9 kB / 1.197 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001412/0.743, allocations: 0.8797 MB / 1.198 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of Backend: time 5.21e-07/0.743, allocations: 0 / 1.198 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003262/0.7463, allocations: 1.26 MB / 1.199 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of SimCode: time 0.003648/0.75, allocations: 2.569 MB / 1.201 GB, free: 7.918 MB / 0.7292 GB Notification: Performance of Templates: time 0.03598/0.786, allocations: 25.58 MB / 1.226 GB, free: 14.47 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)