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.627/1.627, allocations: 288.4 MB / 303.6 MB, free: 8.023 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.0009624/0.0009623, allocations: 171 kB / 372.2 MB, free: 10.1 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.286/1.286, allocations: 205.4 MB / 0.631 GB, free: 9.871 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.0007365/0.0007364, allocations: 96.53 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003541, allocations: 17.05 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.167, allocations: 115.3 MB / 0.9802 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5595/0.7265, allocations: 176.6 MB / 1.153 GB, free: 9.422 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01176/0.7383, allocations: 6.519 MB / 1.159 GB, free: 4.102 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001838/0.7402, allocations: 43.25 kB / 1.159 GB, free: 4.078 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001521/0.7417, allocations: 491.6 kB / 1.16 GB, free: 3.684 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005023/0.7468, allocations: 1.942 MB / 1.161 GB, free: 2.219 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003116/0.7499, allocations: 1.074 MB / 1.162 GB, free: 1.492 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004193/0.7541, allocations: 3.215 MB / 1.166 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/0.7553, allocations: 0.7411 MB / 1.166 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001893/0.7572, allocations: 0.9642 MB / 1.167 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001435/0.7587, allocations: 0.7441 MB / 1.168 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.7588, allocations: 45.72 kB / 1.168 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004078/0.7629, allocations: 2.163 MB / 1.17 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0003934/0.7633, allocations: 306.1 kB / 1.17 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0006875/0.764, allocations: 0.5334 MB / 1.171 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002252/0.7663, allocations: 1.746 MB / 1.173 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.7663, allocations: 1.375 kB / 1.173 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7663, allocations: 0 / 1.173 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.674e-05/0.7663, allocations: 0 / 1.173 GB, free: 11.31 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.003431/0.7698, allocations: 1.418 MB / 1.174 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.7698, allocations: 9.5 kB / 1.174 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001671/0.77, allocations: 114.2 kB / 1.174 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002971/0.773, allocations: 0.6015 MB / 1.175 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002154/0.7751, allocations: 1.003 MB / 1.176 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001112/0.7763, allocations: 313.5 kB / 1.176 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.7764, allocations: 70.69 kB / 1.176 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002553/0.779, allocations: 1.171 MB / 1.177 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.779, allocations: 7.922 kB / 1.177 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-05/0.7791, allocations: 28.69 kB / 1.177 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.859e-05/0.7791, allocations: 30.06 kB / 1.177 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0033/0.7825, allocations: 1.325 MB / 1.179 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005755/0.7882, allocations: 2.972 MB / 1.182 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/0.79, allocations: 0.7323 MB / 1.182 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007952/0.7908, allocations: 453.5 kB / 1.183 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008885/0.7917, allocations: 1.019 MB / 1.184 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009985/0.7927, allocations: 0.544 MB / 1.184 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=59): time 2.826e-06/0.7927, allocations: 0 / 1.184 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59): time 0.003075/0.7958, allocations: 1.285 MB / 1.185 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/0.7959, allocations: 120.3 kB / 1.186 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001922/0.7978, allocations: 1.206 MB / 1.187 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.807e-05/0.7979, allocations: 38.86 kB / 1.187 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003284/0.7983, allocations: 425.5 kB / 1.187 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.7984, allocations: 200.7 kB / 1.187 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.7985, allocations: 15.28 kB / 1.187 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.688e-05/0.7986, allocations: 322.5 kB / 1.188 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00135/0.7999, allocations: 0.4922 MB / 1.188 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001509/0.8015, allocations: 0.6524 MB / 1.189 GB, free: 440 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002225/0.8037, allocations: 0.9861 MB / 1.19 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.8037, allocations: 3.031 kB / 1.19 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003166/0.8069, allocations: 1.306 MB / 1.191 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.908e-05/0.8069, allocations: 39.19 kB / 1.191 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.807, allocations: 2.906 kB / 1.191 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.807, allocations: 9.719 kB / 1.191 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009698/0.808, allocations: 216.8 kB / 1.191 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.808, allocations: 10.12 kB / 1.191 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.8096, allocations: 312.4 kB / 1.192 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.932e-05/0.8097, allocations: 36.62 kB / 1.192 GB, free: 14.96 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.0004812/0.8102, allocations: 328.5 kB / 1.192 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/0.8104, allocations: 115.6 kB / 1.192 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002125/0.8125, allocations: 1.059 MB / 1.193 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/0.8126, allocations: 15.2 kB / 1.193 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.8126, allocations: 0 / 1.193 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.8126, allocations: 3.984 kB / 1.193 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004878/0.8175, allocations: 3.229 MB / 1.196 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.8175, allocations: 8 kB / 1.196 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005965/0.8181, allocations: 132.7 kB / 1.196 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.421e-05/0.8181, allocations: 14.81 kB / 1.196 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.229e-05/0.8182, allocations: 28.7 kB / 1.196 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.215e-05/0.8182, allocations: 11.88 kB / 1.196 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.726e-06/0.8182, allocations: 12.81 kB / 1.196 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/0.8205, allocations: 1.342 MB / 1.198 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006223/0.8211, allocations: 330.2 kB / 1.198 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/0.8213, allocations: 23.98 kB / 1.198 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/0.8224, allocations: 131.9 kB / 1.198 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.8225, allocations: 59.7 kB / 1.198 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-05/0.8226, allocations: 43.97 kB / 1.198 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001603/0.8242, allocations: 0.8792 MB / 1.199 GB, free: 9.332 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8242, allocations: 0 / 1.199 GB, free: 9.332 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001106/0.8254, allocations: 303.8 kB / 1.2 GB, free: 9.035 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.003331/0.8287, allocations: 2.107 MB / 1.202 GB, free: 6.805 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002608/0.8313, allocations: 1.076 MB / 1.203 GB, free: 5.719 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.8313, allocations: 4 kB / 1.203 GB, free: 5.715 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.8324, allocations: 0.5438 MB / 1.203 GB, free: 5.16 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003746/0.8361, allocations: 0.5489 MB / 1.204 GB, free: 4.629 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01369/0.8498, allocations: 7.226 MB / 1.211 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006511/0.8505, allocations: 1.069 MB / 1.212 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001242/0.8518, allocations: 283.9 kB / 1.212 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000529/0.8523, allocations: 371.3 kB / 1.212 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of SimCode: time 6.12e-07/0.8523, allocations: 0 / 1.212 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8343/1.687, allocations: 31.16 MB / 1.243 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002594/1.687, allocations: 262.5 kB / 1.243 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.957/4.644, allocations: 0 / 1.243 GB, free: 12.07 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)