Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL") translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000925/0.0009249, allocations: 97.64 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.008482/0.008482, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.32/1.32, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00176/0.00176, allocations: 262.9 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9538/0.9538, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004169/0.0004169, allocations: 12.72 kB / 0.5986 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1689, allocations: 88.55 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.06672/0.2356, allocations: 73.42 MB / 0.7568 GB, free: 5.441 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.3256/0.5613, allocations: 12.65 MB / 0.7692 GB, free: 29.91 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002159/0.5635, allocations: 61.72 kB / 0.7692 GB, free: 29.91 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001704/0.5652, allocations: 0.6768 MB / 0.7699 GB, free: 29.9 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005803/0.571, allocations: 2.27 MB / 0.7721 GB, free: 29.82 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00322/0.5743, allocations: 1.271 MB / 0.7733 GB, free: 29.8 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.008076/0.5824, allocations: 5.553 MB / 0.7788 GB, free: 29.7 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002422/0.5848, allocations: 1.156 MB / 0.7799 GB, free: 29.52 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003655/0.5885, allocations: 1.313 MB / 0.7812 GB, free: 29.34 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002258/0.5908, allocations: 1.136 MB / 0.7823 GB, free: 29.17 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.00034/0.5912, allocations: 54.88 kB / 0.7823 GB, free: 29.17 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00472/0.5959, allocations: 1.251 MB / 0.7836 GB, free: 29.05 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003853/0.5963, allocations: 288 kB / 0.7838 GB, free: 28.98 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001662/0.598, allocations: 0.8066 MB / 0.7846 GB, free: 28.7 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004091/0.6021, allocations: 2.729 MB / 0.7873 GB, free: 28.33 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.6021, allocations: 1.438 kB / 0.7873 GB, free: 28.33 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.665e-06/0.6021, allocations: 0 / 0.7873 GB, free: 28.33 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.171e-05/0.6021, allocations: 3.938 kB / 0.7873 GB, free: 28.33 MB / 0.545 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.003101/0.6052, allocations: 1.785 MB / 0.789 GB, free: 27.3 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.6053, allocations: 9.125 kB / 0.7891 GB, free: 27.3 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000756/0.606, allocations: 243.1 kB / 0.7893 GB, free: 27.21 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002323/0.6084, allocations: 1.488 MB / 0.7907 GB, free: 26.78 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.852e-05/0.6084, allocations: 85.72 kB / 0.7908 GB, free: 26.77 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001733/0.6086, allocations: 104.4 kB / 0.7909 GB, free: 26.77 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002399/0.611, allocations: 1.119 MB / 0.792 GB, free: 26.62 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/0.6111, allocations: 1.219 kB / 0.792 GB, free: 26.62 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.6112, allocations: 42.5 kB / 0.7921 GB, free: 26.62 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.344e-05/0.6113, allocations: 26.7 kB / 0.7921 GB, free: 26.62 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/0.6133, allocations: 0.9285 MB / 0.793 GB, free: 26.6 MB / 0.545 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.005929/0.6192, allocations: 4.921 MB / 0.7978 GB, free: 23.42 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.6206, allocations: 0.6465 MB / 0.7984 GB, free: 23.12 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007603/0.6214, allocations: 374.3 kB / 0.7988 GB, free: 22.95 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004885/0.6219, allocations: 0.8288 MB / 0.7996 GB, free: 21.98 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.6219, allocations: 42.84 kB / 0.7996 GB, free: 21.93 MB / 0.545 GB Notification: Performance of pre-optimization done (n=62): time 2.375e-06/0.6219, allocations: 0 / 0.7996 GB, free: 21.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=62): time 0.007862/0.6298, allocations: 1.908 MB / 0.8015 GB, free: 21.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.6299, allocations: 58.25 kB / 0.8015 GB, free: 20.96 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002/0.6319, allocations: 1.201 MB / 0.8027 GB, free: 20.29 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001423/0.632, allocations: 42.98 kB / 0.8028 GB, free: 20.25 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000441/0.6325, allocations: 0.6062 MB / 0.8034 GB, free: 19.71 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001975/0.6327, allocations: 211.3 kB / 0.8036 GB, free: 19.54 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.762e-05/0.6328, allocations: 70.3 kB / 0.8036 GB, free: 19.48 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.095e-05/0.6329, allocations: 332.8 kB / 0.8039 GB, free: 19.16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006847/0.6336, allocations: 304.1 kB / 0.8042 GB, free: 19.02 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007974/0.6344, allocations: 0.4972 MB / 0.8047 GB, free: 18.65 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/0.6358, allocations: 0.7513 MB / 0.8054 GB, free: 18.21 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.6358, allocations: 1.375 kB / 0.8054 GB, free: 18.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005112/0.6409, allocations: 1.415 MB / 0.8068 GB, free: 17.56 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.461e-05/0.6411, allocations: 194.9 kB / 0.807 GB, free: 17.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.6411, allocations: 6.922 kB / 0.807 GB, free: 17.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007225/0.6418, allocations: 161.2 kB / 0.8072 GB, free: 17.26 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000598/0.6424, allocations: 173.3 kB / 0.8073 GB, free: 17.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007688/0.6432, allocations: 0.7275 MB / 0.8081 GB, free: 16.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.6446, allocations: 168.3 kB / 0.8082 GB, free: 16.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.81e-05/0.6447, allocations: 33.02 kB / 0.8082 GB, free: 16.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.136e-06/0.6447, allocations: 3.281 kB / 0.8082 GB, free: 16.48 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004388/0.6491, allocations: 1.262 MB / 0.8095 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.6491, allocations: 2.906 kB / 0.8095 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005983/0.6497, allocations: 169.5 kB / 0.8096 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005671/0.6503, allocations: 165.9 kB / 0.8098 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007353/0.651, allocations: 0.726 MB / 0.8105 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.6525, allocations: 159.5 kB / 0.8107 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.949e-05/0.6526, allocations: 38.95 kB / 0.8107 GB, free: 15.08 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0007851/0.6533, allocations: 419.4 kB / 0.8111 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002456/0.6536, allocations: 138.7 kB / 0.8112 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004734/0.6583, allocations: 1.411 MB / 0.8126 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.6584, allocations: 6.594 kB / 0.8126 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.6584, allocations: 3.938 kB / 0.8126 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004186/0.6626, allocations: 1.249 MB / 0.8138 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006471/0.6691, allocations: 2.762 MB / 0.8165 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.864e-06/0.6691, allocations: 3.25 kB / 0.8165 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000461/0.6696, allocations: 114.6 kB / 0.8167 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005882/0.6702, allocations: 161.2 kB / 0.8168 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.467e-05/0.6702, allocations: 21.67 kB / 0.8168 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006893/0.6709, allocations: 0.7225 MB / 0.8175 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.6709, allocations: 9.688 kB / 0.8175 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005267/0.6762, allocations: 1.855 MB / 0.8194 GB, free: 9.707 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008326/0.6771, allocations: 333.3 kB / 0.8197 GB, free: 9.418 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.6772, allocations: 18.83 kB / 0.8197 GB, free: 9.406 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009075/0.6781, allocations: 100.6 kB / 0.8198 GB, free: 9.359 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.6783, allocations: 49.53 kB / 0.8198 GB, free: 9.332 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.153e-05/0.6783, allocations: 30.73 kB / 0.8199 GB, free: 9.324 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001248/0.6796, allocations: 0.8753 MB / 0.8207 GB, free: 8.832 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.11e-07/0.6796, allocations: 0 / 0.8207 GB, free: 8.832 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002131/0.6817, allocations: 0.7002 MB / 0.8214 GB, free: 8.688 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 (55): * Single equations (assignments): 50 * 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008735/0.6826, allocations: 464 kB / 0.8218 GB, free: 8.457 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002568/0.6852, allocations: 1.176 MB / 0.823 GB, free: 7.957 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/0.6852, allocations: 3.906 kB / 0.823 GB, free: 7.957 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008558/0.6861, allocations: 412.2 kB / 0.8234 GB, free: 7.711 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00401/0.6901, allocations: 0.7911 MB / 0.8242 GB, free: 6.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003596/0.6937, allocations: 2.805 MB / 0.8269 GB, free: 4.062 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004872/0.6942, allocations: 1.173 MB / 0.828 GB, free: 2.863 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001104/0.6953, allocations: 310.9 kB / 0.8283 GB, free: 2.555 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002591/0.6956, allocations: 115.3 kB / 0.8284 GB, free: 2.441 MB / 0.545 GB Notification: Performance of SimCode: time 6.11e-07/0.6956, allocations: 0 / 0.8284 GB, free: 2.441 MB / 0.545 GB Notification: Performance of Templates: time 0.0517/0.7473, allocations: 31.73 MB / 0.8594 GB, free: 3.219 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)