Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008044/0.0008044, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005843/0.005843, allocations: 169.9 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.565/1.565, allocations: 252 MB / 0.5105 GB, free: 4.676 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005626/0.0005624, allocations: 20 kB / 0.6249 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6031/0.6037, allocations: 106.4 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.0656/0.6694, allocations: 59.79 MB / 0.7871 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01849/0.6879, allocations: 11.79 MB / 0.7986 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003192/0.6911, allocations: 47.69 kB / 0.7987 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002556/0.6937, allocations: 0.5516 MB / 0.7992 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006637/0.7004, allocations: 1.781 MB / 0.801 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003888/0.7043, allocations: 1.102 MB / 0.802 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005608/0.7099, allocations: 3.889 MB / 0.8058 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002118/0.7121, allocations: 0.9149 MB / 0.8067 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003185/0.7153, allocations: 1.092 MB / 0.8078 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002052/0.7174, allocations: 0.8787 MB / 0.8086 GB, free: 9.129 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003489/0.7177, allocations: 44 kB / 0.8087 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003964/0.7217, allocations: 1.302 MB / 0.81 GB, free: 7.781 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005792/0.7223, allocations: 222.8 kB / 0.8102 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001723/0.724, allocations: 0.635 MB / 0.8108 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004677/0.7287, allocations: 2.204 MB / 0.8129 GB, free: 4.707 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.7288, allocations: 0 / 0.8129 GB, free: 4.707 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.677e-06/0.7288, allocations: 3.938 kB / 0.8129 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.673e-05/0.7289, allocations: 3.938 kB / 0.813 GB, free: 4.699 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.004226/0.7331, allocations: 1.493 MB / 0.8144 GB, free: 3.148 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.7332, allocations: 8.031 kB / 0.8144 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002877/0.736, allocations: 0.5183 MB / 0.8149 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00272/0.7388, allocations: 1.14 MB / 0.816 GB, free: 1.422 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003836/0.7392, allocations: 133.9 kB / 0.8162 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/0.7394, allocations: 80 kB / 0.8162 GB, free: 1.215 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002444/0.7418, allocations: 1.037 MB / 0.8173 GB, free: 148 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/0.7419, allocations: 3.938 kB / 0.8173 GB, free: 144 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.215e-05/0.7419, allocations: 28 kB / 0.8173 GB, free: 116 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.964e-05/0.742, allocations: 20 kB / 0.8173 GB, free: 96 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002897/0.7449, allocations: 1.003 MB / 0.8183 GB, free: 15.09 MB / 0.6387 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.006928/0.7518, allocations: 4.699 MB / 0.8229 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004434/0.7563, allocations: 1.125 MB / 0.824 GB, free: 8.906 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001149/0.7575, allocations: 449.9 kB / 0.8244 GB, free: 8.465 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/0.7585, allocations: 1.029 MB / 0.8254 GB, free: 7.215 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.7585, allocations: 39 kB / 0.8254 GB, free: 7.168 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=53): time 2.695e-06/0.7585, allocations: 0 / 0.8254 GB, free: 7.168 MB / 0.6387 GB Notification: Performance of matching and sorting (n=53): time 0.008418/0.767, allocations: 2.154 MB / 0.8275 GB, free: 4.984 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.767, allocations: 59.78 kB / 0.8276 GB, free: 4.91 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/0.7686, allocations: 0.9552 MB / 0.8285 GB, free: 3.938 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.054e-05/0.7687, allocations: 37.7 kB / 0.8286 GB, free: 3.895 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004505/0.7692, allocations: 0.5079 MB / 0.8291 GB, free: 3.383 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/0.7694, allocations: 181.3 kB / 0.8292 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.7695, allocations: 49.69 kB / 0.8293 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.7697, allocations: 325.9 kB / 0.8296 GB, free: 2.824 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/0.7708, allocations: 384.9 kB / 0.83 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/0.772, allocations: 0.5381 MB / 0.8305 GB, free: 1.852 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002177/0.7742, allocations: 0.8126 MB / 0.8313 GB, free: 1.004 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.7743, allocations: 4 kB / 0.8313 GB, free: 1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00314/0.7774, allocations: 1.119 MB / 0.8324 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001255/0.7775, allocations: 172.4 kB / 0.8325 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.7776, allocations: 4 kB / 0.8325 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001393/0.779, allocations: 316.6 kB / 0.8329 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006531/0.7796, allocations: 143.8 kB / 0.833 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/0.7812, allocations: 0.9417 MB / 0.8339 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/0.7826, allocations: 171.3 kB / 0.8341 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.7827, allocations: 39.95 kB / 0.8341 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.7827, allocations: 8 kB / 0.8341 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002826/0.7855, allocations: 0.9899 MB / 0.8351 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.7856, allocations: 8.031 kB / 0.8351 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.7867, allocations: 312.6 kB / 0.8354 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006233/0.7873, allocations: 139.8 kB / 0.8355 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.7888, allocations: 0.9386 MB / 0.8364 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.7901, allocations: 171.4 kB / 0.8366 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.448e-05/0.7902, allocations: 31.97 kB / 0.8366 GB, free: 11.42 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (54): * Single equations (assignments): 53 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0006411/0.7909, allocations: 349.9 kB / 0.837 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00033/0.7912, allocations: 110.7 kB / 0.8371 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00333/0.7945, allocations: 1.225 MB / 0.8383 GB, free: 9.723 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/0.7946, allocations: 8 kB / 0.8383 GB, free: 9.715 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.7946, allocations: 3.984 kB / 0.8383 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.7946, allocations: 0 / 0.8383 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004863/0.7995, allocations: 2.312 MB / 0.8405 GB, free: 7.324 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.7995, allocations: 0 / 0.8405 GB, free: 7.324 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005667/0.8001, allocations: 127.8 kB / 0.8407 GB, free: 7.199 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001067/0.8012, allocations: 326.8 kB / 0.841 GB, free: 6.879 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.235e-05/0.8012, allocations: 19.98 kB / 0.841 GB, free: 6.859 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/0.8028, allocations: 0.966 MB / 0.8419 GB, free: 5.867 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.8028, allocations: 4.031 kB / 0.8419 GB, free: 5.863 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00392/0.8067, allocations: 1.405 MB / 0.8433 GB, free: 4.418 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006263/0.8074, allocations: 291.4 kB / 0.8436 GB, free: 4.113 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002209/0.8076, allocations: 12 kB / 0.8436 GB, free: 4.102 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.8087, allocations: 123.8 kB / 0.8437 GB, free: 3.98 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.8088, allocations: 40.33 kB / 0.8438 GB, free: 3.941 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.385e-05/0.8089, allocations: 27.98 kB / 0.8438 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001061/0.81, allocations: 0.6638 MB / 0.8444 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.81e-07/0.81, allocations: 0 / 0.8444 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002169/0.8122, allocations: 0.5652 MB / 0.845 GB, free: 2.676 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001166/0.8133, allocations: 367.6 kB / 0.8453 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004178/0.8175, allocations: 1.385 MB / 0.8467 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.8176, allocations: 4 kB / 0.8467 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.8189, allocations: 476.9 kB / 0.8471 GB, free: 472 kB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003297/0.8222, allocations: 0.5283 MB / 0.8477 GB, free: 15.94 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00462/0.8268, allocations: 2.377 MB / 0.85 GB, free: 13.51 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007518/0.8276, allocations: 1.07 MB / 0.851 GB, free: 12.41 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001235/0.8289, allocations: 220.6 kB / 0.8512 GB, free: 12.19 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003093/0.8292, allocations: 83.41 kB / 0.8513 GB, free: 12.11 MB / 0.67 GB Notification: Performance of SimCode: time 1.523e-06/0.8292, allocations: 4 kB / 0.8513 GB, free: 12.11 MB / 0.67 GB Notification: Performance of Templates: time 0.04338/0.8726, allocations: 23.64 MB / 0.8744 GB, free: 4.762 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1) Environment - environmentSimulation: