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.001113/0.001114, allocations: 100.6 kB / 16.36 MB, free: 6.426 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.001157/0.001157, allocations: 196.5 kB / 17.3 MB, free: 5.797 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.324/1.324, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.748/1.748, allocations: 292.3 MB / 0.5496 GB, free: 17.43 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.001552/0.001552, allocations: 71.89 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2058, allocations: 114.5 MB / 0.7848 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001739/0.2075, allocations: 0.5304 MB / 0.7853 GB, free: 2.68 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000158/0.2077, allocations: 47.8 kB / 0.7853 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.272e-05/0.2078, allocations: 0 / 0.7853 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.657e-05/0.2078, allocations: 0 / 0.7853 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.2079, allocations: 3.938 kB / 0.7853 GB, free: 2.629 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 5.576e-05/0.208, allocations: 8 kB / 0.7853 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.33e-05/0.2081, allocations: 8 kB / 0.7854 GB, free: 2.613 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.047e-05/0.2081, allocations: 7.922 kB / 0.7854 GB, free: 2.605 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.902e-05/0.2082, allocations: 7.938 kB / 0.7854 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.514e-05/0.2082, allocations: 8 kB / 0.7854 GB, free: 2.59 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.2083, allocations: 0 / 0.7854 GB, free: 2.59 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.564e-06/0.2083, allocations: 3.938 kB / 0.7854 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.215e-05/0.2083, allocations: 11.97 kB / 0.7854 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.761e-05/0.2084, allocations: 3.938 kB / 0.7854 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 5.765e-05/0.2084, allocations: 15.92 kB / 0.7854 GB, free: 2.555 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2084, allocations: 0 / 0.7854 GB, free: 2.555 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2084, allocations: 4 kB / 0.7854 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.974e-06/0.2085, allocations: 0 / 0.7854 GB, free: 2.551 MB / 0.6544 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.0003903/0.2089, allocations: 327.5 kB / 0.7857 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.2089, allocations: 8.031 kB / 0.7857 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.816e-05/0.2089, allocations: 0.9375 kB / 0.7857 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.2091, allocations: 176.3 kB / 0.7859 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.2091, allocations: 4.375 kB / 0.7859 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.2091, allocations: 384 / 0.7859 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.836e-05/0.2092, allocations: 34.25 kB / 0.7859 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.2092, allocations: 4.188 kB / 0.7859 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.2092, allocations: 3.938 kB / 0.7859 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.2092, allocations: 0 / 0.7859 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.978e-05/0.2093, allocations: 7.938 kB / 0.786 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001441/0.2094, allocations: 153.7 kB / 0.7861 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.698e-05/0.2095, allocations: 18.58 kB / 0.7861 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.915e-05/0.2095, allocations: 8.844 kB / 0.7861 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.2095, allocations: 4 kB / 0.7861 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.2095, allocations: 34.62 kB / 0.7862 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.2095, allocations: 0 / 0.7862 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001202/0.2097, allocations: 49.47 kB / 0.7862 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.2097, allocations: 55.41 kB / 0.7863 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.617e-05/0.2098, allocations: 113.8 kB / 0.7864 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.2098, allocations: 25.7 kB / 0.7864 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.999e-05/0.2099, allocations: 80.27 kB / 0.7865 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.2099, allocations: 4 kB / 0.7865 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.2099, allocations: 17.72 kB / 0.7865 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.941e-05/0.21, allocations: 314.8 kB / 0.7868 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.491e-05/0.21, allocations: 4 kB / 0.7868 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.717e-05/0.2101, allocations: 13.72 kB / 0.7868 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.169e-05/0.2101, allocations: 33.7 kB / 0.7868 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.2101, allocations: 0 / 0.7868 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.161e-05/0.2102, allocations: 45.59 kB / 0.7869 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.2102, allocations: 4 kB / 0.7869 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2102, allocations: 11.81 kB / 0.7869 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.2102, allocations: 4 kB / 0.7869 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.437e-05/0.2103, allocations: 11.94 kB / 0.7869 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.2103, allocations: 3.984 kB / 0.7869 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.273e-05/0.2104, allocations: 0 / 0.7869 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.2104, allocations: 4.062 kB / 0.7869 GB, free: 0.7656 MB / 0.6544 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.298e-05/0.2105, allocations: 109.8 kB / 0.787 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.627e-06/0.2105, allocations: 0 / 0.787 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.2106, allocations: 52.75 kB / 0.7871 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2106, allocations: 0 / 0.7871 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.2106, allocations: 3.984 kB / 0.7871 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.2106, allocations: 3.984 kB / 0.7871 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.2107, allocations: 157.7 kB / 0.7872 GB, free: 388 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2107, allocations: 0 / 0.7872 GB, free: 388 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.509e-05/0.2108, allocations: 8.031 kB / 0.7872 GB, free: 380 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2108, allocations: 3.938 kB / 0.7872 GB, free: 376 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.2108, allocations: 7.938 kB / 0.7873 GB, free: 368 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2108, allocations: 0 / 0.7873 GB, free: 368 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2108, allocations: 0 / 0.7873 GB, free: 368 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.2109, allocations: 73.11 kB / 0.7873 GB, free: 276 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.374e-05/0.211, allocations: 81.02 kB / 0.7874 GB, free: 176 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.211, allocations: 8.062 kB / 0.7874 GB, free: 168 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.211e-05/0.211, allocations: 4 kB / 0.7874 GB, free: 164 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.101e-05/0.2111, allocations: 0 / 0.7874 GB, free: 164 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.2111, allocations: 0 / 0.7874 GB, free: 164 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.948e-05/0.2111, allocations: 95.52 kB / 0.7875 GB, free: 68 kB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2111, allocations: 0 / 0.7875 GB, free: 68 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001862/0.2113, allocations: 4 kB / 0.7875 GB, free: 64 kB / 0.6544 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.2948/0.5061, allocations: 96.22 kB / 0.7876 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001823/0.5064, allocations: 16.22 kB / 0.7876 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5064, allocations: 1.125 kB / 0.7876 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.737e-05/0.5064, allocations: 6.656 kB / 0.7876 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.5066, allocations: 6.672 kB / 0.7876 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002952/0.5069, allocations: 104.4 kB / 0.7877 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.507, allocations: 0.6798 MB / 0.7884 GB, free: 48 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.218e-05/0.507, allocations: 6.531 kB / 0.7884 GB, free: 48 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.263e-05/0.5071, allocations: 13.12 kB / 0.7884 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of SimCode: time 3.31e-07/0.5071, allocations: 0 / 0.7884 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of Templates: time 0.002149/0.5092, allocations: 306.2 kB / 0.7887 GB, free: 47.99 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1)