Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001277/0.001277, allocations: 98.92 kB / 15.05 MB, free: 1.105 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.001478/0.001478, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.574/1.574, allocations: 251.9 MB / 0.51 GB, free: 4.871 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006365/0.0006366, allocations: 19.44 kB / 0.6241 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5333/0.5339, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05782/0.5918, allocations: 51.32 MB / 0.7781 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01664/0.6085, allocations: 10.21 MB / 0.7881 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002708/0.6112, allocations: 47.69 kB / 0.7881 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002725/0.614, allocations: 0.6296 MB / 0.7887 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007221/0.6212, allocations: 1.903 MB / 0.7906 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004466/0.6257, allocations: 1.238 MB / 0.7918 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004167/0.6299, allocations: 1.841 MB / 0.7936 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001779/0.6317, allocations: 0.8096 MB / 0.7944 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002665/0.6344, allocations: 0.9809 MB / 0.7953 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/0.6359, allocations: 0.6066 MB / 0.7959 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000327/0.6362, allocations: 44 kB / 0.796 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003473/0.6397, allocations: 0.9712 MB / 0.7969 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006423/0.6404, allocations: 207 kB / 0.7971 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001102/0.6415, allocations: 285 kB / 0.7974 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004147/0.6457, allocations: 1.57 MB / 0.7989 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.6457, allocations: 0 / 0.7989 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.905e-06/0.6457, allocations: 0 / 0.7989 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.536e-05/0.6458, allocations: 4 kB / 0.7989 GB, free: 2.582 MB / 0.6075 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.00408/0.6499, allocations: 1.489 MB / 0.8004 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.65, allocations: 12.03 kB / 0.8004 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002471/0.6524, allocations: 473.9 kB / 0.8008 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002672/0.6551, allocations: 1.055 MB / 0.8019 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003869/0.6555, allocations: 129.9 kB / 0.802 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002201/0.6558, allocations: 80 kB / 0.8021 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002316/0.6581, allocations: 0.9956 MB / 0.803 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.6581, allocations: 3.984 kB / 0.803 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.924e-05/0.6582, allocations: 32 kB / 0.8031 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/0.6583, allocations: 20 kB / 0.8031 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002633/0.6609, allocations: 0.9251 MB / 0.804 GB, free: 13.23 MB / 0.6231 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.008174/0.6691, allocations: 4.669 MB / 0.8086 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003764/0.6729, allocations: 0.946 MB / 0.8095 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008194/0.6737, allocations: 0.899 MB / 0.8104 GB, free: 6.184 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.6738, allocations: 42.98 kB / 0.8104 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=47): time 3.186e-06/0.6738, allocations: 0 / 0.8104 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of matching and sorting (n=47): time 0.008285/0.6821, allocations: 2.006 MB / 0.8124 GB, free: 4.098 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.6822, allocations: 59.8 kB / 0.8124 GB, free: 4.027 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002362/0.6846, allocations: 1.071 MB / 0.8135 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001373/0.6847, allocations: 33.7 kB / 0.8135 GB, free: 2.902 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005882/0.6853, allocations: 0.5158 MB / 0.814 GB, free: 2.383 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002134/0.6856, allocations: 169.6 kB / 0.8142 GB, free: 2.215 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.8e-05/0.6856, allocations: 8 kB / 0.8142 GB, free: 2.207 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.6858, allocations: 326 kB / 0.8145 GB, free: 1.883 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009781/0.6868, allocations: 336.9 kB / 0.8148 GB, free: 1.555 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/0.6879, allocations: 0.5289 MB / 0.8153 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009848/0.6889, allocations: 372.5 kB / 0.8157 GB, free: 0.582 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.6889, allocations: 0 / 0.8157 GB, free: 0.582 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003994/0.6929, allocations: 1.229 MB / 0.8169 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006615/0.6936, allocations: 1.498 MB / 0.8183 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.6937, allocations: 4 kB / 0.8183 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/0.695, allocations: 340.5 kB / 0.8187 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005973/0.6956, allocations: 131.8 kB / 0.8188 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.6972, allocations: 0.9348 MB / 0.8197 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.6987, allocations: 199.2 kB / 0.8199 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.6988, allocations: 31.94 kB / 0.8199 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.6988, allocations: 4 kB / 0.8199 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003446/0.7023, allocations: 1.084 MB / 0.821 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.7023, allocations: 4 kB / 0.821 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001143/0.7034, allocations: 321 kB / 0.8213 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005945/0.7041, allocations: 139.8 kB / 0.8214 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/0.7056, allocations: 0.938 MB / 0.8223 GB, free: 9.566 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/0.707, allocations: 171.3 kB / 0.8225 GB, free: 9.398 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.045e-05/0.7071, allocations: 31.98 kB / 0.8225 GB, free: 9.367 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006563/0.7078, allocations: 349 kB / 0.8229 GB, free: 9.016 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002856/0.7081, allocations: 110.6 kB / 0.823 GB, free: 8.906 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004179/0.7123, allocations: 1.252 MB / 0.8242 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.015e-05/0.7123, allocations: 7.984 kB / 0.8242 GB, free: 7.633 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.7123, allocations: 0 / 0.8242 GB, free: 7.633 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.7124, allocations: 3.938 kB / 0.8242 GB, free: 7.629 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005942/0.7183, allocations: 2.326 MB / 0.8265 GB, free: 5.223 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.7183, allocations: 0 / 0.8265 GB, free: 5.223 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003307/0.7187, allocations: 83.83 kB / 0.8266 GB, free: 5.141 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001106/0.7198, allocations: 332.6 kB / 0.8269 GB, free: 4.812 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.892e-05/0.7199, allocations: 8 kB / 0.8269 GB, free: 4.805 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/0.7214, allocations: 0.972 MB / 0.8278 GB, free: 3.809 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.7214, allocations: 4 kB / 0.8278 GB, free: 3.805 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004856/0.7263, allocations: 1.56 MB / 0.8294 GB, free: 2.148 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007123/0.727, allocations: 295.4 kB / 0.8296 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002804/0.7273, allocations: 19.88 kB / 0.8297 GB, free: 1.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/0.7284, allocations: 119.8 kB / 0.8298 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.826e-05/0.7285, allocations: 43.84 kB / 0.8298 GB, free: 1.66 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-05/0.7286, allocations: 23.98 kB / 0.8298 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001461/0.7301, allocations: 0.7508 MB / 0.8306 GB, free: 0.8789 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7301, allocations: 0 / 0.8306 GB, free: 0.8789 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002073/0.7322, allocations: 0.5536 MB / 0.8311 GB, free: 332 kB / 0.6387 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 (37): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.001145/0.7333, allocations: 372.6 kB / 0.8315 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003491/0.7368, allocations: 1.217 MB / 0.8327 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.7369, allocations: 4 kB / 0.8327 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009664/0.7378, allocations: 387 kB / 0.833 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002696/0.7405, allocations: 0.5088 MB / 0.8335 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006089/0.7467, allocations: 2.5 MB / 0.836 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007184/0.7474, allocations: 1.085 MB / 0.837 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001188/0.7486, allocations: 232.8 kB / 0.8372 GB, free: 9.945 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.7488, allocations: 79.41 kB / 0.8373 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of SimCode: time 7.92e-07/0.7489, allocations: 0 / 0.8373 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of Templates: time 0.03985/0.7887, allocations: 23.83 MB / 0.8606 GB, free: 2.34 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1) Environment - environmentSimulation: