Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 115.8 kB / 16.38 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 189.1 kB / 17.31 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.269/1.269, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.724/1.724, allocations: 292.3 MB / 0.5496 GB, free: 17.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 67.91 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1834, allocations: 114.6 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4904/0.6738, allocations: 194 MB / 0.9742 GB, free: 8.211 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.009968/0.6838, allocations: 6.892 MB / 0.981 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.6849, allocations: 47.69 kB / 0.981 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001535/0.6865, allocations: 0.683 MB / 0.9817 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.004871/0.6914, allocations: 2.291 MB / 0.9839 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002998/0.6944, allocations: 1.428 MB / 0.9853 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003385/0.6978, allocations: 2.938 MB / 0.9882 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001172/0.699, allocations: 0.9081 MB / 0.9891 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002174/0.7012, allocations: 1.139 MB / 0.9902 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.7023, allocations: 0.8094 MB / 0.991 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001434/0.7024, allocations: 104 kB / 0.9911 GB, free: 7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003542/0.706, allocations: 2.062 MB / 0.9931 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003493/0.7063, allocations: 377.3 kB / 0.9935 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005877/0.7069, allocations: 0.5908 MB / 0.994 GB, free: 3.973 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002929/0.7099, allocations: 2.435 MB / 0.9964 GB, free: 1.531 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.7099, allocations: 0 / 0.9964 GB, free: 1.531 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.382e-06/0.7099, allocations: 0 / 0.9964 GB, free: 1.531 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.7099, allocations: 0 / 0.9964 GB, free: 1.531 MB / 0.7794 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.003462/0.7134, allocations: 1.668 MB / 0.998 GB, free: 15.8 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.7134, allocations: 8.031 kB / 0.998 GB, free: 15.79 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002965/0.7164, allocations: 0.5331 MB / 0.9986 GB, free: 15.26 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002141/0.7185, allocations: 1.045 MB / 0.9996 GB, free: 14.17 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.451e-05/0.7186, allocations: 57.31 kB / 0.9996 GB, free: 14.12 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.7187, allocations: 64 kB / 0.9997 GB, free: 14.05 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002516/0.7213, allocations: 1.133 MB / 1.001 GB, free: 12.9 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.7213, allocations: 3.938 kB / 1.001 GB, free: 12.9 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.775e-05/0.7214, allocations: 24 kB / 1.001 GB, free: 12.88 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.903e-05/0.7214, allocations: 33.31 kB / 1.001 GB, free: 12.84 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003211/0.7247, allocations: 1.243 MB / 1.002 GB, free: 11.6 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005286/0.73, allocations: 2.882 MB / 1.005 GB, free: 8.66 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001834/0.7318, allocations: 0.7152 MB / 1.006 GB, free: 7.934 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008427/0.7327, allocations: 448.2 kB / 1.006 GB, free: 7.496 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008294/0.7335, allocations: 1.025 MB / 1.007 GB, free: 6.25 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.7346, allocations: 0.5369 MB / 1.008 GB, free: 5.684 MB / 0.795 GB Notification: Performance of pre-optimization done (n=59): time 2.584e-06/0.7346, allocations: 0.75 kB / 1.008 GB, free: 5.684 MB / 0.795 GB Notification: Performance of matching and sorting (n=59): time 0.003017/0.7376, allocations: 1.264 MB / 1.009 GB, free: 4.414 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.7377, allocations: 123.2 kB / 1.009 GB, free: 4.27 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/0.7395, allocations: 1.172 MB / 1.01 GB, free: 3.082 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.82e-05/0.7395, allocations: 37.7 kB / 1.01 GB, free: 3.039 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003447/0.7399, allocations: 433.4 kB / 1.01 GB, free: 2.613 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/0.74, allocations: 197.1 kB / 1.011 GB, free: 2.418 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002717/0.7403, allocations: 150.1 kB / 1.011 GB, free: 2.266 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.7404, allocations: 330.5 kB / 1.011 GB, free: 1.938 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/0.7417, allocations: 460.9 kB / 1.012 GB, free: 1.488 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/0.7431, allocations: 0.5922 MB / 1.012 GB, free: 0.8477 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00211/0.7453, allocations: 0.9454 MB / 1.013 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.7453, allocations: 0 / 1.013 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003073/0.7484, allocations: 1.229 MB / 1.014 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.39e-05/0.7484, allocations: 39.56 kB / 1.014 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/0.7484, allocations: 7 kB / 1.014 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.7485, allocations: 7.984 kB / 1.014 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009595/0.7494, allocations: 199.9 kB / 1.015 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.7495, allocations: 11.94 kB / 1.015 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.7509, allocations: 239.7 kB / 1.015 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.422e-05/0.751, allocations: 35.97 kB / 1.015 GB, free: 14.08 MB / 0.8106 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.0004335/0.7514, allocations: 328.9 kB / 1.015 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001863/0.7516, allocations: 114.6 kB / 1.015 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002188/0.7538, allocations: 1.052 MB / 1.016 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.7538, allocations: 3.984 kB / 1.016 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.7538, allocations: 3.938 kB / 1.016 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004295/0.7543, allocations: 327.2 kB / 1.017 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/0.7544, allocations: 19.98 kB / 1.017 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009453/0.7554, allocations: 95.91 kB / 1.017 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.741e-05/0.7555, allocations: 32.52 kB / 1.017 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002218/0.7577, allocations: 1.16 MB / 1.018 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001993/0.7597, allocations: 1.253 MB / 1.019 GB, free: 9.613 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008225/0.7605, allocations: 436.2 kB / 1.019 GB, free: 9.188 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001349/0.7619, allocations: 0.8441 MB / 1.02 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of Backend: time 3.91e-07/0.7619, allocations: 0 / 1.02 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003125/0.765, allocations: 1.211 MB / 1.021 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of SimCode: time 0.003411/0.7684, allocations: 2.338 MB / 1.024 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of Templates: time 0.0377/0.8062, allocations: 26.83 MB / 1.05 GB, free: 10.23 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)