Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.54/2.54, allocations: 284.9 MB / 292.4 MB, free: 10.56 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.001438/0.001438, allocations: 180.8 kB / 360.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.087/2.087, allocations: 205.2 MB / 0.6191 GB, free: 12.23 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001166/0.001165, allocations: 92.08 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.49e-05/3.493e-05, allocations: 8 kB / 0.8509 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8978/0.8978, allocations: 115.3 MB / 0.9634 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.287/8.185, allocations: 2.313 GB / 3.277 GB, free: 169.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003129/8.185, allocations: 83.89 kB / 3.277 GB, free: 169.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.457/11.64, allocations: 0.6451 GB / 3.922 GB, free: 193.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.673e-06/11.64, allocations: 0 / 3.922 GB, free: 193.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001341/11.64, allocations: 36.17 kB / 3.922 GB, free: 193.8 MB / 0.948 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.005798/11.65, allocations: 1.411 MB / 3.923 GB, free: 193.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/11.65, allocations: 11 kB / 3.923 GB, free: 193.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004851/11.65, allocations: 0.5323 MB / 3.924 GB, free: 193 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04061/11.69, allocations: 13.03 MB / 3.936 GB, free: 192.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002191/11.7, allocations: 294.2 kB / 3.937 GB, free: 192.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004026/11.7, allocations: 45.56 kB / 3.937 GB, free: 192.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00209/11.7, allocations: 0.7538 MB / 3.938 GB, free: 192.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002079/11.7, allocations: 0.8826 MB / 3.938 GB, free: 192.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/11.7, allocations: 0 / 3.938 GB, free: 192.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/11.7, allocations: 3.891 kB / 3.938 GB, free: 192.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-05/11.7, allocations: 33.98 kB / 3.938 GB, free: 192.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009649/11.71, allocations: 3.114 MB / 3.941 GB, free: 191.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/11.71, allocations: 0.5739 MB / 3.942 GB, free: 191.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007013/11.71, allocations: 357.4 kB / 3.942 GB, free: 191.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/11.71, allocations: 1.024 MB / 3.943 GB, free: 190.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009734/11.72, allocations: 482.2 kB / 3.944 GB, free: 190.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=58): time 3.196e-06/11.72, allocations: 0 / 3.944 GB, free: 190.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=58): time 0.002999/11.72, allocations: 0.8026 MB / 3.945 GB, free: 190 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/11.72, allocations: 140 kB / 3.945 GB, free: 189.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/11.72, allocations: 0.6563 MB / 3.945 GB, free: 189.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002132/11.72, allocations: 29.64 kB / 3.945 GB, free: 189.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004434/11.72, allocations: 461 kB / 3.946 GB, free: 189.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000272/11.72, allocations: 188.6 kB / 3.946 GB, free: 189.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.429e-05/11.72, allocations: 1.344 kB / 3.946 GB, free: 189.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.573e-05/11.72, allocations: 335.8 kB / 3.946 GB, free: 189.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007242/11.72, allocations: 313 kB / 3.947 GB, free: 189.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/11.72, allocations: 0.5092 MB / 3.947 GB, free: 188.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/11.72, allocations: 407.3 kB / 3.948 GB, free: 188.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/11.72, allocations: 0 / 3.948 GB, free: 188.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002813/11.73, allocations: 0.9547 MB / 3.948 GB, free: 188.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.217e-05/11.73, allocations: 40.72 kB / 3.949 GB, free: 188.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/11.73, allocations: 7.016 kB / 3.949 GB, free: 188.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.755e-05/11.73, allocations: 7.625 kB / 3.949 GB, free: 188.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001925/11.73, allocations: 221.8 kB / 3.949 GB, free: 188.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/11.73, allocations: 11.62 kB / 3.949 GB, free: 188.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002941/11.73, allocations: 264.5 kB / 3.949 GB, free: 188.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001874/11.73, allocations: 52.31 kB / 3.949 GB, free: 188.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 () * 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.0003269/11.73, allocations: 164.2 kB / 3.949 GB, free: 188.6 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002213/11.73, allocations: 0.7728 MB / 3.95 GB, free: 188.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002227/11.74, allocations: 98.53 kB / 3.95 GB, free: 188.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002473/11.74, allocations: 0.8632 MB / 3.951 GB, free: 188.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/11.74, allocations: 10.55 kB / 3.951 GB, free: 188.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/11.74, allocations: 3.938 kB / 3.951 GB, free: 188.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/11.74, allocations: 0 / 3.951 GB, free: 188.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007535/11.75, allocations: 3.027 MB / 3.954 GB, free: 187.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/11.75, allocations: 6.312 kB / 3.954 GB, free: 187.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/11.75, allocations: 135 kB / 3.954 GB, free: 187.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.142e-05/11.75, allocations: 19.11 kB / 3.954 GB, free: 187.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.447e-05/11.75, allocations: 19.39 kB / 3.954 GB, free: 187.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.488e-05/11.75, allocations: 18.89 kB / 3.954 GB, free: 187.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.219e-05/11.75, allocations: 10.41 kB / 3.954 GB, free: 187.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003067/11.75, allocations: 1.6 MB / 3.956 GB, free: 186.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008182/11.75, allocations: 315.2 kB / 3.956 GB, free: 186.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002116/11.75, allocations: 11.47 kB / 3.956 GB, free: 186.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002099/11.75, allocations: 121.9 kB / 3.956 GB, free: 186.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/11.75, allocations: 63.28 kB / 3.956 GB, free: 186.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001328/11.75, allocations: 53.61 kB / 3.956 GB, free: 186.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009062/11.75, allocations: 0.4997 MB / 3.957 GB, free: 186.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.71e-07/11.75, allocations: 3.344 kB / 3.957 GB, free: 186.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002129/11.76, allocations: 409.5 kB / 3.957 GB, free: 186.4 MB / 0.948 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * 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.006376/11.76, allocations: 5.952 MB / 3.963 GB, free: 182.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002085/11.76, allocations: 0.8202 MB / 3.964 GB, free: 182.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/11.76, allocations: 0 / 3.964 GB, free: 182.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008798/11.77, allocations: 475.8 kB / 3.964 GB, free: 182.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004955/11.77, allocations: 366.5 kB / 3.964 GB, free: 182.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/11.78, allocations: 1.714 MB / 3.966 GB, free: 181.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/11.78, allocations: 1.098 MB / 3.967 GB, free: 180.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003097/11.79, allocations: 251.5 kB / 3.967 GB, free: 180.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001377/11.79, allocations: 348.9 kB / 3.968 GB, free: 180.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.793e-06/11.79, allocations: 2.5 kB / 3.968 GB, free: 180.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1289/11.92, allocations: 34 MB / 4.001 GB, free: 177.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002438/11.92, allocations: 190.2 kB / 4.001 GB, free: 177.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4/15.92, allocations: 3.938 kB / 4.001 GB, free: 177.6 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)