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.001839/0.001839, allocations: 112.7 kB / 16.41 MB, free: 5.992 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.002045/0.002045, allocations: 196.5 kB / 17.34 MB, free: 5.602 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.442/1.442, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003376/0.003376, allocations: 289.6 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.006/1.006, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002811/0.002811, allocations: 100.2 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3973, allocations: 86.98 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.001591/0.3989, allocations: 0.5152 MB / 0.7675 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001771/0.399, allocations: 43.86 kB / 0.7676 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.666e-05/0.3991, allocations: 0 / 0.7676 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.775e-05/0.3991, allocations: 0 / 0.7676 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.3992, allocations: 7.938 kB / 0.7676 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 5.001e-05/0.3993, allocations: 7.984 kB / 0.7676 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.313e-05/0.3994, allocations: 19.86 kB / 0.7676 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.401e-05/0.3994, allocations: 4 kB / 0.7676 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.534e-05/0.3994, allocations: 3.984 kB / 0.7676 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.113e-05/0.3995, allocations: 8 kB / 0.7676 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.3995, allocations: 0 / 0.7676 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-06/0.3995, allocations: 4 kB / 0.7676 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.493e-05/0.3996, allocations: 7.922 kB / 0.7676 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.518e-05/0.3996, allocations: 8 kB / 0.7677 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 5.738e-05/0.3997, allocations: 11.92 kB / 0.7677 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.3997, allocations: 0 / 0.7677 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3997, allocations: 0 / 0.7677 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.3997, allocations: 3.984 kB / 0.7677 GB, free: 3.27 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.000453/0.4001, allocations: 337.6 kB / 0.768 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.4002, allocations: 8.031 kB / 0.768 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.4002, allocations: 4.891 kB / 0.768 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.4004, allocations: 172.4 kB / 0.7682 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.896e-06/0.4004, allocations: 384 / 0.7682 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.4004, allocations: 4.312 kB / 0.7682 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.796e-05/0.4005, allocations: 34.25 kB / 0.7682 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.4005, allocations: 192 / 0.7682 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.4005, allocations: 3.938 kB / 0.7682 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.4005, allocations: 0 / 0.7682 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.181e-05/0.4005, allocations: 12 kB / 0.7682 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.4007, allocations: 153.7 kB / 0.7684 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.679e-05/0.4008, allocations: 18.58 kB / 0.7684 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.24e-05/0.4008, allocations: 20.72 kB / 0.7684 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.4008, allocations: 0 / 0.7684 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.4008, allocations: 30.62 kB / 0.7684 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.4008, allocations: 8 kB / 0.7684 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001395/0.401, allocations: 45.58 kB / 0.7685 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.401, allocations: 51.41 kB / 0.7685 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.4011, allocations: 113.8 kB / 0.7686 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.4011, allocations: 25.7 kB / 0.7687 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.667e-05/0.4012, allocations: 84.14 kB / 0.7687 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.4012, allocations: 4 kB / 0.7687 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.4012, allocations: 13.7 kB / 0.7688 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4014, allocations: 319 kB / 0.7691 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.431e-05/0.4014, allocations: 7.938 kB / 0.7691 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.503e-05/0.4014, allocations: 17.7 kB / 0.7691 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.07e-05/0.4014, allocations: 21.72 kB / 0.7691 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.4014, allocations: 0 / 0.7691 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.022e-05/0.4015, allocations: 53.64 kB / 0.7692 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.4015, allocations: 8 kB / 0.7692 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.4016, allocations: 7.922 kB / 0.7692 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.4016, allocations: 0 / 0.7692 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.223e-05/0.4016, allocations: 7.984 kB / 0.7692 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.4016, allocations: 0 / 0.7692 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.323e-05/0.4017, allocations: 3.516 kB / 0.7692 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.4017, allocations: 4 kB / 0.7692 GB, free: 1.48 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 8.794e-05/0.4018, allocations: 113.3 kB / 0.7693 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.315e-06/0.4018, allocations: 4.062 kB / 0.7693 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.4019, allocations: 61.08 kB / 0.7694 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.4019, allocations: 0 / 0.7694 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.4019, allocations: 0 / 0.7694 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-06/0.4019, allocations: 0 / 0.7694 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.402, allocations: 153.7 kB / 0.7695 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.402, allocations: 0 / 0.7695 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.778e-05/0.4021, allocations: 4 kB / 0.7695 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4021, allocations: 0 / 0.7695 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.4021, allocations: 7.938 kB / 0.7695 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4021, allocations: 4.031 kB / 0.7695 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4021, allocations: 4.188 kB / 0.7695 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.4022, allocations: 85.03 kB / 0.7696 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.168e-05/0.4023, allocations: 77.11 kB / 0.7697 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.4023, allocations: 7.938 kB / 0.7697 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.416e-05/0.4023, allocations: 3.984 kB / 0.7697 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.104e-05/0.4023, allocations: 4 kB / 0.7697 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.4023, allocations: 4.094 kB / 0.7697 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.81e-05/0.4024, allocations: 91.27 kB / 0.7698 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.4024, allocations: 0 / 0.7698 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001825/0.4026, allocations: 4 kB / 0.7698 GB, free: 0.7656 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.0001243/0.4027, allocations: 91.25 kB / 0.7699 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.919e-05/0.4028, allocations: 19.98 kB / 0.7699 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4028, allocations: 3.938 kB / 0.7699 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.921e-05/0.4028, allocations: 12.06 kB / 0.7699 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.4029, allocations: 6.75 kB / 0.7699 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002656/0.4032, allocations: 113.5 kB / 0.77 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.4035, allocations: 0.6846 MB / 0.7707 GB, free: 15.78 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.725e-05/0.4036, allocations: 0 / 0.7707 GB, free: 15.78 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/0.4036, allocations: 15.42 kB / 0.7707 GB, free: 15.77 MB / 0.545 GB Notification: Performance of SimCode: time 3.9e-07/0.4036, allocations: 0 / 0.7707 GB, free: 15.77 MB / 0.545 GB Notification: Performance of Templates: time 0.002442/0.406, allocations: 312.8 kB / 0.771 GB, free: 15.46 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1)