Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.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.001291/0.001291, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00141/0.00141, allocations: 219 kB / 23.01 MB, free: 4.609 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.58/1.58, allocations: 230.6 MB / 256.8 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8841/0.8841, allocations: 134 MB / 447.2 MB, free: 10.19 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002328/0.002328, allocations: 63.22 kB / 0.6198 GB, free: 6.664 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1966, allocations: 85.91 MB / 0.7037 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.5165/0.7131, allocations: 76.69 MB / 0.7786 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01937/0.7324, allocations: 12.79 MB / 0.791 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003951/0.7364, allocations: 92.91 kB / 0.7911 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003051/0.7394, allocations: 0.8646 MB / 0.792 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009386/0.7488, allocations: 2.631 MB / 0.7945 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004363/0.7532, allocations: 1.462 MB / 0.796 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007653/0.7608, allocations: 4.48 MB / 0.8003 GB, free: 276 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002782/0.7636, allocations: 1.139 MB / 0.8015 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00559/0.7692, allocations: 1.688 MB / 0.8031 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003593/0.7728, allocations: 1.253 MB / 0.8043 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007271/0.7735, allocations: 167 kB / 0.8045 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005276/0.7788, allocations: 1.498 MB / 0.806 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008568/0.7797, allocations: 417 kB / 0.8063 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002541/0.7822, allocations: 0.9039 MB / 0.8072 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007208/0.7894, allocations: 2.927 MB / 0.8101 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.7894, allocations: 0 / 0.8101 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.824e-06/0.7894, allocations: 0 / 0.8101 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.245e-05/0.7895, allocations: 3.984 kB / 0.8101 GB, free: 10.19 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.005754/0.7953, allocations: 2.06 MB / 0.8121 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.7953, allocations: 10.69 kB / 0.8121 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.7965, allocations: 244.1 kB / 0.8123 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003557/0.8, allocations: 1.47 MB / 0.8138 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.476e-05/0.8001, allocations: 79.53 kB / 0.8139 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002032/0.8003, allocations: 100.6 kB / 0.814 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002338/0.8026, allocations: 1.105 MB / 0.815 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/0.8027, allocations: 2.188 kB / 0.815 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.8028, allocations: 39.28 kB / 0.8151 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.913e-05/0.8028, allocations: 32.47 kB / 0.8151 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001992/0.8048, allocations: 0.888 MB / 0.816 GB, free: 6.168 MB / 0.5762 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.007561/0.8124, allocations: 4.84 MB / 0.8207 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.8138, allocations: 0.5854 MB / 0.8213 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006821/0.8145, allocations: 318.9 kB / 0.8216 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003241/0.8148, allocations: 86.05 kB / 0.8217 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.239e-05/0.8148, allocations: 37.5 kB / 0.8217 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.615e-06/0.8148, allocations: 0 / 0.8217 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.007171/0.822, allocations: 1.611 MB / 0.8233 GB, free: 0 / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.8221, allocations: 59.95 kB / 0.8233 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002249/0.8243, allocations: 1.225 MB / 0.8245 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.8244, allocations: 41.7 kB / 0.8246 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006443/0.8251, allocations: 0.6113 MB / 0.8252 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000274/0.8253, allocations: 230 kB / 0.8254 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002687/0.8256, allocations: 154.6 kB / 0.8255 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.8258, allocations: 334 kB / 0.8258 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007139/0.8265, allocations: 292.7 kB / 0.8261 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009526/0.8275, allocations: 499.8 kB / 0.8266 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/0.829, allocations: 0.7131 MB / 0.8273 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.829, allocations: 0 / 0.8273 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004883/0.8339, allocations: 1.285 MB / 0.8285 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.8339, allocations: 4 kB / 0.8286 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.8339, allocations: 5.125 kB / 0.8286 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006103/0.8345, allocations: 133 kB / 0.8287 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006379/0.8352, allocations: 159.8 kB / 0.8288 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009202/0.8361, allocations: 0.7005 MB / 0.8295 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.8373, allocations: 119.4 kB / 0.8296 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.931e-05/0.8374, allocations: 35.98 kB / 0.8297 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001217/0.8386, allocations: 0.5509 MB / 0.8302 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000889/0.8395, allocations: 495.8 kB / 0.8307 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001443/0.8409, allocations: 0.7053 MB / 0.8314 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.112e-06/0.8409, allocations: 4 kB / 0.8314 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004868/0.8458, allocations: 1.274 MB / 0.8326 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.8458, allocations: 4 kB / 0.8326 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.8458, allocations: 4 kB / 0.8326 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005144/0.8464, allocations: 137.6 kB / 0.8328 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006107/0.847, allocations: 159.8 kB / 0.8329 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008628/0.8478, allocations: 0.6889 MB / 0.8336 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.849, allocations: 103.6 kB / 0.8337 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-05/0.8491, allocations: 37.5 kB / 0.8337 GB, free: 4.914 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0003033/0.8494, allocations: 224.1 kB / 0.8339 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004643/0.8499, allocations: 143 kB / 0.8341 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004717/0.8546, allocations: 1.27 MB / 0.8353 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-05/0.8546, allocations: 12 kB / 0.8353 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.8546, allocations: 0 / 0.8353 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004084/0.8587, allocations: 1.109 MB / 0.8364 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00764/0.8663, allocations: 2.585 MB / 0.8389 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-05/0.8664, allocations: 4 kB / 0.8389 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000546/0.8669, allocations: 116.2 kB / 0.839 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005701/0.8675, allocations: 140.6 kB / 0.8392 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.147e-05/0.8675, allocations: 19.98 kB / 0.8392 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005398/0.8729, allocations: 2.483 MB / 0.8416 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.8729, allocations: 4 kB / 0.8416 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005802/0.8787, allocations: 1.714 MB / 0.8433 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000944/0.8797, allocations: 238.8 kB / 0.8435 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004461/0.8801, allocations: 16 kB / 0.8435 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.8812, allocations: 51.88 kB / 0.8436 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.8814, allocations: 60.34 kB / 0.8436 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.8815, allocations: 35.97 kB / 0.8437 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001852/0.8834, allocations: 0.8816 MB / 0.8445 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.8834, allocations: 0 / 0.8445 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002866/0.8863, allocations: 0.7254 MB / 0.8452 GB, free: 8.73 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00104/0.8873, allocations: 439.8 kB / 0.8457 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003075/0.8904, allocations: 1.066 MB / 0.8467 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/0.8904, allocations: 1.125 kB / 0.8467 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001642/0.892, allocations: 0.5445 MB / 0.8472 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004323/0.8963, allocations: 0.8068 MB / 0.848 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005003/0.9013, allocations: 2.331 MB / 0.8503 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/0.9025, allocations: 1.168 MB / 0.8514 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004026/0.9029, allocations: 107.4 kB / 0.8515 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of SimCode: time 9.52e-07/0.9029, allocations: 4 kB / 0.8516 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of Templates: time 0.05224/0.9551, allocations: 31.3 MB / 0.8821 GB, free: 3.043 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.sim & ./IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.148844923824072] Failed to read output from testmodel.py, exit status != 0: 0.9646401950158179 0.981400567 0.188287019 Calling exit ...