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.664/2.664, allocations: 287.3 MB / 302.3 MB, free: 8.344 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.001705/0.001704, allocations: 173.8 kB / 370.8 MB, free: 10.87 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.122/2.122, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001243/0.001243, allocations: 93.83 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005203/0.0005202, allocations: 12.5 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2388, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.141/8.38, allocations: 2.314 GB / 3.292 GB, free: 285.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000348/8.38, allocations: 83.06 kB / 3.292 GB, free: 285.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.048/11.43, allocations: 0.6528 GB / 3.945 GB, free: 30.03 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.675e-06/11.43, allocations: 0 / 3.945 GB, free: 30.03 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.00015/11.43, allocations: 35.98 kB / 3.945 GB, free: 30 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.006925/11.44, allocations: 1.575 MB / 3.947 GB, free: 28.36 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/11.44, allocations: 8.031 kB / 3.947 GB, free: 28.36 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004558/11.44, allocations: 118.4 kB / 3.947 GB, free: 28.23 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005/11.44, allocations: 0.5372 MB / 3.947 GB, free: 27.69 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0421/11.48, allocations: 13.14 MB / 3.96 GB, free: 14.39 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00233/11.49, allocations: 321.2 kB / 3.96 GB, free: 14.08 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004381/11.49, allocations: 72 kB / 3.961 GB, free: 14.01 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004497/11.49, allocations: 1.163 MB / 3.962 GB, free: 12.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.245e-05/11.49, allocations: 3.984 kB / 3.962 GB, free: 12.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001567/11.49, allocations: 32 kB / 3.962 GB, free: 12.77 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.667e-05/11.49, allocations: 29.3 kB / 3.962 GB, free: 12.73 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005973/11.5, allocations: 1.231 MB / 3.963 GB, free: 11.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01171/11.51, allocations: 3.249 MB / 3.966 GB, free: 8.18 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003187/11.51, allocations: 0.7115 MB / 3.967 GB, free: 7.457 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00113/11.51, allocations: 1.033 MB / 3.968 GB, free: 6.203 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001777/11.51, allocations: 0.5308 MB / 3.968 GB, free: 5.645 MB / 0.948 GB Notification: Performance of pre-optimization done (n=59): time 4.578e-06/11.51, allocations: 4 kB / 3.968 GB, free: 5.641 MB / 0.948 GB Notification: Performance of matching and sorting (n=59): time 0.005397/11.52, allocations: 1.347 MB / 3.97 GB, free: 4.262 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.801e-05/11.52, allocations: 166.6 kB / 3.97 GB, free: 4.062 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003289/11.52, allocations: 1.08 MB / 3.971 GB, free: 2.969 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003305/11.52, allocations: 41.7 kB / 3.971 GB, free: 2.922 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000528/11.52, allocations: 433.9 kB / 3.971 GB, free: 2.496 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002957/11.52, allocations: 201.1 kB / 3.972 GB, free: 2.297 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/11.53, allocations: 12 kB / 3.972 GB, free: 2.285 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.265e-05/11.53, allocations: 337.9 kB / 3.972 GB, free: 1.949 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002446/11.53, allocations: 488.9 kB / 3.972 GB, free: 1.473 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002779/11.53, allocations: 0.6815 MB / 3.973 GB, free: 0.7188 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002662/11.53, allocations: 0.5526 MB / 3.974 GB, free: 168 kB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-05/11.53, allocations: 4 kB / 3.974 GB, free: 164 kB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.8002/12.33, allocations: 1.308 MB / 3.975 GB, free: 169.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.161e-05/12.33, allocations: 36.08 kB / 3.975 GB, free: 169.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/12.33, allocations: 3.25 kB / 3.975 GB, free: 169.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.478e-05/12.33, allocations: 7.156 kB / 3.975 GB, free: 169.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002103/12.34, allocations: 219.1 kB / 3.975 GB, free: 169.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.153e-05/12.34, allocations: 7.016 kB / 3.975 GB, free: 169.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003453/12.34, allocations: 314.1 kB / 3.975 GB, free: 169.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003041/12.34, allocations: 46.58 kB / 3.975 GB, free: 169.8 MB / 0.948 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.00105/12.34, allocations: 328.3 kB / 3.976 GB, free: 169.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004442/12.34, allocations: 125.7 kB / 3.976 GB, free: 169.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004224/12.35, allocations: 1.046 MB / 3.977 GB, free: 169.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.002e-05/12.35, allocations: 7.281 kB / 3.977 GB, free: 169.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/12.35, allocations: 1.547 kB / 3.977 GB, free: 169.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/12.35, allocations: 4.844 kB / 3.977 GB, free: 169.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00957/12.36, allocations: 3.345 MB / 3.98 GB, free: 168.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.416e-05/12.36, allocations: 7.844 kB / 3.98 GB, free: 168.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/12.36, allocations: 132.1 kB / 3.98 GB, free: 168.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.79e-05/12.36, allocations: 12.5 kB / 3.98 GB, free: 168.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001421/12.36, allocations: 27.16 kB / 3.98 GB, free: 168.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.568e-05/12.36, allocations: 13.47 kB / 3.98 GB, free: 168.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.75e-05/12.36, allocations: 12.22 kB / 3.98 GB, free: 168.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004611/12.36, allocations: 1.839 MB / 3.982 GB, free: 167.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/12.36, allocations: 335 kB / 3.982 GB, free: 167.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003535/12.36, allocations: 26.66 kB / 3.982 GB, free: 167.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002372/12.37, allocations: 123.3 kB / 3.983 GB, free: 167.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002223/12.37, allocations: 60.94 kB / 3.983 GB, free: 167.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001726/12.37, allocations: 52.03 kB / 3.983 GB, free: 167.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003118/12.37, allocations: 0.878 MB / 3.984 GB, free: 167.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.61e-07/12.37, allocations: 0.75 kB / 3.984 GB, free: 167.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002892/12.37, allocations: 436.3 kB / 3.984 GB, free: 167.3 MB / 0.948 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.009038/12.38, allocations: 6.067 MB / 3.99 GB, free: 163.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006398/12.39, allocations: 1.059 MB / 3.991 GB, free: 163.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.38e-05/12.39, allocations: 0.875 kB / 3.991 GB, free: 163.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001987/12.39, allocations: 0.5313 MB / 3.991 GB, free: 163 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005371/12.39, allocations: 0.5274 MB / 3.992 GB, free: 163 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02655/12.42, allocations: 9.061 MB / 4.001 GB, free: 158.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008961/12.42, allocations: 1.089 MB / 4.002 GB, free: 158.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002441/12.42, allocations: 282.3 kB / 4.002 GB, free: 158.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/12.43, allocations: 367.6 kB / 4.003 GB, free: 158.2 MB / 0.948 GB Notification: Performance of SimCode: time 2.876e-06/12.43, allocations: 1.281 kB / 4.003 GB, free: 158.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1919/12.62, allocations: 51.73 MB / 4.053 GB, free: 157.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002998/12.62, allocations: 243.7 kB / 4.053 GB, free: 157.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.92/17.54, allocations: 3.469 kB / 4.053 GB, free: 157.3 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)