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.001199/0.001199, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 194.2 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.365/1.365, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.77/1.77, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001498/0.001498, allocations: 69.53 kB / 0.6715 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2195, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001718/0.2212, allocations: 0.5222 MB / 0.7839 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001208/0.2214, allocations: 15.92 kB / 0.7839 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.508e-05/0.2214, allocations: 0 / 0.7839 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.362e-05/0.2214, allocations: 0 / 0.7839 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.2215, allocations: 0 / 0.7839 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.9e-06/0.2215, allocations: 0 / 0.7839 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.771e-05/0.2216, allocations: 7.984 kB / 0.7839 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.64e-05/0.2217, allocations: 7.984 kB / 0.7839 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.274e-05/0.2217, allocations: 4 kB / 0.7839 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.227e-05/0.2217, allocations: 0 / 0.7839 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.2217, allocations: 4 kB / 0.7839 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.2e-06/0.2217, allocations: 3.938 kB / 0.7839 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.2218, allocations: 3.938 kB / 0.7839 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.224e-05/0.2218, allocations: 0 / 0.7839 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 3.604e-05/0.2218, allocations: 0 / 0.7839 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.2218, allocations: 0 / 0.7839 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2218, allocations: 3.938 kB / 0.7839 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.2218, allocations: 0 / 0.7839 GB, free: 12.91 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.0002568/0.2221, allocations: 319.6 kB / 0.7842 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.2221, allocations: 12.03 kB / 0.7842 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.844e-05/0.2222, allocations: 4.938 kB / 0.7842 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.753e-05/0.2223, allocations: 160.4 kB / 0.7844 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.2223, allocations: 384 / 0.7844 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.281e-06/0.2223, allocations: 384 / 0.7844 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.638e-05/0.2224, allocations: 47.97 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.61e-06/0.2224, allocations: 192 / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.2224, allocations: 7.938 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.2224, allocations: 0 / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.976e-05/0.2224, allocations: 7.938 kB / 0.7844 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001422/0.2226, allocations: 154.6 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.051e-05/0.2227, allocations: 45.17 kB / 0.7846 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.283e-05/0.2227, allocations: 17.66 kB / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.2227, allocations: 3.984 kB / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.2227, allocations: 38.62 kB / 0.7847 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.2227, allocations: 0 / 0.7847 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001358/0.2229, allocations: 45.56 kB / 0.7847 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.2229, allocations: 77.11 kB / 0.7848 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.23e-05/0.223, allocations: 94.11 kB / 0.7849 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.223, allocations: 29.7 kB / 0.7849 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.409e-05/0.223, allocations: 84.14 kB / 0.785 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.2231, allocations: 4.188 kB / 0.785 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.461e-05/0.2231, allocations: 9.719 kB / 0.785 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.996e-05/0.2232, allocations: 314.8 kB / 0.7853 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.258e-05/0.2232, allocations: 4 kB / 0.7853 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.836e-05/0.2232, allocations: 21.64 kB / 0.7853 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.199e-05/0.2233, allocations: 17.78 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2233, allocations: 0 / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.656e-05/0.2233, allocations: 41.64 kB / 0.7854 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.2234, allocations: 8.938 kB / 0.7854 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2234, allocations: 3.984 kB / 0.7854 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.2234, allocations: 3.938 kB / 0.7854 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.398e-05/0.2235, allocations: 4 kB / 0.7854 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2235, allocations: 8.047 kB / 0.7854 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.655e-05/0.2235, allocations: 3.938 kB / 0.7854 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.2235, allocations: 3.984 kB / 0.7854 GB, free: 11.08 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.59e-05/0.2236, allocations: 112.7 kB / 0.7855 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.065e-06/0.2236, allocations: 0 / 0.7855 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.2237, allocations: 56.59 kB / 0.7856 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2237, allocations: 3.938 kB / 0.7856 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2237, allocations: 8.062 kB / 0.7856 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.2237, allocations: 0 / 0.7856 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.89e-05/0.2238, allocations: 149.7 kB / 0.7858 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2238, allocations: 0 / 0.7858 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.114e-05/0.2239, allocations: 4 kB / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2239, allocations: 0 / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.2239, allocations: 7.938 kB / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.2239, allocations: 0 / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.2239, allocations: 7.938 kB / 0.7858 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.166e-05/0.224, allocations: 73.92 kB / 0.7858 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.076e-05/0.224, allocations: 81.11 kB / 0.7859 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.2241, allocations: 3.938 kB / 0.7859 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.451e-05/0.2241, allocations: 0 / 0.7859 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.749e-05/0.2241, allocations: 3.984 kB / 0.7859 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.2241, allocations: 4 kB / 0.7859 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.206e-05/0.2241, allocations: 75.28 kB / 0.786 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2241, allocations: 4.031 kB / 0.786 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001741/0.2243, allocations: 0 / 0.786 GB, free: 10.39 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.174e-05/0.2244, allocations: 99.25 kB / 0.7861 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.079e-05/0.2245, allocations: 11.94 kB / 0.7861 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2245, allocations: 0 / 0.7861 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.258e-06/0.2245, allocations: 4 kB / 0.7861 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/0.2247, allocations: 7.078 kB / 0.7861 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001921/0.2249, allocations: 97.98 kB / 0.7862 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.2251, allocations: 0.669 MB / 0.7869 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.654e-05/0.2251, allocations: 0 / 0.7869 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.2251, allocations: 15.42 kB / 0.7869 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2251, allocations: 0 / 0.7869 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of Templates: time 0.001743/0.2269, allocations: 189.1 kB / 0.7871 GB, free: 9.238 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example8.makefile (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)