Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example5.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.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 105.4 kB / 15.7 MB, free: 24 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.001773/0.001773, allocations: 198.6 kB / 16.64 MB, free: 6.445 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.481/1.481, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.796/1.796, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001747/0.001747, allocations: 67.09 kB / 0.6722 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2231, allocations: 114.6 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.002203/0.2254, allocations: 0.5336 MB / 0.7846 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002068/0.2256, allocations: 39.81 kB / 0.7847 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.253e-05/0.2257, allocations: 0 / 0.7847 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.511e-05/0.2257, allocations: 0 / 0.7847 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.2259, allocations: 7.984 kB / 0.7847 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.158e-05/0.226, allocations: 3.938 kB / 0.7847 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.708e-05/0.226, allocations: 15.92 kB / 0.7847 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.384e-05/0.2261, allocations: 4 kB / 0.7847 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.764e-05/0.2261, allocations: 0 / 0.7847 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.387e-05/0.2262, allocations: 7.984 kB / 0.7847 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.2262, allocations: 4 kB / 0.7847 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.446e-06/0.2263, allocations: 4 kB / 0.7847 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.549e-05/0.2263, allocations: 3.984 kB / 0.7847 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.16e-05/0.2263, allocations: 15.94 kB / 0.7847 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.162e-05/0.2264, allocations: 7.922 kB / 0.7847 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2264, allocations: 4 kB / 0.7848 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2264, allocations: 0 / 0.7848 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.2264, allocations: 0 / 0.7848 GB, free: 12.09 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004394/0.2269, allocations: 323.5 kB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.2269, allocations: 15.97 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.227, allocations: 4.938 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.2272, allocations: 180.2 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.2272, allocations: 384 / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.2273, allocations: 4.375 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.365e-05/0.2273, allocations: 30.25 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.2273, allocations: 192 / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.2274, allocations: 7.938 kB / 0.7853 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2274, allocations: 0 / 0.7853 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.767e-05/0.2274, allocations: 0 / 0.7853 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/0.2276, allocations: 161.6 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.149e-05/0.2276, allocations: 22.55 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.701e-05/0.2276, allocations: 12.91 kB / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.2277, allocations: 0 / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.2277, allocations: 34.56 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.2277, allocations: 0 / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001433/0.2278, allocations: 49.62 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.2279, allocations: 55.34 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.48e-05/0.228, allocations: 109.8 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.228, allocations: 25.7 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.894e-05/0.228, allocations: 88.14 kB / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.2281, allocations: 0 / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.2281, allocations: 13.7 kB / 0.7858 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.2282, allocations: 314.8 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.911e-05/0.2283, allocations: 8.125 kB / 0.7861 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.28e-05/0.2283, allocations: 21.64 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.228e-05/0.2283, allocations: 17.72 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.2283, allocations: 0 / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.163e-05/0.2284, allocations: 53.53 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.2285, allocations: 8.125 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2285, allocations: 7.938 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.2285, allocations: 0 / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.783e-05/0.2286, allocations: 7.984 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2286, allocations: 0 / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.562e-05/0.2286, allocations: 3.984 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.2286, allocations: 4 kB / 0.7863 GB, free: 10.3 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.857e-05/0.2287, allocations: 109.8 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.11e-05/0.2287, allocations: 4 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.2288, allocations: 56.73 kB / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.2288, allocations: 0 / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.2288, allocations: 4 kB / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-06/0.2289, allocations: 0 / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.229, allocations: 157.7 kB / 0.7866 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.229, allocations: 0 / 0.7866 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.966e-05/0.229, allocations: 4 kB / 0.7866 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.229, allocations: 0 / 0.7866 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.2291, allocations: 3.938 kB / 0.7866 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.2291, allocations: 0 / 0.7866 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2291, allocations: 0 / 0.7866 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.2292, allocations: 92.98 kB / 0.7867 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.116e-05/0.2293, allocations: 77.11 kB / 0.7868 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.2293, allocations: 3.938 kB / 0.7868 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.078e-05/0.2293, allocations: 3.938 kB / 0.7868 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.645e-05/0.2293, allocations: 8.016 kB / 0.7868 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.2293, allocations: 256 / 0.7868 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.638e-05/0.2294, allocations: 95.38 kB / 0.7869 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2294, allocations: 0 / 0.7869 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001805/0.2296, allocations: 0 / 0.7869 GB, free: 9.586 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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.0001132/0.2297, allocations: 101.6 kB / 0.787 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.446e-05/0.2298, allocations: 11.94 kB / 0.787 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.2298, allocations: 0 / 0.787 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.701e-05/0.2298, allocations: 15.92 kB / 0.787 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.23, allocations: 4.188 kB / 0.787 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002913/0.2303, allocations: 117.5 kB / 0.7871 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.2305, allocations: 0.6806 MB / 0.7878 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.198e-05/0.2306, allocations: 4 kB / 0.7878 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.524e-05/0.2306, allocations: 7.438 kB / 0.7878 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.2306, allocations: 0 / 0.7878 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of Templates: time 0.002207/0.2328, allocations: 309 kB / 0.7881 GB, free: 8.285 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example5.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1)