Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8.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.Examples.Performance.Example8,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example8",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.506/1.506, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0009104/0.0009104, allocations: 180.8 kB / 325.8 MB, free: 2.695 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.325/1.325, allocations: 205 MB / 0.576 GB, free: 21 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.0007106/0.0007106, allocations: 85.66 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002712/0.0002712, allocations: 10.38 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1499, allocations: 105.4 MB / 0.8962 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.0005579/0.1505, allocations: 274.2 kB / 0.8965 GB, free: 67.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 9.659e-05/0.1506, allocations: 11.98 kB / 0.8965 GB, free: 67.8 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.886e-05/0.1507, allocations: 0 / 0.8965 GB, free: 67.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.515e-05/0.1507, allocations: 0 / 0.8965 GB, free: 67.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.1508, allocations: 0 / 0.8965 GB, free: 67.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.385e-06/0.1508, allocations: 7.938 kB / 0.8965 GB, free: 67.8 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.259e-05/0.1509, allocations: 3.938 kB / 0.8965 GB, free: 67.79 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.06e-05/0.1509, allocations: 0 / 0.8965 GB, free: 67.79 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.175e-05/0.1509, allocations: 0 / 0.8965 GB, free: 67.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.309e-05/0.151, allocations: 11.98 kB / 0.8965 GB, free: 67.78 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.137e-06/0.151, allocations: 0 / 0.8965 GB, free: 67.78 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.538e-06/0.151, allocations: 0 / 0.8965 GB, free: 67.78 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.616e-06/0.151, allocations: 3.984 kB / 0.8965 GB, free: 67.78 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.008e-05/0.151, allocations: 0 / 0.8965 GB, free: 67.78 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 2.753e-05/0.151, allocations: 3.938 kB / 0.8965 GB, free: 67.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1511, allocations: 0 / 0.8965 GB, free: 67.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1511, allocations: 4 kB / 0.8965 GB, free: 67.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.845e-06/0.1511, allocations: 0 / 0.8965 GB, free: 67.77 MB / 0.6042 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.0001426/0.1512, allocations: 307.8 kB / 0.8968 GB, free: 67.42 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.1513, allocations: 12.09 kB / 0.8968 GB, free: 67.41 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.254e-05/0.1513, allocations: 34.75 kB / 0.8968 GB, free: 67.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.913e-05/0.1513, allocations: 0.9375 kB / 0.8968 GB, free: 67.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.94e-05/0.1514, allocations: 168.3 kB / 0.897 GB, free: 67.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.1514, allocations: 8.312 kB / 0.897 GB, free: 67.15 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.811e-06/0.1514, allocations: 4.312 kB / 0.897 GB, free: 67.15 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.823e-05/0.1515, allocations: 43.98 kB / 0.8971 GB, free: 67.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.1515, allocations: 3.938 kB / 0.8971 GB, free: 67.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.521e-06/0.1515, allocations: 4 kB / 0.8971 GB, free: 67.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.1515, allocations: 4 kB / 0.8971 GB, free: 67.08 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.799e-05/0.1515, allocations: 0 / 0.8971 GB, free: 67.08 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.703e-05/0.1516, allocations: 162.5 kB / 0.8972 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.331e-05/0.1517, allocations: 33.28 kB / 0.8973 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.671e-05/0.1517, allocations: 13.72 kB / 0.8973 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.1517, allocations: 0 / 0.8973 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.496e-05/0.1517, allocations: 46.55 kB / 0.8973 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.1517, allocations: 0 / 0.8973 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001079/0.1518, allocations: 41.58 kB / 0.8974 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.019e-05/0.1519, allocations: 77.11 kB / 0.8974 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.378e-05/0.1519, allocations: 94.11 kB / 0.8975 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.272e-06/0.1519, allocations: 33.7 kB / 0.8975 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.666e-06/0.1519, allocations: 80.14 kB / 0.8976 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.1519, allocations: 7.891 kB / 0.8976 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.664e-05/0.152, allocations: 9.719 kB / 0.8976 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.351e-05/0.152, allocations: 311.7 kB / 0.8979 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.796e-06/0.152, allocations: 4 kB / 0.8979 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.09e-05/0.152, allocations: 13.72 kB / 0.898 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.743e-05/0.1521, allocations: 25.72 kB / 0.898 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1521, allocations: 0 / 0.898 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.802e-05/0.1521, allocations: 41.69 kB / 0.898 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.1521, allocations: 4 kB / 0.898 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1522, allocations: 7.875 kB / 0.898 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.1522, allocations: 4 kB / 0.898 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.392e-05/0.1522, allocations: 0 / 0.898 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.1522, allocations: 4 kB / 0.898 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.53e-05/0.1523, allocations: 8 kB / 0.898 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.1523, allocations: 0 / 0.898 GB, free: 65.92 MB / 0.6042 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.359e-05/0.1523, allocations: 109.8 kB / 0.8982 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.935e-06/0.1523, allocations: 4 kB / 0.8982 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.496e-05/0.1524, allocations: 52.69 kB / 0.8982 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1524, allocations: 0 / 0.8982 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1525, allocations: 4.062 kB / 0.8982 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1525, allocations: 0 / 0.8982 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.672e-05/0.1525, allocations: 153.7 kB / 0.8984 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1525, allocations: 0 / 0.8984 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.158e-05/0.1526, allocations: 7.984 kB / 0.8984 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1526, allocations: 0 / 0.8984 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.1526, allocations: 7.875 kB / 0.8984 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.1526, allocations: 4 kB / 0.8984 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1526, allocations: 0 / 0.8984 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.423e-05/0.1526, allocations: 73.92 kB / 0.8984 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.611e-05/0.1527, allocations: 81.09 kB / 0.8985 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.1527, allocations: 7.938 kB / 0.8985 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.419e-05/0.1527, allocations: 0 / 0.8985 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.132e-05/0.1527, allocations: 0 / 0.8985 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.1527, allocations: 0 / 0.8985 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.077e-05/0.1527, allocations: 75.28 kB / 0.8986 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8e-08/0.1527, allocations: 0 / 0.8986 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001947/0.1529, allocations: 8.031 kB / 0.8986 GB, free: 65.23 MB / 0.6042 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001886/0.1531, allocations: 0.6016 MB / 0.8992 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.365e-05/0.1532, allocations: 12.03 kB / 0.8992 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1532, allocations: 4 kB / 0.8992 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.694e-06/0.1532, allocations: 3.984 kB / 0.8992 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001228/0.1533, allocations: 4 kB / 0.8992 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002359/0.1536, allocations: 125.1 kB / 0.8993 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.259e-05/0.1537, allocations: 0.6809 MB / 0.9 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.927e-05/0.1537, allocations: 192 / 0.9 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.901e-05/0.1537, allocations: 11.44 kB / 0.9 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/0.1537, allocations: 0 / 0.9 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2045/0.3583, allocations: 0.7503 MB / 0.9007 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001536/0.3584, allocations: 204.1 kB / 0.9009 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.435/1.793, allocations: 0 / 0.9009 GB, free: 62.81 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1)