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.464/1.464, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.00133/0.00133, allocations: 179.8 kB / 326.5 MB, free: 2.234 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.982/1.982, allocations: 205.4 MB / 0.5775 GB, free: 20.57 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.0009584/0.0009585, allocations: 85.88 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003364/0.0003364, allocations: 12.95 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.213, allocations: 106.3 MB / 0.9001 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.958/5.171, allocations: 2.431 GB / 3.331 GB, free: 128.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/5.171, allocations: 88.83 kB / 3.331 GB, free: 128.7 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.091/7.261, allocations: 0.6338 GB / 3.965 GB, free: 178.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.323e-06/7.261, allocations: 0 / 3.965 GB, free: 178.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.692e-05/7.262, allocations: 33.83 kB / 3.965 GB, free: 178.2 MB / 0.8855 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.004041/7.266, allocations: 1.58 MB / 3.967 GB, free: 176.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/7.266, allocations: 8.562 kB / 3.967 GB, free: 176.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001647/7.266, allocations: 110.5 kB / 3.967 GB, free: 176.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002618/7.268, allocations: 0.5386 MB / 3.967 GB, free: 176.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.024/7.292, allocations: 12.8 MB / 3.98 GB, free: 163.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001135/7.294, allocations: 329.2 kB / 3.98 GB, free: 163 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002281/7.294, allocations: 68 kB / 3.98 GB, free: 162.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002315/7.296, allocations: 1.163 MB / 3.981 GB, free: 161.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/7.296, allocations: 0 / 3.981 GB, free: 161.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.24e-05/7.296, allocations: 31.98 kB / 3.981 GB, free: 161.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.716e-05/7.296, allocations: 29.3 kB / 3.981 GB, free: 161.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002815/7.299, allocations: 1.239 MB / 3.983 GB, free: 160.4 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005689/7.305, allocations: 3.354 MB / 3.986 GB, free: 157 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/7.306, allocations: 0.7114 MB / 3.987 GB, free: 156.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007043/7.307, allocations: 1.025 MB / 3.988 GB, free: 155 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008678/7.308, allocations: 0.5385 MB / 3.988 GB, free: 154.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=59): time 3.045e-06/7.308, allocations: 0 / 3.988 GB, free: 154.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=59): time 0.002729/7.311, allocations: 1.355 MB / 3.989 GB, free: 153.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/7.311, allocations: 170.5 kB / 3.99 GB, free: 152.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/7.313, allocations: 1.077 MB / 3.991 GB, free: 151.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001106/7.313, allocations: 41.7 kB / 3.991 GB, free: 151.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002836/7.313, allocations: 443.9 kB / 3.991 GB, free: 151.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/7.313, allocations: 189.3 kB / 3.991 GB, free: 151.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.301e-05/7.313, allocations: 12 kB / 3.991 GB, free: 151.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.234e-05/7.313, allocations: 330 kB / 3.992 GB, free: 150.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/7.314, allocations: 492.9 kB / 3.992 GB, free: 150.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/7.316, allocations: 0.6865 MB / 3.993 GB, free: 149.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/7.317, allocations: 0.5523 MB / 3.993 GB, free: 149 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/7.317, allocations: 0 / 3.993 GB, free: 149 MB / 0.8855 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002742/7.32, allocations: 1.314 MB / 3.995 GB, free: 147.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.118e-05/7.32, allocations: 37.69 kB / 3.995 GB, free: 147.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/7.32, allocations: 4 kB / 3.995 GB, free: 147.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/7.32, allocations: 4 kB / 3.995 GB, free: 147.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009314/7.321, allocations: 215.9 kB / 3.995 GB, free: 147.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/7.321, allocations: 11.95 kB / 3.995 GB, free: 147.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/7.322, allocations: 314.8 kB / 3.995 GB, free: 147 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/7.322, allocations: 43.97 kB / 3.995 GB, free: 147 MB / 0.8855 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 () * 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.0005218/7.323, allocations: 328.4 kB / 3.996 GB, free: 146.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/7.323, allocations: 118.6 kB / 3.996 GB, free: 146.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001807/7.325, allocations: 1.044 MB / 3.997 GB, free: 145.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/7.325, allocations: 4 kB / 3.997 GB, free: 145.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/7.325, allocations: 4 kB / 3.997 GB, free: 145.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/7.325, allocations: 7.938 kB / 3.997 GB, free: 145.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003993/7.329, allocations: 3.359 MB / 4 GB, free: 142 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.849e-06/7.329, allocations: 8 kB / 4 GB, free: 142 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00055/7.329, allocations: 132 kB / 4 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.396e-05/7.329, allocations: 19.64 kB / 4 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.343e-05/7.329, allocations: 27.98 kB / 4 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.257e-06/7.33, allocations: 15.92 kB / 4 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/7.33, allocations: 11.94 kB / 4 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001805/7.331, allocations: 1.824 MB / 4.002 GB, free: 139.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005201/7.332, allocations: 335.3 kB / 4.002 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001698/7.332, allocations: 31.94 kB / 4.002 GB, free: 139.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/7.333, allocations: 127.9 kB / 4.002 GB, free: 139.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.705e-05/7.333, allocations: 63.83 kB / 4.002 GB, free: 139.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.302e-05/7.333, allocations: 39.97 kB / 4.002 GB, free: 139 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00126/7.335, allocations: 0.8792 MB / 4.003 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/7.335, allocations: 0 / 4.003 GB, free: 138.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001491/7.336, allocations: 435.8 kB / 4.004 GB, free: 137.7 MB / 0.8855 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) * 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.004457/7.341, allocations: 6.049 MB / 4.01 GB, free: 131.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002094/7.343, allocations: 1.068 MB / 4.011 GB, free: 130.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/7.343, allocations: 3.75 kB / 4.011 GB, free: 130.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007538/7.343, allocations: 0.5243 MB / 4.011 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002335/7.346, allocations: 0.5365 MB / 4.012 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/7.357, allocations: 9.023 MB / 4.021 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004995/7.357, allocations: 1.097 MB / 4.022 GB, free: 118.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00126/7.359, allocations: 281.6 kB / 4.022 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004417/7.359, allocations: 367.3 kB / 4.022 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of SimCode: time 7.213e-06/7.359, allocations: 0 / 4.022 GB, free: 118.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06986/7.429, allocations: 51.73 MB / 4.073 GB, free: 66.64 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001472/7.429, allocations: 254.2 kB / 4.073 GB, free: 66.31 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.598/11.03, allocations: 0 / 4.073 GB, free: 66.31 MB / 0.8855 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)