Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.799/1.799, allocations: 289.9 MB / 297.4 MB, free: 6.379 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.001329/0.00133, allocations: 180.9 kB / 366.7 MB, free: 1.637 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.919/1.919, allocations: 205.2 MB / 0.626 GB, free: 7.18 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.001149/0.001149, allocations: 86.66 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.922e-05/2.924e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7124/0.7124, allocations: 116.3 MB / 0.9733 GB, free: 76.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2053/0.9178, allocations: 137.4 MB / 1.107 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.9181, allocations: 67.95 kB / 1.108 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0008472/0.9189, allocations: 409.8 kB / 1.108 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.703e-06/0.919, allocations: 0.5 kB / 1.108 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.919, allocations: 1 kB / 1.108 GB, free: 12.34 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002599/0.9192, allocations: 313 kB / 1.108 GB, free: 12 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.029e-05/0.9193, allocations: 12.09 kB / 1.108 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.9194, allocations: 3.984 kB / 1.108 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.9195, allocations: 163.8 kB / 1.108 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.9195, allocations: 0 / 1.108 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.9195, allocations: 4 kB / 1.108 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.024e-05/0.9196, allocations: 4.531 kB / 1.108 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.671e-05/0.9197, allocations: 44.8 kB / 1.108 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.9197, allocations: 0 / 1.108 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.9197, allocations: 0 / 1.108 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.9197, allocations: 1.062 kB / 1.108 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/0.9199, allocations: 140.9 kB / 1.109 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.834e-05/0.92, allocations: 38.23 kB / 1.109 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.256e-05/0.92, allocations: 10.66 kB / 1.109 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.92, allocations: 4.75 kB / 1.109 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.9201, allocations: 39.66 kB / 1.109 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.9201, allocations: 0 / 1.109 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.000147/0.9202, allocations: 38.47 kB / 1.109 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.9203, allocations: 77.86 kB / 1.109 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.962e-05/0.9203, allocations: 85.72 kB / 1.109 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.9203, allocations: 25.7 kB / 1.109 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.237e-05/0.9204, allocations: 80.86 kB / 1.109 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.9204, allocations: 8.688 kB / 1.109 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-06/0.9204, allocations: 4.969 kB / 1.109 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.9206, allocations: 319.4 kB / 1.109 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.788e-06/0.9206, allocations: 1.562 kB / 1.109 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.795e-05/0.9206, allocations: 13.72 kB / 1.109 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.528e-05/0.9206, allocations: 5.547 kB / 1.109 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.9206, allocations: 0 / 1.109 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.759e-05/0.9207, allocations: 34.48 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.9207, allocations: 9.047 kB / 1.109 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.9208, allocations: 4.562 kB / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.9208, allocations: 0 / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.09e-05/0.9209, allocations: 8.469 kB / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.9209, allocations: 8.453 kB / 1.109 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.804e-05/0.9209, allocations: 0 / 1.109 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.9209, allocations: 0 / 1.109 GB, free: 10.67 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 8.392e-05/0.921, allocations: 114.2 kB / 1.109 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.598e-05/0.9211, allocations: 44.83 kB / 1.11 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.256e-06/0.9211, allocations: 3.953 kB / 1.11 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.9212, allocations: 45.34 kB / 1.11 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.9212, allocations: 3.984 kB / 1.11 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.9212, allocations: 2.406 kB / 1.11 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.9213, allocations: 4 kB / 1.11 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.9214, allocations: 130.2 kB / 1.11 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.9214, allocations: 0 / 1.11 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.208e-05/0.9214, allocations: 7.938 kB / 1.11 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.9214, allocations: 0 / 1.11 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.9214, allocations: 7.703 kB / 1.11 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.9214, allocations: 4 kB / 1.11 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.9215, allocations: 0 / 1.11 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000103/0.9216, allocations: 75.7 kB / 1.11 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.786e-05/0.9216, allocations: 81.06 kB / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.9216, allocations: 0.5 kB / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.9e-05/0.9217, allocations: 4.812 kB / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.741e-05/0.9217, allocations: 3.984 kB / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.9217, allocations: 0.5625 kB / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.593e-05/0.9217, allocations: 76.03 kB / 1.11 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9217, allocations: 0 / 1.11 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001876/0.9219, allocations: 9.188 kB / 1.11 GB, free: 9.988 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0004649/0.9224, allocations: 0.6856 MB / 1.111 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.239e-05/0.9225, allocations: 8 kB / 1.111 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.9225, allocations: 0 / 1.111 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.204e-05/0.9225, allocations: 7.938 kB / 1.111 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000116/0.9227, allocations: 5.875 kB / 1.111 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003129/0.923, allocations: 89.36 kB / 1.111 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.9232, allocations: 0.6729 MB / 1.111 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.43e-05/0.9233, allocations: 0 / 1.111 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.13e-05/0.9233, allocations: 15.42 kB / 1.111 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of SimCode: time 5.01e-07/0.9233, allocations: 0 / 1.111 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01952/0.9429, allocations: 454.6 kB / 1.112 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/0.9431, allocations: 127.9 kB / 1.112 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/2.595, allocations: 0 / 1.112 GB, free: 7.805 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1)