Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.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.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 106.9 kB / 16.42 MB, free: 6.035 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.001166/0.001166, allocations: 189.4 kB / 17.36 MB, free: 5.621 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.181/1.181, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.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.7589/0.7589, allocations: 143 MB / 434.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.627e-05/1.628e-05, allocations: 2.281 kB / 0.5961 GB, free: 12.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.04828/0.0483, allocations: 61.15 MB / 0.6558 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01428/0.06262, allocations: 12.01 MB / 0.6676 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00143/0.06408, allocations: 59.62 kB / 0.6676 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001417/0.06551, allocations: 0.683 MB / 0.6683 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003916/0.06944, allocations: 1.963 MB / 0.6702 GB, free: 336 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002373/0.07182, allocations: 1.203 MB / 0.6714 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003316/0.07515, allocations: 3.554 MB / 0.6749 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001376/0.07653, allocations: 1.216 MB / 0.676 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002512/0.07906, allocations: 1.458 MB / 0.6775 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009991/0.08007, allocations: 0.9101 MB / 0.6784 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.08023, allocations: 116 kB / 0.6785 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002319/0.08256, allocations: 1.454 MB / 0.6799 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of combineBinaries: time 0.001564/0.08413, allocations: 2.326 MB / 0.6822 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of replaceArrayConstructors: time 0.0008849/0.08503, allocations: 1.509 MB / 0.6836 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002982/0.08534, allocations: 271.2 kB / 0.6839 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.0003422/0.08569, allocations: 63.73 kB / 0.6839 GB, free: 2.184 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 (180) * Number of variables: 192 (189) Notification: Performance of Bindings: time 0.005361/0.09105, allocations: 6.422 MB / 0.6902 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of FunctionAlias: time 0.000225/0.09129, allocations: 227.4 kB / 0.6904 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of Early Inline: time 0.002907/0.09421, allocations: 3.244 MB / 0.6936 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of simplify1: time 0.0002243/0.09445, allocations: 211.8 kB / 0.6938 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of Alias: time 0.005827/0.1003, allocations: 5.414 MB / 0.6991 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of simplify2: time 0.0001991/0.1005, allocations: 155.8 kB / 0.6992 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of Events: time 0.000553/0.1011, allocations: 0.5534 MB / 0.6998 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of Detect States: time 0.0004876/0.1016, allocations: 0.5851 MB / 0.7004 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of Partitioning: time 0.0008675/0.1024, allocations: 0.8881 MB / 0.7012 GB, free: 15.67 MB / 0.545 GB Notification: Performance of Causalize: time 0.003364/0.1058, allocations: 3.249 MB / 0.7044 GB, free: 12.27 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 0.001786/0.1076, allocations: 1.922 MB / 0.7063 GB, free: 10.31 MB / 0.545 GB Notification: Performance of Inline: time 0.004344/0.112, allocations: 4.391 MB / 0.7106 GB, free: 5.887 MB / 0.545 GB Notification: Performance of Partitioning: time 0.0002322/0.1122, allocations: 207.6 kB / 0.7108 GB, free: 5.668 MB / 0.545 GB Notification: Performance of Cleanup: time 0.0003839/0.1126, allocations: 419.4 kB / 0.7112 GB, free: 5.254 MB / 0.545 GB Notification: Performance of Causalize: time 0.01243/0.125, allocations: 11.62 MB / 0.7225 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of Tearing: time 0.001769/0.1268, allocations: 1.851 MB / 0.7243 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of Initialization: time 9.81e-07/0.1269, allocations: 0 / 0.7243 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of Tearing: time 0.0008171/0.1277, allocations: 0.9199 MB / 0.7252 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of Categorize: time 3.587e-05/0.1277, allocations: 7.938 kB / 0.7252 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of Solve: time 0.00126/0.129, allocations: 0.6579 MB / 0.7259 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of Jacobian: time 3.596e-06/0.129, allocations: 0 / 0.7259 GB, free: 5.938 MB / 0.5606 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 6 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 13 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 29 (29) {$SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 98 (scalar:94, array:4, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 182 (scalar:177, array:5, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 182 (scalar:177, array:5, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 9.069e-05/0.1291, allocations: 87.34 kB / 0.7259 GB, free: 5.859 MB / 0.5606 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_12)