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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.496/1.496, allocations: 249.3 MB / 261.8 MB, free: 5.801 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001097/0.001096, allocations: 184.6 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.948/1.948, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.0008818/0.0008816, allocations: 93.22 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.792e-05/4.795e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2737, allocations: 106.3 MB / 0.8919 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.597/7.871, allocations: 2.431 GB / 3.323 GB, free: 297.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/7.871, allocations: 83.95 kB / 3.323 GB, free: 297.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.59/10.46, allocations: 0.6327 GB / 3.956 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.573e-06/10.46, allocations: 2.469 kB / 3.956 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001272/10.46, allocations: 39.33 kB / 3.956 GB, free: 145.3 MB / 0.8698 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.004542/10.47, allocations: 1.41 MB / 3.957 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/10.47, allocations: 11.12 kB / 3.957 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000183/10.47, allocations: 116.5 kB / 3.957 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00309/10.47, allocations: 0.5322 MB / 3.958 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02984/10.5, allocations: 12.73 MB / 3.97 GB, free: 144 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001444/10.5, allocations: 323.9 kB / 3.97 GB, free: 144 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003491/10.5, allocations: 73.23 kB / 3.971 GB, free: 144 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002171/10.5, allocations: 0.9706 MB / 3.971 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/10.5, allocations: 3.875 kB / 3.971 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-05/10.5, allocations: 32.62 kB / 3.971 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.648e-05/10.5, allocations: 35.12 kB / 3.972 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/10.5, allocations: 0.8585 MB / 3.972 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006918/10.51, allocations: 3.358 MB / 3.976 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/10.51, allocations: 0.5999 MB / 3.976 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005869/10.51, allocations: 374.2 kB / 3.977 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000896/10.51, allocations: 1.033 MB / 3.978 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009023/10.52, allocations: 491.5 kB / 3.978 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=59): time 3.707e-06/10.52, allocations: 0 / 3.978 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=59): time 0.002289/10.52, allocations: 0.8338 MB / 3.979 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.572e-05/10.52, allocations: 168.9 kB / 3.979 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/10.52, allocations: 0.9534 MB / 3.98 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/10.52, allocations: 41.23 kB / 3.98 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003288/10.52, allocations: 429.8 kB / 3.98 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/10.52, allocations: 201.5 kB / 3.981 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-05/10.52, allocations: 10.28 kB / 3.981 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.567e-05/10.52, allocations: 337.6 kB / 3.981 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000477/10.52, allocations: 303.4 kB / 3.981 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006628/10.52, allocations: 0.4967 MB / 3.982 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000675/10.52, allocations: 383.1 kB / 3.982 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/10.52, allocations: 1.375 kB / 3.982 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001641/10.52, allocations: 0.9457 MB / 3.983 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.753e-05/10.52, allocations: 41.44 kB / 3.983 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/10.52, allocations: 3.969 kB / 3.983 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.874e-05/10.52, allocations: 7.375 kB / 3.983 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/10.52, allocations: 217.1 kB / 3.983 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.181e-05/10.52, allocations: 8.969 kB / 3.983 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/10.53, allocations: 309.3 kB / 3.984 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/10.53, allocations: 48.28 kB / 3.984 GB, free: 140.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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.0002571/10.53, allocations: 179.8 kB / 3.984 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000225/10.53, allocations: 116.3 kB / 3.984 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001829/10.53, allocations: 0.9383 MB / 3.985 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/10.53, allocations: 7.688 kB / 3.985 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/10.53, allocations: 0 / 3.985 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/10.53, allocations: 3.797 kB / 3.985 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004271/10.53, allocations: 3.242 MB / 3.988 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/10.53, allocations: 6.938 kB / 3.988 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005703/10.53, allocations: 133.2 kB / 3.988 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.526e-05/10.53, allocations: 10.53 kB / 3.988 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.803e-05/10.53, allocations: 29.44 kB / 3.988 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.397e-05/10.53, allocations: 14.44 kB / 3.988 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/10.53, allocations: 14.06 kB / 3.988 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/10.54, allocations: 1.719 MB / 3.99 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005811/10.54, allocations: 334.7 kB / 3.99 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/10.54, allocations: 22.69 kB / 3.99 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/10.54, allocations: 128.9 kB / 3.99 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/10.54, allocations: 63.94 kB / 3.99 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.099e-05/10.54, allocations: 51.02 kB / 3.99 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009377/10.54, allocations: 0.7408 MB / 3.991 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/10.54, allocations: 0 / 3.991 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001793/10.54, allocations: 438 kB / 3.992 GB, free: 137.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (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.004616/10.55, allocations: 5.942 MB / 3.997 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001421/10.55, allocations: 0.8248 MB / 3.998 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/10.55, allocations: 6.812 kB / 3.998 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005976/10.55, allocations: 469.9 kB / 3.999 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0029/10.55, allocations: 0.5416 MB / 3.999 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003872/10.55, allocations: 1.825 MB / 4.001 GB, free: 132.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005228/10.55, allocations: 1.093 MB / 4.002 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001235/10.56, allocations: 283.8 kB / 4.002 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005016/10.56, allocations: 361.6 kB / 4.003 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.102e-06/10.56, allocations: 0 / 4.003 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/10.66, allocations: 55.21 MB / 4.057 GB, free: 130.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002248/10.66, allocations: 222.6 kB / 4.057 GB, free: 130.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.936/14.59, allocations: 2.344 kB / 4.057 GB, free: 130.2 MB / 0.8698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)