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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.619/1.619, allocations: 288.4 MB / 303.3 MB, free: 8.141 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.0009831/0.0009831, allocations: 180.5 kB / 372 MB, free: 10.24 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.345/1.345, allocations: 205.4 MB / 0.6307 GB, free: 9.941 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.0007998/0.0008001, allocations: 89.88 kB / 0.744 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.00035, allocations: 12.34 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1799, allocations: 115.3 MB / 0.9796 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5841/0.7641, allocations: 176.6 MB / 1.152 GB, free: 9.602 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01093/0.775, allocations: 6.509 MB / 1.158 GB, free: 4.371 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001527/0.7766, allocations: 38.81 kB / 1.158 GB, free: 4.352 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00145/0.7781, allocations: 470.4 kB / 1.159 GB, free: 3.969 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004875/0.783, allocations: 1.655 MB / 1.161 GB, free: 2.684 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003278/0.7863, allocations: 1.08 MB / 1.162 GB, free: 1.953 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004772/0.791, allocations: 3.17 MB / 1.165 GB, free: 68 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001656/0.7927, allocations: 0.6641 MB / 1.165 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002528/0.7953, allocations: 0.9453 MB / 1.166 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001716/0.797, allocations: 0.7451 MB / 1.167 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0002115/0.7973, allocations: 43.19 kB / 1.167 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003442/0.8007, allocations: 1.216 MB / 1.168 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0004242/0.8012, allocations: 302.6 kB / 1.169 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0004558/0.8016, allocations: 238.4 kB / 1.169 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002347/0.804, allocations: 1.631 MB / 1.17 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.804, allocations: 0 / 1.17 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.174e-06/0.804, allocations: 1.156 kB / 1.17 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.701e-05/0.804, allocations: 0 / 1.17 GB, free: 12.7 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.003644/0.8077, allocations: 1.423 MB / 1.172 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.8077, allocations: 13.62 kB / 1.172 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001761/0.8079, allocations: 109.9 kB / 1.172 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003132/0.8111, allocations: 0.606 MB / 1.172 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002266/0.8133, allocations: 0.9686 MB / 1.173 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001307/0.8147, allocations: 316.4 kB / 1.174 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.8148, allocations: 70.53 kB / 1.174 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002728/0.8175, allocations: 1.171 MB / 1.175 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.8176, allocations: 0 / 1.175 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-05/0.8177, allocations: 29.06 kB / 1.175 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-05/0.8177, allocations: 32.75 kB / 1.175 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003436/0.8212, allocations: 1.329 MB / 1.176 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006163/0.8273, allocations: 2.974 MB / 1.179 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001817/0.8292, allocations: 0.7369 MB / 1.18 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008456/0.8301, allocations: 454.8 kB / 1.18 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008788/0.831, allocations: 1.021 MB / 1.181 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001031/0.832, allocations: 0.5417 MB / 1.182 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=59): time 2.234e-06/0.832, allocations: 0 / 1.182 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59): time 0.003033/0.8351, allocations: 1.281 MB / 1.183 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.8351, allocations: 116 kB / 1.183 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001891/0.837, allocations: 1.212 MB / 1.184 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.238e-05/0.8371, allocations: 39.86 kB / 1.184 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003261/0.8375, allocations: 429.3 kB / 1.185 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/0.8376, allocations: 197.8 kB / 1.185 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.881e-05/0.8377, allocations: 17.03 kB / 1.185 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.8378, allocations: 327.7 kB / 1.185 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001333/0.8392, allocations: 0.4889 MB / 1.186 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001457/0.8406, allocations: 0.6482 MB / 1.186 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.842, allocations: 0.5441 MB / 1.187 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.842, allocations: 0 / 1.187 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003226/0.8453, allocations: 1.316 MB / 1.188 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.772e-05/0.8453, allocations: 38.52 kB / 1.188 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.8454, allocations: 2.812 kB / 1.188 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.8454, allocations: 5.062 kB / 1.188 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.8464, allocations: 214.7 kB / 1.189 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/0.8464, allocations: 13.42 kB / 1.189 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/0.8482, allocations: 302.7 kB / 1.189 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-05/0.8483, allocations: 36.59 kB / 1.189 GB, free: 0.6836 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.0005203/0.8489, allocations: 329.2 kB / 1.189 GB, free: 436 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/0.849, allocations: 122 kB / 1.189 GB, free: 368 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002207/0.8512, allocations: 1.065 MB / 1.19 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.8513, allocations: 7.938 kB / 1.19 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.8513, allocations: 0 / 1.19 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.8513, allocations: 3.984 kB / 1.19 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004879/0.8562, allocations: 3.228 MB / 1.194 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.8562, allocations: 5.969 kB / 1.194 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006118/0.8568, allocations: 132.7 kB / 1.194 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.218e-05/0.8569, allocations: 10.78 kB / 1.194 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.688e-05/0.8569, allocations: 32.67 kB / 1.194 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.237e-05/0.8569, allocations: 15.8 kB / 1.194 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.8569, allocations: 12.66 kB / 1.194 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002428/0.8594, allocations: 1.328 MB / 1.195 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005289/0.8599, allocations: 335.8 kB / 1.195 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/0.8601, allocations: 21.06 kB / 1.195 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.8612, allocations: 131.2 kB / 1.195 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.547e-05/0.8613, allocations: 64.47 kB / 1.196 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.783e-05/0.8614, allocations: 39.12 kB / 1.196 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001506/0.8629, allocations: 0.8796 MB / 1.196 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3e-07/0.863, allocations: 2.875 kB / 1.196 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009638/0.8639, allocations: 298.5 kB / 1.197 GB, free: 11.58 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003019/0.867, allocations: 2.116 MB / 1.199 GB, free: 9.434 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002548/0.8695, allocations: 1.076 MB / 1.2 GB, free: 8.344 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.8695, allocations: 0 / 1.2 GB, free: 8.344 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0009571/0.8705, allocations: 0.5477 MB / 1.2 GB, free: 7.785 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002673/0.8732, allocations: 0.5314 MB / 1.201 GB, free: 7.266 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01387/0.8871, allocations: 7.226 MB / 1.208 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006058/0.8877, allocations: 1.069 MB / 1.209 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001296/0.889, allocations: 288.8 kB / 1.209 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005196/0.8896, allocations: 367.3 kB / 1.21 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of SimCode: time 1.052e-06/0.8896, allocations: 0 / 1.21 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04884/0.9384, allocations: 30.9 MB / 1.24 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/0.9386, allocations: 253 kB / 1.24 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.738/3.677, allocations: 0 / 1.24 GB, free: 14.99 MB / 0.7761 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)