Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000962/0.0009621, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009197/0.0009197, allocations: 181.8 kB / 16.92 MB, free: 6.914 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.348/1.348, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9916/0.9916, allocations: 143.2 MB / 435.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004422/0.0004423, allocations: 8 kB / 0.517 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1722, allocations: 83.41 MB / 0.5985 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.3545/0.5267, allocations: 59.73 MB / 0.6568 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0155/0.5422, allocations: 11.93 MB / 0.6685 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002825/0.5451, allocations: 50 kB / 0.6685 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002256/0.5474, allocations: 0.5516 MB / 0.6691 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006897/0.5543, allocations: 1.808 MB / 0.6708 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003602/0.5579, allocations: 1.086 MB / 0.6719 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006922/0.5649, allocations: 3.899 MB / 0.6757 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00219/0.5671, allocations: 0.9037 MB / 0.6766 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003542/0.5707, allocations: 1.121 MB / 0.6777 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002072/0.5728, allocations: 0.8504 MB / 0.6785 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001877/0.573, allocations: 41.72 kB / 0.6785 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003634/0.5766, allocations: 1.348 MB / 0.6799 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003808/0.577, allocations: 211.5 kB / 0.6801 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0011/0.5781, allocations: 0.6322 MB / 0.6807 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003315/0.5815, allocations: 1.797 MB / 0.6824 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.5815, allocations: 1.312 kB / 0.6824 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.806e-06/0.5815, allocations: 0.6562 kB / 0.6824 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.523e-05/0.5815, allocations: 0 / 0.6824 GB, free: 6.793 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003565/0.5851, allocations: 1.489 MB / 0.6839 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.5852, allocations: 10.22 kB / 0.6839 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001932/0.5871, allocations: 383.8 kB / 0.6843 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002586/0.5897, allocations: 1.138 MB / 0.6854 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004014/0.5901, allocations: 124.4 kB / 0.6855 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.5903, allocations: 87.31 kB / 0.6856 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002251/0.5925, allocations: 0.9713 MB / 0.6865 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.5926, allocations: 5.312 kB / 0.6865 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.452e-05/0.5927, allocations: 32.33 kB / 0.6866 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.755e-05/0.5927, allocations: 18.31 kB / 0.6866 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002329/0.595, allocations: 0.86 MB / 0.6874 GB, free: 4.148 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.007796/0.6028, allocations: 4.793 MB / 0.6921 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.6046, allocations: 0.5946 MB / 0.6927 GB, free: 332 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007041/0.6053, allocations: 292 kB / 0.693 GB, free: 232 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001721/0.607, allocations: 1.394 MB / 0.6943 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.749e-05/0.6071, allocations: 37.64 kB / 0.6944 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=43): time 3.407e-06/0.6071, allocations: 0 / 0.6944 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43): time 0.009491/0.6166, allocations: 2.05 MB / 0.6964 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.6167, allocations: 55.8 kB / 0.6964 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002617/0.6193, allocations: 1.057 MB / 0.6974 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001306/0.6195, allocations: 37.67 kB / 0.6975 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005499/0.62, allocations: 0.5217 MB / 0.698 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/0.6202, allocations: 149.7 kB / 0.6981 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.6204, allocations: 48 kB / 0.6982 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.6205, allocations: 330.2 kB / 0.6985 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009138/0.6214, allocations: 285.4 kB / 0.6988 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/0.6226, allocations: 0.4953 MB / 0.6992 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001699/0.6243, allocations: 0.6687 MB / 0.6999 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.6243, allocations: 1.188 kB / 0.6999 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00306/0.6274, allocations: 0.9748 MB / 0.7008 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001533/0.6275, allocations: 205.1 kB / 0.701 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.6276, allocations: 4.906 kB / 0.701 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001599/0.6292, allocations: 337.9 kB / 0.7014 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005106/0.6297, allocations: 107.1 kB / 0.7015 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001686/0.6314, allocations: 0.9478 MB / 0.7024 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/0.6331, allocations: 179.2 kB / 0.7026 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.6332, allocations: 33.17 kB / 0.7026 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.6333, allocations: 4.656 kB / 0.7026 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002522/0.6358, allocations: 0.8401 MB / 0.7034 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.6358, allocations: 4.656 kB / 0.7034 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00127/0.6371, allocations: 324.5 kB / 0.7037 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005073/0.6376, allocations: 119.3 kB / 0.7039 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001616/0.6392, allocations: 0.9324 MB / 0.7048 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/0.6408, allocations: 156.3 kB / 0.7049 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.6409, allocations: 25.98 kB / 0.7049 GB, free: 9.5 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * 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.0008217/0.6417, allocations: 357.7 kB / 0.7053 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003852/0.6421, allocations: 111.3 kB / 0.7054 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004372/0.6465, allocations: 1.16 MB / 0.7065 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.893e-05/0.6466, allocations: 9.016 kB / 0.7065 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.6466, allocations: 0 / 0.7065 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.6466, allocations: 5.328 kB / 0.7065 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006309/0.6529, allocations: 2.166 MB / 0.7086 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/0.653, allocations: 2.438 kB / 0.7086 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/0.6532, allocations: 59.72 kB / 0.7087 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001201/0.6544, allocations: 319.5 kB / 0.709 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.944e-05/0.6545, allocations: 14.86 kB / 0.709 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001906/0.6564, allocations: 0.9784 MB / 0.71 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-06/0.6564, allocations: 6.812 kB / 0.71 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004086/0.6605, allocations: 1.189 MB / 0.7111 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009245/0.6615, allocations: 280 kB / 0.7114 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003626/0.6619, allocations: 22.48 kB / 0.7114 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/0.6631, allocations: 94.25 kB / 0.7115 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.6632, allocations: 42.58 kB / 0.7116 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.289e-05/0.6633, allocations: 20.83 kB / 0.7116 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001573/0.6648, allocations: 0.7433 MB / 0.7123 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.8e-07/0.6649, allocations: 0 / 0.7123 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002337/0.6672, allocations: 0.5692 MB / 0.7129 GB, free: 4.855 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * 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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001181/0.6684, allocations: 414.9 kB / 0.7133 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003297/0.6717, allocations: 1.055 MB / 0.7143 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.6717, allocations: 1.281 kB / 0.7143 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000911/0.6726, allocations: 338.4 kB / 0.7146 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003547/0.6762, allocations: 0.4997 MB / 0.7151 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005334/0.6816, allocations: 2.3 MB / 0.7174 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008664/0.6825, allocations: 1.054 MB / 0.7184 GB, free: 80 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000371/0.6829, allocations: 83.42 kB / 0.7185 GB, free: 0 / 0.5294 GB Notification: Performance of SimCode: time 1.202e-06/0.6829, allocations: 0 / 0.7185 GB, free: 0 / 0.5294 GB Notification: Performance of Templates: time 0.03798/0.7209, allocations: 24.04 MB / 0.7419 GB, free: 8.16 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)