Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y") translateModel(IBPSA.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 107.5 kB / 17.03 MB, free: 5.656 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.001846/0.001846, allocations: 193.2 kB / 17.97 MB, free: 5.062 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.328/1.328, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7255/0.7255, allocations: 115.1 MB / 406.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 64.09 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3399, allocations: 76.15 MB / 0.5576 GB, free: 36.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.07517/0.4151, allocations: 75.12 MB / 0.6309 GB, free: 9.258 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02548/0.4406, allocations: 12.76 MB / 0.6434 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003111/0.4438, allocations: 63.62 kB / 0.6434 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002676/0.4465, allocations: 0.8267 MB / 0.6442 GB, free: 11.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006899/0.4534, allocations: 2.471 MB / 0.6466 GB, free: 9.094 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003996/0.4575, allocations: 1.389 MB / 0.648 GB, free: 7.719 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005816/0.4633, allocations: 4.403 MB / 0.6523 GB, free: 3.309 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002216/0.4655, allocations: 1.435 MB / 0.6537 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003638/0.4692, allocations: 1.62 MB / 0.6553 GB, free: 220 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001632/0.4708, allocations: 1.19 MB / 0.6565 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002374/0.4711, allocations: 164 kB / 0.6566 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002774/0.4739, allocations: 1.404 MB / 0.658 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003678/0.4742, allocations: 398.6 kB / 0.6584 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009013/0.4751, allocations: 0.8983 MB / 0.6592 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0035/0.4787, allocations: 2.878 MB / 0.662 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4787, allocations: 0 / 0.662 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4787, allocations: 3.938 kB / 0.662 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.706e-05/0.4787, allocations: 0 / 0.662 GB, free: 9.273 MB / 0.4981 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.004064/0.4828, allocations: 2.079 MB / 0.6641 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.4828, allocations: 8.031 kB / 0.6641 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008565/0.4837, allocations: 234.8 kB / 0.6643 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002746/0.4865, allocations: 1.521 MB / 0.6658 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.273e-05/0.4865, allocations: 78 kB / 0.6659 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.4867, allocations: 103.9 kB / 0.666 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001989/0.4887, allocations: 1.104 MB / 0.667 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.4887, allocations: 3.938 kB / 0.6671 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.601e-05/0.4888, allocations: 40 kB / 0.6671 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.08e-05/0.4889, allocations: 24 kB / 0.6671 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001844/0.4907, allocations: 0.8861 MB / 0.668 GB, free: 3.047 MB / 0.4981 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.006136/0.4969, allocations: 4.893 MB / 0.6728 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.4983, allocations: 0.6197 MB / 0.6734 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006724/0.499, allocations: 346.8 kB / 0.6737 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006721/0.4997, allocations: 0.8316 MB / 0.6745 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.4997, allocations: 43.12 kB / 0.6745 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.745e-06/0.4997, allocations: 0 / 0.6745 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.006869/0.5066, allocations: 1.678 MB / 0.6762 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.5067, allocations: 59.97 kB / 0.6762 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00167/0.5083, allocations: 1.225 MB / 0.6774 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.907e-05/0.5084, allocations: 37.7 kB / 0.6775 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004905/0.5089, allocations: 0.6026 MB / 0.6781 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002457/0.5092, allocations: 216.9 kB / 0.6783 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002619/0.5095, allocations: 162.5 kB / 0.6784 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.5096, allocations: 334 kB / 0.6787 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006597/0.5103, allocations: 284.7 kB / 0.679 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008208/0.5111, allocations: 0.4927 MB / 0.6795 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.5125, allocations: 0.7128 MB / 0.6802 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.5125, allocations: 0 / 0.6802 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004571/0.5171, allocations: 1.277 MB / 0.6814 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.5171, allocations: 12.03 kB / 0.6815 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.5171, allocations: 7.984 kB / 0.6815 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006196/0.5177, allocations: 136.7 kB / 0.6816 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006362/0.5184, allocations: 151.8 kB / 0.6817 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008119/0.5192, allocations: 0.7044 MB / 0.6824 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.5202, allocations: 119.1 kB / 0.6825 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.158e-05/0.5203, allocations: 31.98 kB / 0.6826 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001054/0.5214, allocations: 0.5487 MB / 0.6831 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008008/0.5222, allocations: 495.8 kB / 0.6836 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001327/0.5235, allocations: 0.7012 MB / 0.6843 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.885e-06/0.5236, allocations: 0 / 0.6843 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004473/0.528, allocations: 1.265 MB / 0.6855 GB, free: 232 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.5281, allocations: 4 kB / 0.6855 GB, free: 228 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.5281, allocations: 4.375 kB / 0.6855 GB, free: 224 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004852/0.5286, allocations: 136.7 kB / 0.6856 GB, free: 84 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006377/0.5292, allocations: 155.8 kB / 0.6858 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007886/0.53, allocations: 0.7005 MB / 0.6865 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.5311, allocations: 95.45 kB / 0.6866 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.501e-05/0.5312, allocations: 36.06 kB / 0.6866 GB, free: 15.07 MB / 0.5294 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.0002437/0.5314, allocations: 224.9 kB / 0.6868 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003544/0.5318, allocations: 138.2 kB / 0.6869 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004612/0.5364, allocations: 1.26 MB / 0.6882 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/0.5364, allocations: 4 kB / 0.6882 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.739e-06/0.5364, allocations: 7.938 kB / 0.6882 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003884/0.5403, allocations: 1.099 MB / 0.6893 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006694/0.547, allocations: 2.614 MB / 0.6918 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/0.5471, allocations: 4 kB / 0.6918 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005191/0.5476, allocations: 115.8 kB / 0.6919 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005037/0.5481, allocations: 125.2 kB / 0.692 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-05/0.5482, allocations: 23.92 kB / 0.6921 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004832/0.553, allocations: 2.587 MB / 0.6946 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.5531, allocations: 7.938 kB / 0.6946 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005279/0.5584, allocations: 1.695 MB / 0.6962 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000868/0.5593, allocations: 315.2 kB / 0.6966 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003585/0.5596, allocations: 16.06 kB / 0.6966 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/0.5607, allocations: 56.2 kB / 0.6966 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.5608, allocations: 56.25 kB / 0.6967 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.36e-05/0.5609, allocations: 35.98 kB / 0.6967 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001702/0.5626, allocations: 0.8855 MB / 0.6976 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5626, allocations: 0 / 0.6976 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002219/0.5649, allocations: 0.7174 MB / 0.6983 GB, free: 2.688 MB / 0.5294 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.001024/0.5659, allocations: 460.9 kB / 0.6987 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002785/0.5687, allocations: 1.121 MB / 0.6998 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.5687, allocations: 4.188 kB / 0.6998 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001473/0.5702, allocations: 0.5524 MB / 0.7004 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00353/0.5737, allocations: 0.8024 MB / 0.7011 GB, free: 15.78 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003908/0.5777, allocations: 2.26 MB / 0.7033 GB, free: 13.45 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008442/0.5785, allocations: 1.168 MB / 0.7045 GB, free: 12.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001176/0.5797, allocations: 307 kB / 0.7048 GB, free: 11.95 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002668/0.58, allocations: 103.4 kB / 0.7049 GB, free: 11.84 MB / 0.545 GB Notification: Performance of SimCode: time 6.31e-07/0.58, allocations: 0 / 0.7049 GB, free: 11.84 MB / 0.545 GB Notification: Performance of Templates: time 0.05151/0.6315, allocations: 32.09 MB / 0.7362 GB, free: 12.09 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)