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.001312/0.001312, allocations: 114.9 kB / 16.42 MB, free: 6.5 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.00144/0.00144, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.342/1.342, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002195/0.002195, allocations: 290.4 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9483/0.9483, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 99.84 kB / 0.6821 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4594/0.4613, allocations: 86.97 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.07869/0.54, allocations: 75.16 MB / 0.8405 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01957/0.5596, allocations: 12.74 MB / 0.8529 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003192/0.5629, allocations: 63.62 kB / 0.853 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002837/0.5658, allocations: 0.8579 MB / 0.8538 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008313/0.5742, allocations: 2.592 MB / 0.8563 GB, free: 8.18 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00377/0.578, allocations: 1.402 MB / 0.8577 GB, free: 6.789 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006017/0.584, allocations: 4.393 MB / 0.862 GB, free: 2.387 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002225/0.5862, allocations: 1.445 MB / 0.8634 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003591/0.5898, allocations: 1.661 MB / 0.865 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001852/0.5917, allocations: 1.192 MB / 0.8662 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003839/0.5921, allocations: 160 kB / 0.8663 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003252/0.5954, allocations: 1.427 MB / 0.8677 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005288/0.5959, allocations: 394.6 kB / 0.8681 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001418/0.5973, allocations: 0.9138 MB / 0.869 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004663/0.602, allocations: 2.889 MB / 0.8718 GB, free: 8.262 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.602, allocations: 4 kB / 0.8718 GB, free: 8.258 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.112e-06/0.602, allocations: 4 kB / 0.8718 GB, free: 8.254 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.738e-05/0.6021, allocations: 0 / 0.8718 GB, free: 8.254 MB / 0.6387 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.0048/0.6069, allocations: 2.087 MB / 0.8739 GB, free: 6.098 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.693e-05/0.607, allocations: 8.031 kB / 0.8739 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001183/0.6082, allocations: 226.9 kB / 0.8741 GB, free: 5.867 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003675/0.6119, allocations: 1.528 MB / 0.8756 GB, free: 4.285 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.532e-05/0.6119, allocations: 74 kB / 0.8757 GB, free: 4.211 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001935/0.6121, allocations: 100 kB / 0.8758 GB, free: 4.113 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002253/0.6144, allocations: 1.104 MB / 0.8768 GB, free: 2.977 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/0.6144, allocations: 7.906 kB / 0.8768 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.6146, allocations: 39.98 kB / 0.8769 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-05/0.6146, allocations: 28 kB / 0.8769 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002241/0.6169, allocations: 0.8861 MB / 0.8778 GB, free: 2.012 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.006132/0.623, allocations: 4.907 MB / 0.8826 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/0.6244, allocations: 0.6239 MB / 0.8832 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007412/0.6252, allocations: 362.7 kB / 0.8835 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006554/0.6258, allocations: 0.8316 MB / 0.8843 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.255e-05/0.6259, allocations: 39.12 kB / 0.8844 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=62): time 2.644e-06/0.6259, allocations: 0 / 0.8844 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=62): time 0.007625/0.6335, allocations: 1.689 MB / 0.886 GB, free: 9.051 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.6336, allocations: 59.97 kB / 0.8861 GB, free: 8.98 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001826/0.6354, allocations: 1.225 MB / 0.8873 GB, free: 7.738 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.668e-05/0.6355, allocations: 45.7 kB / 0.8873 GB, free: 7.688 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005892/0.6361, allocations: 0.5949 MB / 0.8879 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002368/0.6364, allocations: 212.9 kB / 0.8881 GB, free: 6.875 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002652/0.6366, allocations: 154.5 kB / 0.8882 GB, free: 6.719 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.6367, allocations: 334 kB / 0.8886 GB, free: 6.387 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006975/0.6375, allocations: 292.6 kB / 0.8888 GB, free: 6.098 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008825/0.6383, allocations: 490.9 kB / 0.8893 GB, free: 5.551 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00153/0.6399, allocations: 0.7082 MB / 0.89 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.6399, allocations: 3.938 kB / 0.89 GB, free: 4.789 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005044/0.645, allocations: 1.285 MB / 0.8913 GB, free: 3.492 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.645, allocations: 7.984 kB / 0.8913 GB, free: 3.484 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.645, allocations: 4 kB / 0.8913 GB, free: 3.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007542/0.6458, allocations: 161 kB / 0.8914 GB, free: 3.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006291/0.6464, allocations: 151.8 kB / 0.8916 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009351/0.6474, allocations: 0.7162 MB / 0.8923 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/0.6485, allocations: 119 kB / 0.8924 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.866e-05/0.6486, allocations: 35.92 kB / 0.8924 GB, free: 2.277 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00116/0.6497, allocations: 0.5628 MB / 0.893 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008936/0.6506, allocations: 483 kB / 0.8934 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001471/0.6521, allocations: 0.7004 MB / 0.8941 GB, free: 440 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.106e-06/0.6521, allocations: 0 / 0.8941 GB, free: 440 kB / 0.6544 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004937/0.6571, allocations: 1.277 MB / 0.8954 GB, free: 15.14 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.6571, allocations: 8 kB / 0.8954 GB, free: 15.13 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.6571, allocations: 4 kB / 0.8954 GB, free: 15.13 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006689/0.6578, allocations: 153.1 kB / 0.8955 GB, free: 14.98 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006119/0.6584, allocations: 159.8 kB / 0.8957 GB, free: 14.82 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009184/0.6593, allocations: 0.7304 MB / 0.8964 GB, free: 14.07 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.6605, allocations: 99.44 kB / 0.8965 GB, free: 13.97 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.087e-05/0.6606, allocations: 35.98 kB / 0.8965 GB, free: 13.93 MB / 0.67 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.000243/0.6608, allocations: 220.2 kB / 0.8967 GB, free: 13.71 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002882/0.6611, allocations: 138.3 kB / 0.8969 GB, free: 13.57 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004874/0.666, allocations: 1.279 MB / 0.8981 GB, free: 12.28 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004358/0.6704, allocations: 1.119 MB / 0.8992 GB, free: 11.13 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.6704, allocations: 0 / 0.8992 GB, free: 11.13 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006437/0.671, allocations: 295.2 kB / 0.8995 GB, free: 10.82 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002533/0.6713, allocations: 12 kB / 0.8995 GB, free: 10.81 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008143/0.6721, allocations: 55.92 kB / 0.8995 GB, free: 10.75 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.953e-05/0.6722, allocations: 40.45 kB / 0.8996 GB, free: 10.71 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002823/0.6751, allocations: 0.9794 MB / 0.9005 GB, free: 9.723 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002526/0.6776, allocations: 1.348 MB / 0.9019 GB, free: 8.359 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007034/0.6783, allocations: 336.2 kB / 0.9022 GB, free: 8.031 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001307/0.6796, allocations: 0.8575 MB / 0.903 GB, free: 7.172 MB / 0.67 GB Notification: Performance of Backend: time 4.8e-07/0.6796, allocations: 0 / 0.903 GB, free: 7.172 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003781/0.6834, allocations: 1.401 MB / 0.9044 GB, free: 5.777 MB / 0.67 GB Notification: Performance of SimCode: time 0.005694/0.6891, allocations: 3.141 MB / 0.9074 GB, free: 2.594 MB / 0.67 GB Notification: Performance of Templates: time 0.05354/0.7427, allocations: 33.88 MB / 0.9405 GB, free: 1.078 MB / 0.7012 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)