Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8") translateModel(BuildingSystems.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.004452/0.004452, allocations: 98.72 kB / 15.73 MB, free: 6.004 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.001053/0.001053, allocations: 192.8 kB / 16.67 MB, free: 5.93 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.28/1.28, 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.001971/0.001971, allocations: 282.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 0.9245/0.9245, allocations: 169.2 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 92.22 kB / 0.6814 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3966, allocations: 86.99 MB / 0.7664 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.001331/0.3979, allocations: 0.5111 MB / 0.7669 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000105/0.3981, allocations: 15.92 kB / 0.7669 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.176e-05/0.3981, allocations: 0 / 0.7669 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.011e-05/0.3981, allocations: 0 / 0.7669 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.3982, allocations: 7.938 kB / 0.7669 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.236e-06/0.3983, allocations: 0 / 0.7669 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.329e-05/0.3983, allocations: 7.984 kB / 0.7669 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.928e-05/0.3983, allocations: 0 / 0.7669 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.636e-05/0.3984, allocations: 7.938 kB / 0.7669 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.543e-05/0.3984, allocations: 3.984 kB / 0.7669 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.859e-06/0.3984, allocations: 0 / 0.7669 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.11e-06/0.3985, allocations: 0 / 0.7669 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.887e-06/0.3985, allocations: 0 / 0.7669 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.376e-05/0.3985, allocations: 0 / 0.7669 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 3.862e-05/0.3985, allocations: 7.938 kB / 0.7669 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3985, allocations: 4 kB / 0.7669 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3985, allocations: 0 / 0.7669 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.3986, allocations: 3.984 kB / 0.7669 GB, free: 3.352 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002486/0.3988, allocations: 319.3 kB / 0.7672 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.3988, allocations: 8.031 kB / 0.7672 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.401e-05/0.3989, allocations: 4.938 kB / 0.7672 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.007e-05/0.399, allocations: 168.3 kB / 0.7674 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.399, allocations: 4.312 kB / 0.7674 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-06/0.399, allocations: 384 / 0.7674 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.371e-05/0.3991, allocations: 47.98 kB / 0.7675 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.3991, allocations: 192 / 0.7675 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.3991, allocations: 3.938 kB / 0.7675 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.3991, allocations: 0 / 0.7675 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.187e-05/0.3991, allocations: 7.938 kB / 0.7675 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001312/0.3993, allocations: 162.6 kB / 0.7676 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.376e-05/0.3993, allocations: 33.28 kB / 0.7677 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.434e-05/0.3994, allocations: 13.72 kB / 0.7677 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.3994, allocations: 7.922 kB / 0.7677 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.3994, allocations: 38.56 kB / 0.7677 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.3994, allocations: 0 / 0.7677 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.000122/0.3995, allocations: 49.56 kB / 0.7678 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.3996, allocations: 77.11 kB / 0.7678 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.766e-05/0.3996, allocations: 97.86 kB / 0.7679 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.3997, allocations: 25.7 kB / 0.768 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.291e-05/0.3997, allocations: 80.14 kB / 0.768 GB, free: 2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.3997, allocations: 11.92 kB / 0.768 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.3998, allocations: 17.66 kB / 0.7681 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.59e-05/0.3999, allocations: 319.2 kB / 0.7684 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.004e-05/0.3999, allocations: 0 / 0.7684 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.355e-05/0.3999, allocations: 13.72 kB / 0.7684 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.076e-05/0.3999, allocations: 17.66 kB / 0.7684 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3999, allocations: 0 / 0.7684 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.627e-05/0.4, allocations: 41.78 kB / 0.7684 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.4, allocations: 12.03 kB / 0.7684 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.4, allocations: 3.938 kB / 0.7684 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.4, allocations: 0 / 0.7684 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.017e-05/0.4001, allocations: 7.938 kB / 0.7685 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.4001, allocations: 0 / 0.7685 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.518e-05/0.4001, allocations: 0 / 0.7685 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.4001, allocations: 4 kB / 0.7685 GB, free: 1.527 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 6.25e-05/0.4002, allocations: 112.2 kB / 0.7686 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-06/0.4002, allocations: 4 kB / 0.7686 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.329e-05/0.4003, allocations: 56.69 kB / 0.7686 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.4003, allocations: 0 / 0.7686 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.4003, allocations: 0 / 0.7686 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.4003, allocations: 0 / 0.7686 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.89e-05/0.4004, allocations: 153.2 kB / 0.7688 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4004, allocations: 3.984 kB / 0.7688 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.263e-05/0.4005, allocations: 4 kB / 0.7688 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.4005, allocations: 3.938 kB / 0.7688 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.4005, allocations: 8 kB / 0.7688 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4005, allocations: 0 / 0.7688 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4005, allocations: 4 kB / 0.7688 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.941e-05/0.4006, allocations: 73.88 kB / 0.7689 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.976e-05/0.4006, allocations: 77.11 kB / 0.7689 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.4006, allocations: 3.938 kB / 0.7689 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.751e-05/0.4007, allocations: 8.031 kB / 0.7689 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.379e-05/0.4007, allocations: 4 kB / 0.769 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.4007, allocations: 4 kB / 0.769 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.74e-05/0.4007, allocations: 79.28 kB / 0.769 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4007, allocations: 0 / 0.769 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001778/0.4009, allocations: 0 / 0.769 GB, free: 0.8438 MB / 0.5294 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 8.878e-05/0.401, allocations: 103.2 kB / 0.7691 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.636e-05/0.4011, allocations: 16.03 kB / 0.7691 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4011, allocations: 0 / 0.7691 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.427e-06/0.4011, allocations: 8 kB / 0.7692 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/0.4012, allocations: 4 kB / 0.7692 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000159/0.4014, allocations: 85.91 kB / 0.7692 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.4016, allocations: 0.6729 MB / 0.7699 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.715e-05/0.4016, allocations: 4.25 kB / 0.7699 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.566e-05/0.4017, allocations: 7.438 kB / 0.7699 GB, free: 15.88 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.4017, allocations: 0 / 0.7699 GB, free: 15.88 MB / 0.545 GB Notification: Performance of Templates: time 0.001631/0.4033, allocations: 208.8 kB / 0.7701 GB, free: 15.68 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe 2>&1)