Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0007624/0.0007624, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008259/0.000826, allocations: 172.7 kB / 15.95 MB, free: 208 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.351/1.351, 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 8.1.4-maint.8.1.x/package.mo): time 1.64/1.64, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.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.0004794/0.0004794, allocations: 17.25 kB / 0.6737 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1955, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.0481/0.2436, allocations: 56.55 MB / 0.8425 GB, free: 3.234 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01399/0.2577, allocations: 11.13 MB / 0.8534 GB, free: 8.078 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001552/0.2593, allocations: 47.69 kB / 0.8534 GB, free: 8.031 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.2606, allocations: 460.8 kB / 0.8539 GB, free: 7.578 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00392/0.2645, allocations: 1.523 MB / 0.8553 GB, free: 6.047 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002406/0.2669, allocations: 0.8676 MB / 0.8562 GB, free: 5.191 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003962/0.2709, allocations: 3.39 MB / 0.8595 GB, free: 1.789 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00154/0.2725, allocations: 0.7974 MB / 0.8603 GB, free: 0.9648 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00259/0.2751, allocations: 1.042 MB / 0.8613 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001285/0.2764, allocations: 0.8127 MB / 0.8621 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.2765, allocations: 40 kB / 0.8621 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002525/0.279, allocations: 1.119 MB / 0.8632 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002255/0.2793, allocations: 203 kB / 0.8634 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003929/0.2797, allocations: 281 kB / 0.8637 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002003/0.2817, allocations: 1.652 MB / 0.8653 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.2817, allocations: 0 / 0.8653 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2817, allocations: 0 / 0.8653 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.782e-05/0.2817, allocations: 0 / 0.8653 GB, free: 11.8 MB / 0.6856 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.002638/0.2844, allocations: 1.516 MB / 0.8668 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.2844, allocations: 8.031 kB / 0.8668 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00149/0.2859, allocations: 382 kB / 0.8672 GB, free: 9.848 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002064/0.288, allocations: 1.093 MB / 0.8682 GB, free: 8.695 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003107/0.2883, allocations: 129.9 kB / 0.8683 GB, free: 8.57 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.2884, allocations: 80 kB / 0.8684 GB, free: 8.492 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/0.2902, allocations: 0.9605 MB / 0.8694 GB, free: 7.492 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.2902, allocations: 7.938 kB / 0.8694 GB, free: 7.484 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-05/0.2903, allocations: 36 kB / 0.8694 GB, free: 7.449 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.2903, allocations: 16 kB / 0.8694 GB, free: 7.434 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/0.2923, allocations: 0.8587 MB / 0.8703 GB, free: 6.578 MB / 0.6856 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.005692/0.298, allocations: 4.528 MB / 0.8747 GB, free: 1.738 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/0.2995, allocations: 0.6377 MB / 0.8753 GB, free: 1.094 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005938/0.3001, allocations: 301.5 kB / 0.8756 GB, free: 0.7969 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001258/0.3014, allocations: 1.393 MB / 0.8769 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.3014, allocations: 39 kB / 0.877 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=47): time 2.104e-06/0.3014, allocations: 0 / 0.877 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of matching and sorting (n=47): time 0.006594/0.308, allocations: 1.904 MB / 0.8788 GB, free: 13.13 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.3081, allocations: 59.83 kB / 0.8789 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/0.3096, allocations: 1.044 MB / 0.8799 GB, free: 12 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.442e-05/0.3097, allocations: 41.7 kB / 0.88 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003946/0.3101, allocations: 0.5196 MB / 0.8805 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.3102, allocations: 169.6 kB / 0.8806 GB, free: 11.26 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.3102, allocations: 8 kB / 0.8806 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.3104, allocations: 333.9 kB / 0.881 GB, free: 10.92 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007116/0.3111, allocations: 296.9 kB / 0.8812 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008621/0.3119, allocations: 0.4923 MB / 0.8817 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007374/0.3127, allocations: 340.6 kB / 0.882 GB, free: 9.727 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3127, allocations: 0 / 0.882 GB, free: 9.727 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003065/0.3158, allocations: 1.163 MB / 0.8832 GB, free: 8.551 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001159/0.3159, allocations: 195.1 kB / 0.8834 GB, free: 8.312 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.3159, allocations: 4 kB / 0.8834 GB, free: 8.309 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/0.317, allocations: 328.5 kB / 0.8837 GB, free: 7.984 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004564/0.3175, allocations: 123.8 kB / 0.8838 GB, free: 7.863 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.3189, allocations: 0.9348 MB / 0.8847 GB, free: 6.902 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.32, allocations: 187.2 kB / 0.8849 GB, free: 6.719 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.678e-05/0.3201, allocations: 31.97 kB / 0.8849 GB, free: 6.688 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.3201, allocations: 4 kB / 0.8849 GB, free: 6.684 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002777/0.3229, allocations: 1.037 MB / 0.8859 GB, free: 5.641 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3229, allocations: 0 / 0.8859 GB, free: 5.641 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009851/0.3239, allocations: 320.9 kB / 0.8862 GB, free: 5.324 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004397/0.3243, allocations: 123.8 kB / 0.8864 GB, free: 5.203 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.3256, allocations: 0.9453 MB / 0.8873 GB, free: 4.234 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.3267, allocations: 154.3 kB / 0.8874 GB, free: 4.086 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.855e-05/0.3267, allocations: 31.98 kB / 0.8875 GB, free: 4.055 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0005053/0.3273, allocations: 349 kB / 0.8878 GB, free: 3.703 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.3274, allocations: 110.6 kB / 0.8879 GB, free: 3.594 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003334/0.3308, allocations: 1.201 MB / 0.8891 GB, free: 2.383 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.3308, allocations: 11.94 kB / 0.8891 GB, free: 2.371 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.3308, allocations: 4 kB / 0.8891 GB, free: 2.367 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.3308, allocations: 3.984 kB / 0.8891 GB, free: 2.363 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004449/0.3353, allocations: 2.212 MB / 0.8913 GB, free: 72 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.3353, allocations: 4 kB / 0.8913 GB, free: 68 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.3355, allocations: 63.91 kB / 0.8913 GB, free: 4 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009617/0.3365, allocations: 328.8 kB / 0.8916 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.628e-05/0.3366, allocations: 12 kB / 0.8916 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001327/0.3379, allocations: 0.9766 MB / 0.8926 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.3379, allocations: 4.031 kB / 0.8926 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0031/0.341, allocations: 1.239 MB / 0.8938 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000525/0.3415, allocations: 283.4 kB / 0.8941 GB, free: 13.08 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.3417, allocations: 8 kB / 0.8941 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007619/0.3424, allocations: 107.8 kB / 0.8942 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.139e-05/0.3425, allocations: 35.95 kB / 0.8942 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.068e-05/0.3426, allocations: 23.98 kB / 0.8942 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001143/0.3437, allocations: 0.7391 MB / 0.895 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.6e-07/0.3438, allocations: 4 kB / 0.895 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001446/0.3452, allocations: 0.5692 MB / 0.8955 GB, free: 11.59 MB / 0.7169 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 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006887/0.3459, allocations: 391.9 kB / 0.8959 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002663/0.3486, allocations: 1.097 MB / 0.897 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.3486, allocations: 0 / 0.897 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000751/0.3494, allocations: 353.9 kB / 0.8973 GB, free: 9.762 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002199/0.3516, allocations: 0.5373 MB / 0.8978 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003415/0.355, allocations: 2.212 MB / 0.9 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006043/0.3556, allocations: 1.066 MB / 0.901 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009574/0.3566, allocations: 230.2 kB / 0.9013 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.3568, allocations: 79.42 kB / 0.9013 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of SimCode: time 1.042e-06/0.3568, allocations: 0 / 0.9013 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of Templates: time 0.3889/0.7457, allocations: 23.8 MB / 0.9246 GB, free: 133.9 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1) Environment - environmentSimulation: