Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000962/0.0009622, allocations: 97.72 kB / 15.36 MB, free: 0.7305 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.001267/0.001267, allocations: 171.8 kB / 16.26 MB, free: 6.664 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.344/1.344, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001613/0.001613, allocations: 271.1 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9634/0.9634, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004113/0.0004114, allocations: 11.97 kB / 0.5986 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1792, allocations: 88.55 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05474/0.234, allocations: 59.76 MB / 0.7435 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01721/0.2512, allocations: 11.93 MB / 0.7551 GB, free: 7.191 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002348/0.2536, allocations: 47.69 kB / 0.7552 GB, free: 7.145 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001847/0.2555, allocations: 0.5477 MB / 0.7557 GB, free: 6.594 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005199/0.2607, allocations: 1.8 MB / 0.7575 GB, free: 4.785 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002753/0.2635, allocations: 1.09 MB / 0.7585 GB, free: 3.707 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.351/0.6145, allocations: 3.91 MB / 0.7624 GB, free: 24 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002619/0.6171, allocations: 0.9121 MB / 0.7633 GB, free: 23.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003927/0.6211, allocations: 1.122 MB / 0.7643 GB, free: 23.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002447/0.6236, allocations: 0.869 MB / 0.7652 GB, free: 23.92 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002813/0.6239, allocations: 42.78 kB / 0.7652 GB, free: 23.92 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004192/0.6281, allocations: 1.328 MB / 0.7665 GB, free: 23.92 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003877/0.6285, allocations: 212 kB / 0.7667 GB, free: 23.92 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001315/0.6298, allocations: 0.6383 MB / 0.7674 GB, free: 23.74 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004295/0.6341, allocations: 2.208 MB / 0.7695 GB, free: 23.53 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.6341, allocations: 0 / 0.7695 GB, free: 23.53 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.924e-06/0.6341, allocations: 1.125 kB / 0.7695 GB, free: 23.53 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.712e-05/0.6342, allocations: 0 / 0.7695 GB, free: 23.53 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003548/0.6377, allocations: 1.514 MB / 0.771 GB, free: 22.64 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.6378, allocations: 14.64 kB / 0.771 GB, free: 22.64 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002364/0.6401, allocations: 467 kB / 0.7715 GB, free: 22.55 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002303/0.6425, allocations: 1.131 MB / 0.7726 GB, free: 22.18 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003548/0.6428, allocations: 135.2 kB / 0.7727 GB, free: 22.16 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.643, allocations: 79.06 kB / 0.7728 GB, free: 22.16 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002239/0.6452, allocations: 1.03 MB / 0.7738 GB, free: 22 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/0.6452, allocations: 4.172 kB / 0.7738 GB, free: 22 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.992e-05/0.6453, allocations: 31.25 kB / 0.7738 GB, free: 22 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.6454, allocations: 19.41 kB / 0.7738 GB, free: 22 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002413/0.6478, allocations: 0.9601 MB / 0.7748 GB, free: 21.97 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.006295/0.6541, allocations: 4.91 MB / 0.7796 GB, free: 19.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00341/0.6575, allocations: 0.9071 MB / 0.7804 GB, free: 19.2 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007836/0.6583, allocations: 354.3 kB / 0.7808 GB, free: 19.18 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004665/0.6588, allocations: 0.909 MB / 0.7817 GB, free: 18.14 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.6588, allocations: 35.38 kB / 0.7817 GB, free: 18.1 MB / 0.545 GB Notification: Performance of pre-optimization done (n=44): time 2.705e-06/0.6588, allocations: 0 / 0.7817 GB, free: 18.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=44): time 0.009024/0.6679, allocations: 2.221 MB / 0.7839 GB, free: 17.8 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.6679, allocations: 56.31 kB / 0.7839 GB, free: 17.73 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001619/0.6695, allocations: 1.063 MB / 0.785 GB, free: 17.58 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.671e-05/0.6697, allocations: 37.3 kB / 0.785 GB, free: 17.55 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003548/0.67, allocations: 0.5313 MB / 0.7855 GB, free: 17.36 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.6702, allocations: 154 kB / 0.7857 GB, free: 17.26 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.187e-05/0.6702, allocations: 46.19 kB / 0.7857 GB, free: 17.24 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.611e-05/0.6703, allocations: 328.8 kB / 0.786 GB, free: 16.94 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009832/0.6713, allocations: 341.8 kB / 0.7863 GB, free: 16.93 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.6724, allocations: 0.5602 MB / 0.7869 GB, free: 16.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001759/0.6741, allocations: 0.7725 MB / 0.7876 GB, free: 16.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.6741, allocations: 1.188 kB / 0.7877 GB, free: 16.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003302/0.6774, allocations: 1.101 MB / 0.7887 GB, free: 16.36 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.419e-05/0.6776, allocations: 209.1 kB / 0.7889 GB, free: 16.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.6776, allocations: 4.312 kB / 0.7889 GB, free: 16.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001305/0.6789, allocations: 335 kB / 0.7892 GB, free: 16.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000597/0.6795, allocations: 139.8 kB / 0.7894 GB, free: 16.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/0.6809, allocations: 0.9494 MB / 0.7903 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.6824, allocations: 196.5 kB / 0.7905 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.541e-05/0.6825, allocations: 29.31 kB / 0.7905 GB, free: 15.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/0.6825, allocations: 3.656 kB / 0.7905 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002624/0.6851, allocations: 0.9561 MB / 0.7915 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.6851, allocations: 5.156 kB / 0.7915 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.6862, allocations: 321.5 kB / 0.7918 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005553/0.6868, allocations: 140.2 kB / 0.7919 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/0.6882, allocations: 0.9393 MB / 0.7928 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.6895, allocations: 179.4 kB / 0.793 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.604e-05/0.6896, allocations: 30.67 kB / 0.793 GB, free: 14.84 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (52): * Single equations (assignments): 51 * 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.0005462/0.6902, allocations: 356.1 kB / 0.7934 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.6903, allocations: 111.9 kB / 0.7935 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004068/0.6944, allocations: 1.245 MB / 0.7947 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.6944, allocations: 7.562 kB / 0.7947 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.6945, allocations: 0 / 0.7947 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.6945, allocations: 4.297 kB / 0.7947 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005652/0.7001, allocations: 2.327 MB / 0.797 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.7002, allocations: 2.25 kB / 0.797 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003307/0.7005, allocations: 87.88 kB / 0.7971 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00108/0.7016, allocations: 322.2 kB / 0.7974 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.217e-05/0.7016, allocations: 17.89 kB / 0.7974 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001428/0.7031, allocations: 0.9707 MB / 0.7983 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.7031, allocations: 4.078 kB / 0.7983 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003945/0.707, allocations: 1.328 MB / 0.7996 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000595/0.7077, allocations: 283.1 kB / 0.7999 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/0.7078, allocations: 12.91 kB / 0.7999 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009209/0.7087, allocations: 118.5 kB / 0.8 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.469e-05/0.7088, allocations: 39.52 kB / 0.8001 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.186e-05/0.7089, allocations: 26.8 kB / 0.8001 GB, free: 12.95 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001101/0.71, allocations: 0.7467 MB / 0.8008 GB, free: 12.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.91e-07/0.71, allocations: 0 / 0.8008 GB, free: 12.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001632/0.7116, allocations: 0.5702 MB / 0.8014 GB, free: 12.76 MB / 0.545 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 (34): * Single equations (assignments): 29 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007166/0.7124, allocations: 377.7 kB / 0.8017 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003179/0.7156, allocations: 1.225 MB / 0.8029 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.7156, allocations: 7.469 kB / 0.8029 GB, free: 12.56 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009217/0.7165, allocations: 402.1 kB / 0.8033 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002761/0.7193, allocations: 0.5109 MB / 0.8038 GB, free: 12.46 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005042/0.7243, allocations: 2.563 MB / 0.8063 GB, free: 10.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/0.7248, allocations: 1.067 MB / 0.8074 GB, free: 10.12 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009412/0.7257, allocations: 210.7 kB / 0.8076 GB, free: 10.03 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.7259, allocations: 84.17 kB / 0.8076 GB, free: 10.02 MB / 0.545 GB Notification: Performance of SimCode: time 7.61e-07/0.7259, allocations: 0 / 0.8076 GB, free: 10.02 MB / 0.545 GB Notification: Performance of Templates: time 0.03613/0.762, allocations: 24.15 MB / 0.8312 GB, free: 9.035 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)