Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") translateModel(BuildingSystems.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.004623/0.004623, allocations: 106.2 kB / 15.73 MB, free: 5.984 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.001052/0.001052, allocations: 194.8 kB / 16.67 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00216/0.00216, allocations: 304.1 kB / 290.8 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1/1, allocations: 169.2 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 99.84 kB / 0.6814 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4841/0.4858, allocations: 86.98 MB / 0.7664 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.002014/0.4879, allocations: 0.5306 MB / 0.7669 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002382/0.4882, allocations: 35.81 kB / 0.7669 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.65e-05/0.4882, allocations: 0 / 0.7669 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.242e-05/0.4883, allocations: 0 / 0.7669 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001903/0.4885, allocations: 15.94 kB / 0.7669 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 6.099e-05/0.4886, allocations: 3.984 kB / 0.7669 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.749e-05/0.4887, allocations: 15.92 kB / 0.767 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.147e-05/0.4887, allocations: 0 / 0.767 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.218e-05/0.4888, allocations: 15.94 kB / 0.767 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.604e-05/0.4889, allocations: 7.984 kB / 0.767 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.4889, allocations: 0 / 0.767 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.256e-05/0.489, allocations: 0 / 0.767 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.167e-05/0.489, allocations: 7.938 kB / 0.767 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.618e-05/0.4891, allocations: 7.922 kB / 0.767 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.152e-05/0.4892, allocations: 7.984 kB / 0.767 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.4892, allocations: 4 kB / 0.767 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4892, allocations: 0 / 0.767 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.4892, allocations: 3.938 kB / 0.767 GB, free: 3.25 MB / 0.5294 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.0005397/0.4898, allocations: 335.1 kB / 0.7673 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.4898, allocations: 8.031 kB / 0.7673 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.479e-05/0.4899, allocations: 4.938 kB / 0.7673 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.4901, allocations: 176.3 kB / 0.7675 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.4902, allocations: 384 / 0.7675 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.4902, allocations: 384 / 0.7675 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.96e-05/0.4903, allocations: 34.25 kB / 0.7675 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.4903, allocations: 192 / 0.7675 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.4903, allocations: 3.938 kB / 0.7675 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.4903, allocations: 8 kB / 0.7675 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.679e-05/0.4904, allocations: 7.875 kB / 0.7676 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002231/0.4906, allocations: 153.7 kB / 0.7677 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.827e-05/0.4907, allocations: 22.59 kB / 0.7677 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.776e-05/0.4907, allocations: 8.922 kB / 0.7677 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.4908, allocations: 0 / 0.7677 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.4908, allocations: 34.56 kB / 0.7678 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.292e-06/0.4908, allocations: 0 / 0.7678 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001867/0.491, allocations: 53.56 kB / 0.7678 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.4911, allocations: 51.41 kB / 0.7679 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.4912, allocations: 105.8 kB / 0.768 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.4912, allocations: 29.7 kB / 0.768 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.222e-05/0.4913, allocations: 88.12 kB / 0.7681 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.4913, allocations: 3.906 kB / 0.7681 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.533e-05/0.4914, allocations: 17.84 kB / 0.7681 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.4915, allocations: 310.8 kB / 0.7684 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.692e-05/0.4916, allocations: 11.98 kB / 0.7684 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.217e-05/0.4916, allocations: 13.72 kB / 0.7684 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.846e-05/0.4917, allocations: 25.64 kB / 0.7684 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4917, allocations: 0 / 0.7684 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001078/0.4918, allocations: 49.75 kB / 0.7685 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.4918, allocations: 4 kB / 0.7685 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.4918, allocations: 11.86 kB / 0.7685 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.4919, allocations: 0 / 0.7685 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.796e-05/0.4919, allocations: 4 kB / 0.7685 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.492, allocations: 0 / 0.7685 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.267e-05/0.492, allocations: 4 kB / 0.7685 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.492, allocations: 0 / 0.7685 GB, free: 1.469 MB / 0.5294 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 0.0001025/0.4921, allocations: 121.4 kB / 0.7686 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.4921, allocations: 0 / 0.7686 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.4923, allocations: 53.41 kB / 0.7687 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4923, allocations: 0 / 0.7687 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4923, allocations: 7.938 kB / 0.7687 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.4923, allocations: 0 / 0.7687 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.4925, allocations: 153.7 kB / 0.7688 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4925, allocations: 3.938 kB / 0.7688 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.205e-05/0.4926, allocations: 4 kB / 0.7688 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.4926, allocations: 7.922 kB / 0.7689 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.4926, allocations: 7.969 kB / 0.7689 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4926, allocations: 4 kB / 0.7689 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4926, allocations: 0 / 0.7689 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.4928, allocations: 77.03 kB / 0.7689 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.959e-05/0.4929, allocations: 85.12 kB / 0.769 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.4929, allocations: 3.938 kB / 0.769 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.835e-05/0.4929, allocations: 0 / 0.769 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/0.4929, allocations: 4.094 kB / 0.769 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.493, allocations: 4 kB / 0.769 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.257e-05/0.493, allocations: 87.27 kB / 0.7691 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.1e-07/0.493, allocations: 0 / 0.7691 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003062/0.4933, allocations: 4 kB / 0.7691 GB, free: 0.7539 MB / 0.5294 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.0001317/0.4935, allocations: 99.19 kB / 0.7692 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 9.922e-05/0.4936, allocations: 11.98 kB / 0.7692 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4936, allocations: 128 / 0.7692 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.603e-05/0.4936, allocations: 16 kB / 0.7692 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.4939, allocations: 2.531 kB / 0.7692 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003215/0.4942, allocations: 117.5 kB / 0.7694 GB, free: 492 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.4946, allocations: 0.6806 MB / 0.77 GB, free: 15.77 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.322e-05/0.4946, allocations: 4 kB / 0.77 GB, free: 15.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.811e-05/0.4946, allocations: 7.438 kB / 0.77 GB, free: 15.76 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.4946, allocations: 0 / 0.77 GB, free: 15.76 MB / 0.545 GB Notification: Performance of Templates: time 0.00314/0.4978, allocations: 326.5 kB / 0.7703 GB, free: 15.45 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1)