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.292/1.292, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.0008753/0.0008753, allocations: 173.5 kB / 326.5 MB, free: 2.684 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.387/1.387, allocations: 205 MB / 0.5767 GB, free: 20.98 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.0007785/0.0007785, allocations: 95.67 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002954/0.0002954, allocations: 8.344 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1591, allocations: 105.4 MB / 0.8967 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5238/0.6829, allocations: 191.5 MB / 1.084 GB, free: 1.543 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008808/0.6918, allocations: 7.064 MB / 1.091 GB, free: 1.32 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001282/0.6931, allocations: 40.22 kB / 1.091 GB, free: 1.32 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001349/0.6944, allocations: 0.5661 MB / 1.091 GB, free: 1.312 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004616/0.6991, allocations: 2.186 MB / 1.093 GB, free: 1.207 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002742/0.7018, allocations: 1.293 MB / 1.095 GB, free: 1.148 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003205/0.705, allocations: 3.7 MB / 1.098 GB, free: 1.129 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009663/0.706, allocations: 0.7475 MB / 1.099 GB, free: 1.023 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001332/0.7073, allocations: 0.9511 MB / 1.1 GB, free: 1.02 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001442/0.7088, allocations: 0.8505 MB / 1.101 GB, free: 1.012 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.7089, allocations: 43.88 kB / 1.101 GB, free: 1.012 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003266/0.7122, allocations: 2.22 MB / 1.103 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002673/0.7125, allocations: 317 kB / 1.103 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004657/0.713, allocations: 0.5245 MB / 1.104 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002703/0.7157, allocations: 2.409 MB / 1.106 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.7157, allocations: 0 / 1.106 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7157, allocations: 0 / 1.106 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.552e-05/0.7157, allocations: 0 / 1.106 GB, free: 0.8633 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.002908/0.7186, allocations: 1.413 MB / 1.108 GB, free: 16.03 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.7187, allocations: 8.656 kB / 1.108 GB, free: 16.03 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002691/0.7214, allocations: 0.606 MB / 1.108 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001689/0.7231, allocations: 0.9976 MB / 1.109 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001098/0.7242, allocations: 324.8 kB / 1.109 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.7243, allocations: 64.19 kB / 1.109 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002179/0.7265, allocations: 1.182 MB / 1.111 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.7265, allocations: 0 / 1.111 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.863e-05/0.7266, allocations: 26.56 kB / 1.111 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-05/0.7266, allocations: 31.16 kB / 1.111 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00293/0.7296, allocations: 1.336 MB / 1.112 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004804/0.7344, allocations: 3.069 MB / 1.115 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.736, allocations: 0.7411 MB / 1.116 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007035/0.7367, allocations: 455.1 kB / 1.116 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008031/0.7375, allocations: 1.021 MB / 1.117 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009015/0.7384, allocations: 0.54 MB / 1.118 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=59): time 4.348e-06/0.7384, allocations: 4 kB / 1.118 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59): time 0.002682/0.7411, allocations: 1.29 MB / 1.119 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.7412, allocations: 112.3 kB / 1.119 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001707/0.7429, allocations: 1.216 MB / 1.12 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.762e-05/0.743, allocations: 37.08 kB / 1.12 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003241/0.7433, allocations: 432.4 kB / 1.121 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.7435, allocations: 202.1 kB / 1.121 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.492e-05/0.7436, allocations: 53.42 kB / 1.121 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.7437, allocations: 332.9 kB / 1.121 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/0.7451, allocations: 0.494 MB / 1.122 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001496/0.7466, allocations: 0.6407 MB / 1.122 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002362/0.749, allocations: 1 MB / 1.123 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.749, allocations: 1.375 kB / 1.123 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003372/0.7524, allocations: 1.309 MB / 1.125 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.129e-05/0.7524, allocations: 39.34 kB / 1.125 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.7524, allocations: 3.188 kB / 1.125 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/0.7525, allocations: 13.56 kB / 1.125 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009353/0.7534, allocations: 217.4 kB / 1.125 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.7534, allocations: 5.5 kB / 1.125 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/0.755, allocations: 302.4 kB / 1.125 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.7551, allocations: 37.16 kB / 1.125 GB, free: 11.69 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.0005173/0.7556, allocations: 335.6 kB / 1.126 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.7558, allocations: 114.5 kB / 1.126 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001917/0.7577, allocations: 1.07 MB / 1.127 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.7577, allocations: 3.328 kB / 1.127 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.7577, allocations: 0 / 1.127 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004207/0.7582, allocations: 325.8 kB / 1.127 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/0.7583, allocations: 22.33 kB / 1.127 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000971/0.7593, allocations: 118.6 kB / 1.127 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.145e-05/0.7594, allocations: 33.7 kB / 1.127 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002058/0.7615, allocations: 1.187 MB / 1.128 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001849/0.7633, allocations: 1.266 MB / 1.13 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007237/0.7641, allocations: 434 kB / 1.13 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001416/0.7655, allocations: 0.8861 MB / 1.131 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of Backend: time 3.21e-07/0.7655, allocations: 1.859 kB / 1.131 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00311/0.7686, allocations: 1.258 MB / 1.132 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of SimCode: time 0.003511/0.7721, allocations: 2.628 MB / 1.135 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of Templates: time 0.03582/0.808, allocations: 25.86 MB / 1.16 GB, free: 7.367 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)