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.001392/0.001392, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002451/0.002451, allocations: 161.4 kB / 22.45 MB, free: 5.375 MB / 14.72 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 1.459/1.459, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.003751/0.003751, allocations: 242.1 kB / 259.4 MB, free: 476 kB / 238.1 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 1.106/1.106, allocations: 138.4 MB / 454.3 MB, free: 1.953 MB / 366.1 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.452e-06/1.452e-06, allocations: 0 / 0.6468 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.648e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example4): time 0.5369/0.5369, allocations: 210.6 MB / 0.8524 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.04251/0.5794, allocations: 14.58 MB / 0.8667 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002935/0.5823, allocations: 87.25 kB / 0.8667 GB, free: 14.9 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.005302/0.5876, allocations: 1.017 MB / 0.8677 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01524/0.6029, allocations: 3.192 MB / 0.8709 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.009523/0.6124, allocations: 1.77 MB / 0.8726 GB, free: 8.918 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.009156/0.6216, allocations: 3.494 MB / 0.876 GB, free: 5.414 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003139/0.6247, allocations: 0.9987 MB / 0.877 GB, free: 4.375 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01277/0.6375, allocations: 3.026 MB / 0.8799 GB, free: 1.363 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003822/0.6413, allocations: 0.9728 MB / 0.8809 GB, free: 412 kB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0003662/0.6417, allocations: 120 kB / 0.881 GB, free: 292 kB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009238/0.6509, allocations: 2.605 MB / 0.8835 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009535/0.6518, allocations: 0.5099 MB / 0.884 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001362/0.6532, allocations: 0.5377 MB / 0.8846 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007835/0.661, allocations: 2.999 MB / 0.8875 GB, free: 9.613 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.661, allocations: 0 / 0.8875 GB, free: 9.613 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.753e-06/0.661, allocations: 0 / 0.8875 GB, free: 9.613 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.408e-05/0.6611, allocations: 0 / 0.8875 GB, free: 9.613 MB / 0.7169 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.005491/0.6666, allocations: 1.978 MB / 0.8894 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.6666, allocations: 9.938 kB / 0.8894 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005289/0.6719, allocations: 0.5102 MB / 0.8899 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004189/0.6761, allocations: 1.093 MB / 0.891 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/0.6762, allocations: 78 kB / 0.8911 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002552/0.6765, allocations: 103.9 kB / 0.8912 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004383/0.6809, allocations: 1.452 MB / 0.8926 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.993e-05/0.6809, allocations: 3.938 kB / 0.8926 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001808/0.6811, allocations: 48 kB / 0.8926 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001024/0.6812, allocations: 45.98 kB / 0.8927 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004554/0.6857, allocations: 1.05 MB / 0.8937 GB, free: 3.016 MB / 0.7169 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.01288/0.6986, allocations: 5.775 MB / 0.8993 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002889/0.7015, allocations: 0.5152 MB / 0.8998 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.7026, allocations: 249.2 kB / 0.9001 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004242/0.7031, allocations: 60.23 kB / 0.9001 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.148e-05/0.7031, allocations: 37.94 kB / 0.9002 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 5.991e-06/0.7031, allocations: 3.984 kB / 0.9002 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.004318/0.7074, allocations: 0.8252 MB / 0.901 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.488e-05/0.7075, allocations: 59.34 kB / 0.901 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002708/0.7102, allocations: 1.116 MB / 0.9021 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.314e-05/0.7103, allocations: 33.7 kB / 0.9022 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009616/0.7113, allocations: 0.7336 MB / 0.9029 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/0.7115, allocations: 123 kB / 0.903 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004601/0.7119, allocations: 166.5 kB / 0.9032 GB, free: 9.066 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002433/0.7122, allocations: 333.9 kB / 0.9035 GB, free: 8.734 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001595/0.7138, allocations: 308.6 kB / 0.9038 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002199/0.716, allocations: 0.9701 MB / 0.9047 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003242/0.7192, allocations: 0.9277 MB / 0.9056 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/0.7192, allocations: 4 kB / 0.9056 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004584/0.7238, allocations: 1.028 MB / 0.9066 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/0.7238, allocations: 9.875 kB / 0.9066 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.782e-05/0.7239, allocations: 12 kB / 0.9067 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.632e-05/0.7239, allocations: 16 kB / 0.9067 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/0.7254, allocations: 211.7 kB / 0.9069 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.712e-05/0.7255, allocations: 27.86 kB / 0.9069 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002169/0.7276, allocations: 153.8 kB / 0.907 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.631e-05/0.7277, allocations: 43.98 kB / 0.9071 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001365/0.7291, allocations: 0.5643 MB / 0.9076 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001429/0.7305, allocations: 0.9612 MB / 0.9086 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001978/0.7325, allocations: 0.9295 MB / 0.9095 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.238e-06/0.7325, allocations: 3.938 kB / 0.9095 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002503/0.735, allocations: 1.028 MB / 0.9105 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.735, allocations: 8 kB / 0.9105 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.735, allocations: 13.88 kB / 0.9105 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.735, allocations: 16 kB / 0.9105 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008806/0.7359, allocations: 208 kB / 0.9107 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-05/0.7359, allocations: 27.86 kB / 0.9108 GB, free: 476 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.7371, allocations: 127.6 kB / 0.9109 GB, free: 348 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.234e-05/0.7372, allocations: 44.73 kB / 0.9109 GB, free: 304 kB / 0.7325 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 (88): * Single equations (assignments): 88 * 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.0002504/0.7374, allocations: 232 kB / 0.9111 GB, free: 64 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002162/0.7376, allocations: 127.2 kB / 0.9113 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001794/0.7394, allocations: 0.6204 MB / 0.9119 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.7394, allocations: 0 / 0.9119 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.7394, allocations: 7.938 kB / 0.9119 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.7395, allocations: 0 / 0.9119 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003545/0.743, allocations: 1.649 MB / 0.9135 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.743, allocations: 4 kB / 0.9135 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000541/0.7435, allocations: 92.08 kB / 0.9136 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.7436, allocations: 11.25 kB / 0.9136 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.76e-05/0.7436, allocations: 11.98 kB / 0.9136 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.7436, allocations: 8 kB / 0.9136 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-06/0.7436, allocations: 7.938 kB / 0.9136 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.7453, allocations: 0.7714 MB / 0.9144 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003943/0.7457, allocations: 187.1 kB / 0.9145 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/0.7458, allocations: 12 kB / 0.9146 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009283/0.7467, allocations: 63.92 kB / 0.9146 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.7468, allocations: 35.83 kB / 0.9147 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.515e-05/0.7469, allocations: 23.98 kB / 0.9147 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001217/0.7481, allocations: 0.742 MB / 0.9154 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7481, allocations: 0 / 0.9154 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001861/0.75, allocations: 0.6469 MB / 0.916 GB, free: 10.9 MB / 0.7481 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 (32): * Single equations (assignments): 32 * 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.0004927/0.7505, allocations: 261.5 kB / 0.9163 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002952/0.7534, allocations: 1.087 MB / 0.9173 GB, free: 9.551 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.7534, allocations: 0 / 0.9173 GB, free: 9.551 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007227/0.7541, allocations: 254.7 kB / 0.9176 GB, free: 9.305 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002195/0.7563, allocations: 448.8 kB / 0.918 GB, free: 8.891 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004885/0.7612, allocations: 2.193 MB / 0.9202 GB, free: 6.613 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006889/0.7619, allocations: 0.5943 MB / 0.9207 GB, free: 5.984 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001069/0.763, allocations: 336.6 kB / 0.9211 GB, free: 5.652 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000265/0.7632, allocations: 80.47 kB / 0.9211 GB, free: 5.574 MB / 0.7481 GB Notification: Performance of SimCode: time 5.71e-07/0.7632, allocations: 0 / 0.9211 GB, free: 5.574 MB / 0.7481 GB Notification: Performance of Templates: time 0.03259/0.7958, allocations: 17.62 MB / 0.9383 GB, free: 4.371 MB / 0.7637 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.218202404677868] Failed to read output from testmodel.py, exit status != 0: 0.8051842674612999 1.061478735 0.397868369 Calling exit ...