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.001222/0.001222, allocations: 107.1 kB / 16.27 MB, free: 5.938 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.001187/0.001187, allocations: 188 kB / 17.19 MB, free: 5.582 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.383/1.383, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7809/0.7809, allocations: 122.9 MB / 413.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 59.91 kB / 0.4911 GB, free: 7.441 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4589/0.4601, allocations: 77.92 MB / 0.5672 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.07247/0.5327, allocations: 75.12 MB / 0.6405 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01992/0.5526, allocations: 12.76 MB / 0.653 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003979/0.5567, allocations: 67.62 kB / 0.6531 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003122/0.5598, allocations: 0.8268 MB / 0.6539 GB, free: 1.816 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008746/0.5687, allocations: 2.467 MB / 0.6563 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004348/0.573, allocations: 1.38 MB / 0.6576 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007062/0.5801, allocations: 4.385 MB / 0.6619 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003004/0.5831, allocations: 1.435 MB / 0.6633 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004999/0.5882, allocations: 1.615 MB / 0.6649 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0028/0.591, allocations: 1.198 MB / 0.6661 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007776/0.5918, allocations: 160 kB / 0.6662 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00436/0.5962, allocations: 1.4 MB / 0.6676 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008216/0.597, allocations: 398.6 kB / 0.668 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002242/0.5993, allocations: 0.9061 MB / 0.6688 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006517/0.6058, allocations: 2.824 MB / 0.6716 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.6058, allocations: 0 / 0.6716 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.444e-06/0.6058, allocations: 4 kB / 0.6716 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.29e-05/0.6059, allocations: 0 / 0.6716 GB, free: 15.6 MB / 0.5137 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.005679/0.6116, allocations: 2.083 MB / 0.6736 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.6117, allocations: 8.625 kB / 0.6736 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.6129, allocations: 234.8 kB / 0.6739 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00318/0.6161, allocations: 1.451 MB / 0.6753 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.06e-05/0.6162, allocations: 78 kB / 0.6754 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002468/0.6164, allocations: 100 kB / 0.6755 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00252/0.6189, allocations: 1.1 MB / 0.6765 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.324e-05/0.619, allocations: 0 / 0.6765 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/0.6191, allocations: 39.98 kB / 0.6766 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.26e-05/0.6192, allocations: 32 kB / 0.6766 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002381/0.6215, allocations: 0.8822 MB / 0.6775 GB, free: 9.445 MB / 0.5137 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.008526/0.6301, allocations: 4.948 MB / 0.6823 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.6315, allocations: 0.6236 MB / 0.6829 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006961/0.6322, allocations: 358.3 kB / 0.6832 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006841/0.6329, allocations: 0.8199 MB / 0.684 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.633, allocations: 51.06 kB / 0.6841 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.364e-06/0.633, allocations: 0 / 0.6841 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.007483/0.6405, allocations: 1.677 MB / 0.6857 GB, free: 472 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.6405, allocations: 59.95 kB / 0.6858 GB, free: 396 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00188/0.6424, allocations: 1.225 MB / 0.687 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001355/0.6426, allocations: 37.7 kB / 0.687 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005162/0.6431, allocations: 0.6026 MB / 0.6876 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002421/0.6434, allocations: 212.8 kB / 0.6878 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002409/0.6436, allocations: 162.5 kB / 0.688 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.6437, allocations: 334 kB / 0.6883 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006701/0.6444, allocations: 292.6 kB / 0.6886 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008498/0.6453, allocations: 491.9 kB / 0.689 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/0.6467, allocations: 0.7168 MB / 0.6897 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.6467, allocations: 0 / 0.6897 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004863/0.6516, allocations: 1.269 MB / 0.691 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.6516, allocations: 4.375 kB / 0.691 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.6516, allocations: 8 kB / 0.691 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005979/0.6523, allocations: 136.7 kB / 0.6911 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006092/0.6529, allocations: 159.8 kB / 0.6913 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008301/0.6537, allocations: 0.6889 MB / 0.6919 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.6549, allocations: 128.8 kB / 0.6921 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.689e-05/0.655, allocations: 31.98 kB / 0.6921 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001182/0.6562, allocations: 0.5526 MB / 0.6926 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008055/0.657, allocations: 491.8 kB / 0.6931 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00136/0.6584, allocations: 0.705 MB / 0.6938 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.457e-06/0.6584, allocations: 0 / 0.6938 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004805/0.6632, allocations: 1.269 MB / 0.695 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.6632, allocations: 4 kB / 0.695 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.6632, allocations: 4.375 kB / 0.695 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004952/0.6637, allocations: 140.7 kB / 0.6952 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006007/0.6644, allocations: 163.7 kB / 0.6953 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007833/0.6651, allocations: 0.6967 MB / 0.696 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/0.6664, allocations: 95.45 kB / 0.6961 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.775e-05/0.6665, allocations: 40.05 kB / 0.6961 GB, free: 5.402 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.0002853/0.6667, allocations: 220.7 kB / 0.6964 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002512/0.667, allocations: 134.3 kB / 0.6965 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004657/0.6717, allocations: 1.263 MB / 0.6977 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.6717, allocations: 11.98 kB / 0.6977 GB, free: 3.754 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.6717, allocations: 4 kB / 0.6977 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004066/0.6758, allocations: 1.099 MB / 0.6988 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006564/0.6824, allocations: 2.61 MB / 0.7014 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.6824, allocations: 4 kB / 0.7014 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004586/0.6829, allocations: 115.9 kB / 0.7015 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000492/0.6834, allocations: 133.1 kB / 0.7016 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.004e-05/0.6834, allocations: 23.94 kB / 0.7016 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00519/0.6886, allocations: 2.587 MB / 0.7041 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/0.6886, allocations: 12 kB / 0.7042 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005775/0.6944, allocations: 1.699 MB / 0.7058 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009586/0.6954, allocations: 307.2 kB / 0.7061 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000205/0.6956, allocations: 12 kB / 0.7061 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008213/0.6965, allocations: 59.92 kB / 0.7062 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.6966, allocations: 60.31 kB / 0.7062 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.076e-05/0.6967, allocations: 31.97 kB / 0.7063 GB, free: 10.62 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001545/0.6983, allocations: 0.8777 MB / 0.7071 GB, free: 9.738 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6983, allocations: 0 / 0.7071 GB, free: 9.738 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002406/0.7007, allocations: 0.7213 MB / 0.7078 GB, free: 9.016 MB / 0.545 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.001108/0.7018, allocations: 472.2 kB / 0.7083 GB, free: 8.562 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003007/0.7048, allocations: 1.156 MB / 0.7094 GB, free: 7.402 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/0.7048, allocations: 3.938 kB / 0.7094 GB, free: 7.398 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001566/0.7064, allocations: 0.5565 MB / 0.7099 GB, free: 6.832 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003868/0.7103, allocations: 0.8071 MB / 0.7107 GB, free: 6.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004072/0.7144, allocations: 2.287 MB / 0.713 GB, free: 3.711 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008334/0.7152, allocations: 1.168 MB / 0.7141 GB, free: 2.516 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001188/0.7164, allocations: 303 kB / 0.7144 GB, free: 2.215 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002352/0.7167, allocations: 107.3 kB / 0.7145 GB, free: 2.109 MB / 0.545 GB Notification: Performance of SimCode: time 9.32e-07/0.7167, allocations: 4 kB / 0.7145 GB, free: 2.105 MB / 0.545 GB Notification: Performance of Templates: time 0.05709/0.7738, allocations: 32.11 MB / 0.7459 GB, free: 2.367 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)