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.001346/0.001346, allocations: 101.9 kB / 16.27 MB, free: 6.109 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.001315/0.001315, allocations: 186.2 kB / 17.19 MB, free: 5.723 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.382/1.382, 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.734/1.734, allocations: 292.3 MB / 0.5495 GB, free: 17.59 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.001432/0.001432, allocations: 75.02 kB / 0.6722 GB, free: 6.617 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2326, allocations: 114.6 MB / 0.784 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.0018/0.2345, allocations: 0.5175 MB / 0.7845 GB, free: 3.43 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001301/0.2346, allocations: 11.98 kB / 0.7845 GB, free: 3.418 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.672e-05/0.2346, allocations: 0 / 0.7845 GB, free: 3.418 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.115e-05/0.2347, allocations: 3.938 kB / 0.7845 GB, free: 3.414 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.2348, allocations: 7.984 kB / 0.7845 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 4.118e-06/0.2348, allocations: 0 / 0.7845 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.69e-05/0.2349, allocations: 4 kB / 0.7846 GB, free: 3.402 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.316e-05/0.235, allocations: 0 / 0.7846 GB, free: 3.402 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.778e-05/0.235, allocations: 3.938 kB / 0.7846 GB, free: 3.398 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.141e-05/0.235, allocations: 7.984 kB / 0.7846 GB, free: 3.391 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.235, allocations: 0 / 0.7846 GB, free: 3.391 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.581e-06/0.235, allocations: 0 / 0.7846 GB, free: 3.391 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.079e-05/0.2351, allocations: 0 / 0.7846 GB, free: 3.391 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.648e-05/0.2351, allocations: 0 / 0.7846 GB, free: 3.391 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 4.681e-05/0.2351, allocations: 4 kB / 0.7846 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2351, allocations: 4 kB / 0.7846 GB, free: 3.383 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2351, allocations: 4 kB / 0.7846 GB, free: 3.379 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.2352, allocations: 0 / 0.7846 GB, free: 3.379 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000269/0.2354, allocations: 319.5 kB / 0.7849 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.453e-05/0.2355, allocations: 8.031 kB / 0.7849 GB, free: 3.008 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.993e-05/0.2355, allocations: 0.9375 kB / 0.7849 GB, free: 3.008 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.2356, allocations: 160.4 kB / 0.785 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.2356, allocations: 4.312 kB / 0.785 GB, free: 2.809 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.2356, allocations: 4.375 kB / 0.785 GB, free: 2.805 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.2358, allocations: 47.97 kB / 0.7851 GB, free: 2.746 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.2358, allocations: 4.188 kB / 0.7851 GB, free: 2.742 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.2358, allocations: 3.938 kB / 0.7851 GB, free: 2.738 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2358, allocations: 0 / 0.7851 GB, free: 2.738 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.365e-05/0.2358, allocations: 3.938 kB / 0.7851 GB, free: 2.734 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001368/0.236, allocations: 158.5 kB / 0.7853 GB, free: 2.527 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.116e-05/0.236, allocations: 45.22 kB / 0.7853 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.447e-05/0.2361, allocations: 13.66 kB / 0.7853 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.2361, allocations: 4.062 kB / 0.7853 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.2361, allocations: 34.56 kB / 0.7853 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.2361, allocations: 0 / 0.7853 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.000147/0.2363, allocations: 49.56 kB / 0.7854 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.2363, allocations: 81.11 kB / 0.7855 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.388e-05/0.2364, allocations: 89.86 kB / 0.7856 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.2364, allocations: 29.7 kB / 0.7856 GB, free: 2.113 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.798e-05/0.2364, allocations: 80.14 kB / 0.7857 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.2365, allocations: 4.188 kB / 0.7857 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.2365, allocations: 13.72 kB / 0.7857 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.855e-05/0.2366, allocations: 311.1 kB / 0.786 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.174e-05/0.2366, allocations: 7.984 kB / 0.786 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.643e-05/0.2366, allocations: 21.72 kB / 0.786 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.834e-05/0.2367, allocations: 17.66 kB / 0.786 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2367, allocations: 0 / 0.786 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.787e-05/0.2367, allocations: 45.69 kB / 0.7861 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.2368, allocations: 12.06 kB / 0.7861 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.2368, allocations: 0 / 0.7861 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.2368, allocations: 3.938 kB / 0.7861 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.75e-05/0.2369, allocations: 4 kB / 0.7861 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.2369, allocations: 0 / 0.7861 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.738e-05/0.2369, allocations: 3.938 kB / 0.7861 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-06/0.2369, allocations: 4 kB / 0.7861 GB, free: 1.559 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 5.788e-05/0.237, allocations: 105.8 kB / 0.7862 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-06/0.237, allocations: 0 / 0.7862 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.2371, allocations: 60.69 kB / 0.7863 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.2371, allocations: 3.938 kB / 0.7863 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2371, allocations: 0 / 0.7863 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2371, allocations: 3.984 kB / 0.7863 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.306e-05/0.2372, allocations: 157.7 kB / 0.7864 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2372, allocations: 0 / 0.7864 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.05e-05/0.2372, allocations: 4 kB / 0.7864 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2373, allocations: 0 / 0.7864 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.2373, allocations: 4 kB / 0.7864 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2373, allocations: 4 kB / 0.7864 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2373, allocations: 0 / 0.7864 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.691e-05/0.2374, allocations: 77.83 kB / 0.7865 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.2374, allocations: 77.11 kB / 0.7866 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.2374, allocations: 3.938 kB / 0.7866 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.414e-05/0.2374, allocations: 0 / 0.7866 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.479e-05/0.2375, allocations: 15.95 kB / 0.7866 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.2375, allocations: 0 / 0.7866 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.568e-05/0.2375, allocations: 75.28 kB / 0.7867 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.2375, allocations: 0 / 0.7867 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001725/0.2377, allocations: 0 / 0.7867 GB, free: 0.8711 MB / 0.6544 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 0.0001041/0.2378, allocations: 99.25 kB / 0.7868 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.25e-05/0.2379, allocations: 11.94 kB / 0.7868 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2379, allocations: 4.125 kB / 0.7868 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.351e-05/0.2379, allocations: 7.984 kB / 0.7868 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.238, allocations: 0 / 0.7868 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002191/0.2383, allocations: 103.6 kB / 0.7869 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3486/0.5869, allocations: 0.6734 MB / 0.7875 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.587, allocations: 8.75 kB / 0.7875 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of SimCode: time 7.82e-07/0.587, allocations: 0 / 0.7875 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.001493/0.5885, allocations: 367.5 kB / 0.7879 GB, free: 48.8 MB / 0.6544 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)