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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009343/0.0009342, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009012/0.0009012, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.315/1.315, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.596/1.596, allocations: 292.5 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004886/0.0004887, allocations: 13.34 kB / 0.6735 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2058, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.0006576/0.2065, allocations: 260.3 kB / 0.7874 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001229/0.2066, allocations: 15.94 kB / 0.7874 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.862e-05/0.2067, allocations: 0 / 0.7874 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.067e-05/0.2067, allocations: 0 / 0.7874 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.2068, allocations: 0 / 0.7874 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 2.745e-06/0.2068, allocations: 0 / 0.7874 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.399e-05/0.2069, allocations: 0 / 0.7874 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.909e-05/0.2069, allocations: 7.984 kB / 0.7874 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.611e-05/0.2069, allocations: 3.984 kB / 0.7874 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.63e-05/0.207, allocations: 0 / 0.7874 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.207, allocations: 4 kB / 0.7874 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.121e-06/0.207, allocations: 0 / 0.7874 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.16e-06/0.207, allocations: 0 / 0.7874 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.947e-05/0.207, allocations: 29.64 kB / 0.7874 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 2.517e-05/0.2071, allocations: 4 kB / 0.7874 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.2071, allocations: 0 / 0.7874 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2071, allocations: 0 / 0.7874 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.2071, allocations: 0 / 0.7874 GB, free: 11.66 MB / 0.6075 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.0002415/0.2073, allocations: 311.3 kB / 0.7877 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.2074, allocations: 16.08 kB / 0.7877 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.39e-05/0.2074, allocations: 4 kB / 0.7877 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.871e-05/0.2075, allocations: 164.7 kB / 0.7879 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.2076, allocations: 0 / 0.7879 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-06/0.2076, allocations: 0 / 0.7879 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.2077, allocations: 39.42 kB / 0.7879 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.2077, allocations: 0 / 0.7879 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.2077, allocations: 0 / 0.7879 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.2077, allocations: 4 kB / 0.7879 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.258e-05/0.2078, allocations: 11.92 kB / 0.7879 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.2079, allocations: 158.5 kB / 0.7881 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.675e-05/0.208, allocations: 41.19 kB / 0.7881 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.208, allocations: 0 / 0.7881 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.208, allocations: 38.55 kB / 0.7882 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.2081, allocations: 0 / 0.7882 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.000136/0.2082, allocations: 41.7 kB / 0.7882 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.2082, allocations: 81.11 kB / 0.7883 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.665e-05/0.2083, allocations: 89.86 kB / 0.7884 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.2083, allocations: 25.7 kB / 0.7884 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.441e-05/0.2083, allocations: 80.14 kB / 0.7885 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.2084, allocations: 8.172 kB / 0.7885 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-06/0.2084, allocations: 8.188 kB / 0.7885 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.2085, allocations: 310.8 kB / 0.7888 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.118e-05/0.2085, allocations: 8 kB / 0.7888 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.464e-05/0.2085, allocations: 9.719 kB / 0.7888 GB, free: 10 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.04e-05/0.2086, allocations: 4 kB / 0.7888 GB, free: 10 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.2086, allocations: 0 / 0.7888 GB, free: 10 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.93e-05/0.2086, allocations: 53.67 kB / 0.7889 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.2087, allocations: 10.81 kB / 0.7889 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.2087, allocations: 0 / 0.7889 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.2087, allocations: 0 / 0.7889 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.607e-05/0.2088, allocations: 4 kB / 0.7889 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.2088, allocations: 0 / 0.7889 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.015e-05/0.2088, allocations: 7.938 kB / 0.7889 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.2088, allocations: 4 kB / 0.7889 GB, free: 9.918 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.403e-05/0.2089, allocations: 113.7 kB / 0.789 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.978e-06/0.2089, allocations: 7.984 kB / 0.789 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.2091, allocations: 52.66 kB / 0.789 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.2091, allocations: 4 kB / 0.7891 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.2091, allocations: 3.984 kB / 0.7891 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.2091, allocations: 0 / 0.7891 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.2092, allocations: 145.7 kB / 0.7892 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2092, allocations: 4 kB / 0.7892 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.375e-05/0.2092, allocations: 0 / 0.7892 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.2092, allocations: 4 kB / 0.7892 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.2093, allocations: 12.02 kB / 0.7892 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.2093, allocations: 3.984 kB / 0.7892 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2093, allocations: 0 / 0.7892 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.975e-05/0.2094, allocations: 75.7 kB / 0.7893 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.966e-05/0.2094, allocations: 85.06 kB / 0.7894 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.2094, allocations: 11.95 kB / 0.7894 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.478e-05/0.2094, allocations: 0 / 0.7894 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.285e-05/0.2095, allocations: 4 kB / 0.7894 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-06/0.2095, allocations: 0 / 0.7894 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.582e-05/0.2095, allocations: 75.28 kB / 0.7895 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2095, allocations: 0 / 0.7895 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001813/0.2097, allocations: 0 / 0.7895 GB, free: 9.211 MB / 0.6075 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 (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.0001032/0.2098, allocations: 99.25 kB / 0.7896 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.884e-05/0.2099, allocations: 12 kB / 0.7896 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2099, allocations: 0 / 0.7896 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-05/0.2099, allocations: 11.92 kB / 0.7896 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.204e-05/0.21, allocations: 3.094 kB / 0.7896 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001772/0.2102, allocations: 91.75 kB / 0.7897 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.2104, allocations: 0.677 MB / 0.7903 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.825e-05/0.2105, allocations: 4.25 kB / 0.7903 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.594e-05/0.2105, allocations: 7.438 kB / 0.7903 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.2105, allocations: 0 / 0.7903 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of Templates: time 0.001757/0.2122, allocations: 180.5 kB / 0.7905 GB, free: 8.066 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example8.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) Environment - environmentSimulation: