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.001139/0.001139, allocations: 109.8 kB / 15.99 MB, free: 6.34 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.001092/0.001092, allocations: 195.1 kB / 16.91 MB, free: 6.18 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.402/1.402, allocations: 205.1 MB / 222.8 MB, free: 4.719 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.663/1.663, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001392/0.001392, allocations: 69.38 kB / 0.6716 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2486, allocations: 114.6 MB / 0.7835 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001634/0.2502, allocations: 0.5987 MB / 0.7841 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001737/0.2504, allocations: 39.81 kB / 0.7841 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.261e-05/0.2505, allocations: 0 / 0.7841 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.728e-05/0.2505, allocations: 4 kB / 0.7841 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.2507, allocations: 4 kB / 0.7841 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.049e-05/0.2507, allocations: 0 / 0.7841 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.901e-05/0.2508, allocations: 15.97 kB / 0.7841 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.052e-05/0.2508, allocations: 4 kB / 0.7842 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.761e-05/0.2509, allocations: 7.875 kB / 0.7842 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.913e-05/0.251, allocations: 11.98 kB / 0.7842 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.251, allocations: 4 kB / 0.7842 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.653e-06/0.251, allocations: 0 / 0.7842 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.702e-05/0.251, allocations: 0 / 0.7842 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.718e-05/0.2511, allocations: 11.94 kB / 0.7842 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 4.259e-05/0.2511, allocations: 7.969 kB / 0.7842 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2511, allocations: 4 kB / 0.7842 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2511, allocations: 0 / 0.7842 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.2511, allocations: 0 / 0.7842 GB, free: 13.22 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.000412/0.2515, allocations: 323.5 kB / 0.7845 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.2516, allocations: 16.03 kB / 0.7845 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.723e-05/0.2516, allocations: 0.9375 kB / 0.7845 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.2518, allocations: 180.5 kB / 0.7847 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.353e-06/0.2518, allocations: 384 / 0.7847 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.2518, allocations: 8.312 kB / 0.7847 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.577e-05/0.2519, allocations: 30.25 kB / 0.7847 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.2519, allocations: 192 / 0.7847 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.252, allocations: 7.938 kB / 0.7847 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.252, allocations: 3.938 kB / 0.7847 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.813e-05/0.252, allocations: 4 kB / 0.7847 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001638/0.2521, allocations: 153.7 kB / 0.7849 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.703e-05/0.2522, allocations: 18.61 kB / 0.7849 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.956e-05/0.2522, allocations: 12.91 kB / 0.7849 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.2522, allocations: 0 / 0.7849 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.2523, allocations: 38.56 kB / 0.785 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.2523, allocations: 0 / 0.785 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001303/0.2524, allocations: 53.56 kB / 0.785 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.2524, allocations: 51.41 kB / 0.7851 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.583e-05/0.2525, allocations: 109.8 kB / 0.7852 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.2526, allocations: 25.7 kB / 0.7852 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.297e-05/0.2526, allocations: 92.14 kB / 0.7853 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.2526, allocations: 0 / 0.7853 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.2527, allocations: 13.7 kB / 0.7853 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.2528, allocations: 315 kB / 0.7856 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.413e-05/0.2528, allocations: 8 kB / 0.7856 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.524e-05/0.2528, allocations: 17.7 kB / 0.7856 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.956e-05/0.2529, allocations: 21.66 kB / 0.7856 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2529, allocations: 0 / 0.7856 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.933e-05/0.2529, allocations: 53.53 kB / 0.7857 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.253, allocations: 12.12 kB / 0.7857 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.253, allocations: 3.938 kB / 0.7857 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.253, allocations: 0 / 0.7857 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.556e-05/0.2531, allocations: 7.984 kB / 0.7857 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.2531, allocations: 0 / 0.7857 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.161e-05/0.2531, allocations: 0 / 0.7857 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.2531, allocations: 4 kB / 0.7857 GB, free: 11.43 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 6.248e-05/0.2532, allocations: 105.8 kB / 0.7858 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.207e-06/0.2532, allocations: 4 kB / 0.7858 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.245e-05/0.2533, allocations: 56.73 kB / 0.7859 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2533, allocations: 0 / 0.7859 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2533, allocations: 0 / 0.7859 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.2533, allocations: 7.938 kB / 0.7859 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.2534, allocations: 153.7 kB / 0.786 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.2534, allocations: 0 / 0.786 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.685e-05/0.2535, allocations: 4 kB / 0.786 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2535, allocations: 0 / 0.786 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.2535, allocations: 7.875 kB / 0.786 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2535, allocations: 0 / 0.786 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2535, allocations: 4.031 kB / 0.786 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.2536, allocations: 85.05 kB / 0.7861 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.251e-05/0.2537, allocations: 77.11 kB / 0.7862 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.2537, allocations: 3.938 kB / 0.7862 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.995e-05/0.2537, allocations: 256 / 0.7862 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.872e-05/0.2538, allocations: 11.97 kB / 0.7862 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.2538, allocations: 7.938 kB / 0.7862 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.638e-05/0.2538, allocations: 87.38 kB / 0.7863 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.273e-06/0.2538, allocations: 4 kB / 0.7863 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001684/0.254, allocations: 3.938 kB / 0.7863 GB, free: 10.71 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 9.716e-05/0.2541, allocations: 99.23 kB / 0.7864 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.915e-05/0.2542, allocations: 8 kB / 0.7864 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2542, allocations: 0 / 0.7864 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.671e-05/0.2542, allocations: 11.98 kB / 0.7864 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.2544, allocations: 8.188 kB / 0.7864 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002571/0.2546, allocations: 146.5 kB / 0.7866 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.2548, allocations: 0.6768 MB / 0.7872 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.245e-05/0.2549, allocations: 7.438 kB / 0.7872 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2549, allocations: 0 / 0.7872 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of Templates: time 0.001478/0.2564, allocations: 0.5088 MB / 0.7877 GB, free: 9.188 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)