Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009753/0.0009753, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009973/0.0009973, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9311/0.9311, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001562/0.001562, allocations: 233.8 kB / 260.5 MB, free: 12.68 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.694/0.694, allocations: 138.4 MB / 455.5 MB, free: 1.453 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4") translateModel(BuildingSystems.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.5556 GB, free: 332 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.232e-05, allocations: 2.312 kB / 0.5556 GB, free: 328 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example4): time 0.342/0.342, allocations: 152.2 MB / 0.7042 GB, free: 4.098 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01141/0.3534, allocations: 9.982 MB / 0.714 GB, free: 10.1 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002078/0.3555, allocations: 87.25 kB / 0.714 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.3566, allocations: 424.8 kB / 0.7144 GB, free: 9.598 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.003456/0.36, allocations: 1.639 MB / 0.716 GB, free: 7.949 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002855/0.3629, allocations: 1.461 MB / 0.7175 GB, free: 6.492 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.004018/0.3669, allocations: 3.429 MB / 0.7208 GB, free: 3.059 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.3683, allocations: 1.043 MB / 0.7218 GB, free: 1.984 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003521/0.3718, allocations: 2.129 MB / 0.7239 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001204/0.373, allocations: 0.8838 MB / 0.7248 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001762/0.3732, allocations: 116 kB / 0.7249 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00168/0.3749, allocations: 1.126 MB / 0.726 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0003752/0.3752, allocations: 0.506 MB / 0.7265 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0005591/0.3758, allocations: 0.5299 MB / 0.727 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.00233/0.3781, allocations: 1.748 MB / 0.7287 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3781, allocations: 0 / 0.7287 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3781, allocations: 0 / 0.7287 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.138e-05/0.3782, allocations: 0 / 0.7287 GB, free: 11.05 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002156/0.3803, allocations: 1.989 MB / 0.7307 GB, free: 9.02 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.3804, allocations: 16.67 kB / 0.7307 GB, free: 9.004 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001265/0.3816, allocations: 0.5489 MB / 0.7312 GB, free: 8.453 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.3828, allocations: 1.087 MB / 0.7323 GB, free: 7.316 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.499e-05/0.3828, allocations: 78 kB / 0.7323 GB, free: 7.238 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.3829, allocations: 92 kB / 0.7324 GB, free: 7.148 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.384, allocations: 1.115 MB / 0.7335 GB, free: 5.848 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.384, allocations: 12.56 kB / 0.7335 GB, free: 5.836 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.443e-05/0.3841, allocations: 51.98 kB / 0.7336 GB, free: 5.785 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.585e-05/0.3841, allocations: 42 kB / 0.7336 GB, free: 5.742 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004614/0.3846, allocations: 377.2 kB / 0.734 GB, free: 5.375 MB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00499/0.3896, allocations: 7.324 MB / 0.7411 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004089/0.39, allocations: 199 kB / 0.7413 GB, free: 13.6 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.106e-05/0.3901, allocations: 75.58 kB / 0.7414 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.3902, allocations: 29.72 kB / 0.7414 GB, free: 13.49 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.3902, allocations: 41.39 kB / 0.7415 GB, free: 13.44 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=32): time 2.815e-06/0.3902, allocations: 0 / 0.7415 GB, free: 13.44 MB / 0.5573 GB Notification: Performance of matching and sorting (n=32): time 0.0007027/0.3909, allocations: 372.7 kB / 0.7418 GB, free: 13.07 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.391, allocations: 55.41 kB / 0.7419 GB, free: 13 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007438/0.3917, allocations: 1.014 MB / 0.7429 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/0.3917, allocations: 33.7 kB / 0.7429 GB, free: 11.94 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003936/0.3921, allocations: 0.8025 MB / 0.7437 GB, free: 11.13 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 7.597e-05/0.3922, allocations: 126.9 kB / 0.7438 GB, free: 11 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/0.3924, allocations: 172.1 kB / 0.744 GB, free: 10.83 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.3925, allocations: 0.5159 MB / 0.7445 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.3926, allocations: 79.61 kB / 0.7445 GB, free: 10.22 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004075/0.393, allocations: 0.8182 MB / 0.7453 GB, free: 9.117 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004823/0.3935, allocations: 0.6812 MB / 0.746 GB, free: 8.219 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.3935, allocations: 4 kB / 0.746 GB, free: 8.215 MB / 0.5573 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0006794/0.3942, allocations: 0.6115 MB / 0.7466 GB, free: 7.598 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.3942, allocations: 10.81 kB / 0.7466 GB, free: 7.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.3942, allocations: 12 kB / 0.7466 GB, free: 7.578 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.3942, allocations: 16 kB / 0.7466 GB, free: 7.562 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003867/0.3946, allocations: 183.7 kB / 0.7468 GB, free: 7.383 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.3946, allocations: 27.86 kB / 0.7468 GB, free: 7.355 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005297/0.3952, allocations: 127.3 kB / 0.747 GB, free: 7.23 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.815e-05/0.3952, allocations: 35.98 kB / 0.747 GB, free: 7.195 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002618/0.3955, allocations: 208.8 kB / 0.7472 GB, free: 6.984 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004099/0.3959, allocations: 0.8296 MB / 0.748 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004677/0.3964, allocations: 0.6718 MB / 0.7487 GB, free: 4.973 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.668e-06/0.3964, allocations: 4 kB / 0.7487 GB, free: 4.969 MB / 0.5573 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.0006455/0.397, allocations: 0.6024 MB / 0.7493 GB, free: 4.359 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.397, allocations: 8 kB / 0.7493 GB, free: 4.352 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.397, allocations: 12 kB / 0.7493 GB, free: 4.34 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.978e-06/0.397, allocations: 19.94 kB / 0.7493 GB, free: 4.32 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003461/0.3974, allocations: 188.2 kB / 0.7495 GB, free: 4.137 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.3974, allocations: 28.41 kB / 0.7495 GB, free: 4.109 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004657/0.3979, allocations: 99.58 kB / 0.7496 GB, free: 4.012 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.269e-05/0.3979, allocations: 35.98 kB / 0.7496 GB, free: 3.977 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (87): * Single equations (assignments): 87 * 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.0001802/0.3981, allocations: 327.7 kB / 0.7499 GB, free: 3.648 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.3982, allocations: 135.2 kB / 0.7501 GB, free: 3.516 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004086/0.3986, allocations: 320.2 kB / 0.7504 GB, free: 3.195 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3986, allocations: 11.94 kB / 0.7504 GB, free: 3.184 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.3986, allocations: 0 / 0.7504 GB, free: 3.184 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.3986, allocations: 3.062 kB / 0.7504 GB, free: 3.184 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.3999, allocations: 1.106 MB / 0.7515 GB, free: 1.984 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.3999, allocations: 4 kB / 0.7515 GB, free: 1.98 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.4001, allocations: 75.88 kB / 0.7515 GB, free: 1.906 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.4001, allocations: 4.469 kB / 0.7516 GB, free: 1.902 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.4001, allocations: 16 kB / 0.7516 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.994e-06/0.4001, allocations: 11.92 kB / 0.7516 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.4001, allocations: 4 kB / 0.7516 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004382/0.4005, allocations: 0.5803 MB / 0.7521 GB, free: 1.211 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002335/0.4008, allocations: 179 kB / 0.7523 GB, free: 1.035 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.298e-05/0.4008, allocations: 12 kB / 0.7523 GB, free: 1.023 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003481/0.4012, allocations: 39.97 kB / 0.7524 GB, free: 0.9844 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.4013, allocations: 35.83 kB / 0.7524 GB, free: 0.9492 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/0.4013, allocations: 19.98 kB / 0.7524 GB, free: 0.9297 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003854/0.4017, allocations: 0.566 MB / 0.753 GB, free: 368 kB / 0.5573 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4017, allocations: 0 / 0.753 GB, free: 368 kB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001218/0.4029, allocations: 0.6512 MB / 0.7536 GB, free: 15.7 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (31): * Single equations (assignments): 31 * 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.0002739/0.4032, allocations: 189 kB / 0.7538 GB, free: 15.51 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0006904/0.4038, allocations: 0.544 MB / 0.7543 GB, free: 14.96 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.4039, allocations: 0 / 0.7543 GB, free: 14.96 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.404, allocations: 100.4 kB / 0.7544 GB, free: 14.86 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.4053, allocations: 498.3 kB / 0.7549 GB, free: 14.41 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002779/0.4081, allocations: 2.038 MB / 0.7569 GB, free: 12.27 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/0.4082, allocations: 255.2 kB / 0.7571 GB, free: 11.99 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0006673/0.4089, allocations: 212.8 kB / 0.7573 GB, free: 11.78 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001126/0.41, allocations: 441.8 kB / 0.7578 GB, free: 11.35 MB / 0.573 GB Notification: Performance of SimCode: time 1.273e-06/0.41, allocations: 0 / 0.7578 GB, free: 11.35 MB / 0.573 GB Notification: Performance of Templates: time 0.02977/0.4398, allocations: 18.35 MB / 0.7757 GB, free: 9.438 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.188914973754436]