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.001348/0.001349, allocations: 100.9 kB / 16.27 MB, free: 6.418 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.001268/0.001269, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.337/1.337, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.758/1.758, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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.001398/0.001398, allocations: 67.03 kB / 0.6721 GB, free: 6.629 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2216, allocations: 114.6 MB / 0.784 GB, free: 3.965 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001782/0.2234, allocations: 0.5374 MB / 0.7845 GB, free: 3.426 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000173/0.2236, allocations: 35.88 kB / 0.7846 GB, free: 3.391 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.419e-05/0.2237, allocations: 4 kB / 0.7846 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.611e-05/0.2237, allocations: 11.94 kB / 0.7846 GB, free: 3.375 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.2239, allocations: 4 kB / 0.7846 GB, free: 3.371 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 5.628e-05/0.2239, allocations: 7.984 kB / 0.7846 GB, free: 3.363 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.216e-05/0.224, allocations: 11.92 kB / 0.7846 GB, free: 3.352 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.179e-05/0.2241, allocations: 0 / 0.7846 GB, free: 3.352 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.047e-05/0.2241, allocations: 11.94 kB / 0.7846 GB, free: 3.34 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.631e-05/0.2242, allocations: 7.984 kB / 0.7846 GB, free: 3.332 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.2242, allocations: 0 / 0.7846 GB, free: 3.332 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.164e-06/0.2242, allocations: 0 / 0.7846 GB, free: 3.332 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.287e-05/0.2243, allocations: 4 kB / 0.7846 GB, free: 3.328 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.88e-05/0.2243, allocations: 11.92 kB / 0.7846 GB, free: 3.316 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 5.942e-05/0.2244, allocations: 7.984 kB / 0.7847 GB, free: 3.309 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.2244, allocations: 7.938 kB / 0.7847 GB, free: 3.301 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2244, allocations: 0 / 0.7847 GB, free: 3.301 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.2244, allocations: 0 / 0.7847 GB, free: 3.301 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.0004565/0.2248, allocations: 331.5 kB / 0.785 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.2249, allocations: 8.031 kB / 0.785 GB, free: 2.918 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.587e-05/0.2249, allocations: 0.9375 kB / 0.785 GB, free: 2.918 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.2252, allocations: 172.6 kB / 0.7852 GB, free: 2.711 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.2252, allocations: 8.375 kB / 0.7852 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.2252, allocations: 384 / 0.7852 GB, free: 2.703 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.954e-05/0.2253, allocations: 38.19 kB / 0.7852 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.2253, allocations: 192 / 0.7852 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.2253, allocations: 3.938 kB / 0.7852 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2253, allocations: 0 / 0.7852 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.155e-05/0.2253, allocations: 7.984 kB / 0.7852 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/0.2255, allocations: 149.7 kB / 0.7853 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 4.23e-05/0.2255, allocations: 22.56 kB / 0.7854 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.978e-05/0.2256, allocations: 8.922 kB / 0.7854 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.2256, allocations: 3.938 kB / 0.7854 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.2256, allocations: 30.56 kB / 0.7854 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.2256, allocations: 0 / 0.7854 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001436/0.2258, allocations: 53.53 kB / 0.7855 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.2258, allocations: 55.39 kB / 0.7855 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.416e-05/0.2259, allocations: 113.9 kB / 0.7856 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.2259, allocations: 33.69 kB / 0.7857 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/0.226, allocations: 80.14 kB / 0.7857 GB, free: 2 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.226, allocations: 4 kB / 0.7857 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.817e-05/0.226, allocations: 13.72 kB / 0.7858 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.2261, allocations: 310.8 kB / 0.786 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.665e-05/0.2262, allocations: 7.984 kB / 0.7861 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.653e-05/0.2262, allocations: 25.66 kB / 0.7861 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.554e-05/0.2262, allocations: 21.7 kB / 0.7861 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.2262, allocations: 0 / 0.7861 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.081e-05/0.2263, allocations: 53.53 kB / 0.7862 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.2263, allocations: 4 kB / 0.7862 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.2264, allocations: 3.938 kB / 0.7862 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.2264, allocations: 3.938 kB / 0.7862 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.083e-05/0.2264, allocations: 4.125 kB / 0.7862 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.2265, allocations: 4 kB / 0.7862 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.465e-05/0.2265, allocations: 4 kB / 0.7862 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.2265, allocations: 0 / 0.7862 GB, free: 1.516 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 6.933e-05/0.2266, allocations: 113.8 kB / 0.7863 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.075e-06/0.2266, allocations: 0 / 0.7863 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.2267, allocations: 52.69 kB / 0.7863 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.2267, allocations: 7.984 kB / 0.7863 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2267, allocations: 0 / 0.7863 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.2267, allocations: 4.031 kB / 0.7863 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.2269, allocations: 153.7 kB / 0.7865 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2269, allocations: 0 / 0.7865 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.66e-05/0.2269, allocations: 4 kB / 0.7865 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.2269, allocations: 3.984 kB / 0.7865 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.227, allocations: 3.938 kB / 0.7865 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.227, allocations: 0 / 0.7865 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.227, allocations: 0 / 0.7865 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.2271, allocations: 81.06 kB / 0.7866 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-05/0.2271, allocations: 85 kB / 0.7867 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.2272, allocations: 3.938 kB / 0.7867 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.366e-05/0.2272, allocations: 8.031 kB / 0.7867 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.678e-05/0.2272, allocations: 0 / 0.7867 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.2272, allocations: 0 / 0.7867 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.857e-05/0.2273, allocations: 91.52 kB / 0.7868 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2273, allocations: 0 / 0.7868 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001742/0.2275, allocations: 4 kB / 0.7868 GB, free: 0.8086 MB / 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 9.737e-05/0.2276, allocations: 99.34 kB / 0.7869 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.517e-05/0.2277, allocations: 15.98 kB / 0.7869 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2277, allocations: 3.938 kB / 0.7869 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.477e-05/0.2277, allocations: 7.938 kB / 0.7869 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.2278, allocations: 4 kB / 0.7869 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002554/0.2281, allocations: 127.8 kB / 0.787 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3131/0.5412, allocations: 0.6768 MB / 0.7877 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/0.5413, allocations: 9.375 kB / 0.7877 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of SimCode: time 1.743e-06/0.5413, allocations: 0 / 0.7877 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of Templates: time 0.001763/0.5431, allocations: 0.5067 MB / 0.7882 GB, free: 48.02 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1)