Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0009135/0.0009136, allocations: 99.16 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.000898/0.0008981, allocations: 177.3 kB / 15.95 MB, free: 216 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.259/1.259, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.628/1.628, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0005235/0.0005235, allocations: 17.81 kB / 0.6735 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2419, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.04529/0.2873, allocations: 51.39 MB / 0.8373 GB, free: 8.473 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01384/0.3012, allocations: 10.25 MB / 0.8473 GB, free: 14.21 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00148/0.3027, allocations: 43.69 kB / 0.8473 GB, free: 14.16 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001716/0.3044, allocations: 0.6219 MB / 0.8479 GB, free: 13.54 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005027/0.3095, allocations: 1.908 MB / 0.8498 GB, free: 11.62 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003402/0.3129, allocations: 1.342 MB / 0.8511 GB, free: 10.31 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003061/0.3159, allocations: 1.843 MB / 0.8529 GB, free: 8.461 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/0.317, allocations: 0.8223 MB / 0.8537 GB, free: 7.609 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001709/0.3188, allocations: 0.9964 MB / 0.8547 GB, free: 6.609 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007735/0.3195, allocations: 0.6105 MB / 0.8553 GB, free: 5.996 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.3197, allocations: 51.94 kB / 0.8553 GB, free: 5.945 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002021/0.3217, allocations: 0.9868 MB / 0.8563 GB, free: 4.957 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001896/0.3219, allocations: 203.1 kB / 0.8565 GB, free: 4.758 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002295/0.3221, allocations: 285 kB / 0.8568 GB, free: 4.473 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00158/0.3237, allocations: 1.598 MB / 0.8583 GB, free: 2.871 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.3237, allocations: 0 / 0.8583 GB, free: 2.871 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3237, allocations: 0 / 0.8583 GB, free: 2.871 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.888e-05/0.3238, allocations: 0 / 0.8583 GB, free: 2.871 MB / 0.67 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.002601/0.3264, allocations: 1.512 MB / 0.8598 GB, free: 1.301 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.3264, allocations: 8.031 kB / 0.8598 GB, free: 1.293 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002037/0.3284, allocations: 477.9 kB / 0.8603 GB, free: 0.8242 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/0.3301, allocations: 1.063 MB / 0.8613 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003499/0.3305, allocations: 129.9 kB / 0.8614 GB, free: 15.58 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.3306, allocations: 84 kB / 0.8615 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/0.3325, allocations: 1.019 MB / 0.8625 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.3325, allocations: 0 / 0.8625 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-05/0.3326, allocations: 32 kB / 0.8625 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.3326, allocations: 16 kB / 0.8626 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00233/0.335, allocations: 0.9719 MB / 0.8635 GB, free: 13.42 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.005795/0.3408, allocations: 4.674 MB / 0.8681 GB, free: 8.434 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003459/0.3443, allocations: 0.9578 MB / 0.869 GB, free: 7.469 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005573/0.3448, allocations: 0.9107 MB / 0.8699 GB, free: 6.355 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.3449, allocations: 39 kB / 0.8699 GB, free: 6.309 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=48): time 1.783e-06/0.3449, allocations: 0 / 0.8699 GB, free: 6.309 MB / 0.6856 GB Notification: Performance of matching and sorting (n=48): time 0.008458/0.3533, allocations: 2.248 MB / 0.8721 GB, free: 4.031 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.3534, allocations: 59.84 kB / 0.8722 GB, free: 3.961 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/0.3549, allocations: 1.068 MB / 0.8732 GB, free: 2.879 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.565e-05/0.355, allocations: 37.7 kB / 0.8733 GB, free: 2.836 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004235/0.3554, allocations: 0.5391 MB / 0.8738 GB, free: 2.293 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.3555, allocations: 161.6 kB / 0.8739 GB, free: 2.133 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.3556, allocations: 16 kB / 0.874 GB, free: 2.117 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.3557, allocations: 329.9 kB / 0.8743 GB, free: 1.789 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009307/0.3566, allocations: 356.9 kB / 0.8746 GB, free: 1.441 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.3577, allocations: 0.5484 MB / 0.8752 GB, free: 0.8086 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009548/0.3587, allocations: 392.5 kB / 0.8755 GB, free: 440 kB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.3587, allocations: 0 / 0.8755 GB, free: 440 kB / 0.6856 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002682/0.3614, allocations: 1.1 MB / 0.8766 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.000573/0.362, allocations: 1.498 MB / 0.8781 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.362, allocations: 4 kB / 0.8781 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/0.3632, allocations: 340.4 kB / 0.8784 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005782/0.3638, allocations: 139.8 kB / 0.8785 GB, free: 13.24 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/0.3652, allocations: 0.9347 MB / 0.8794 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.3665, allocations: 211.1 kB / 0.8796 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.736e-05/0.3665, allocations: 31.97 kB / 0.8797 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 7.595e-06/0.3666, allocations: 4 kB / 0.8797 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002489/0.3691, allocations: 0.9793 MB / 0.8806 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3691, allocations: 4 kB / 0.8806 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.3701, allocations: 319.2 kB / 0.8809 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005674/0.3707, allocations: 147.8 kB / 0.8811 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/0.372, allocations: 0.9348 MB / 0.882 GB, free: 9.629 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.373, allocations: 183.9 kB / 0.8822 GB, free: 9.449 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.184e-05/0.3731, allocations: 27.98 kB / 0.8822 GB, free: 9.422 MB / 0.7012 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 (56): * Single equations (assignments): 55 * 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.0004533/0.3736, allocations: 352.9 kB / 0.8825 GB, free: 9.066 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.3737, allocations: 118.6 kB / 0.8826 GB, free: 8.949 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003854/0.3776, allocations: 1.314 MB / 0.8839 GB, free: 7.625 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.3776, allocations: 11.98 kB / 0.8839 GB, free: 7.613 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.3776, allocations: 3.938 kB / 0.8839 GB, free: 7.609 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.3776, allocations: 0 / 0.8839 GB, free: 7.609 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005128/0.3828, allocations: 2.398 MB / 0.8863 GB, free: 5.129 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/0.3828, allocations: 8 kB / 0.8863 GB, free: 5.121 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003665/0.3832, allocations: 83.88 kB / 0.8864 GB, free: 5.039 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001097/0.3843, allocations: 328.4 kB / 0.8867 GB, free: 4.715 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.494e-05/0.3843, allocations: 19.98 kB / 0.8867 GB, free: 4.695 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001542/0.3859, allocations: 0.9582 MB / 0.8876 GB, free: 3.711 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3859, allocations: 4.031 kB / 0.8876 GB, free: 3.707 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003727/0.3896, allocations: 1.472 MB / 0.8891 GB, free: 2.141 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004969/0.3901, allocations: 295.4 kB / 0.8894 GB, free: 1.832 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.3903, allocations: 15.98 kB / 0.8894 GB, free: 1.816 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008745/0.3912, allocations: 115.8 kB / 0.8895 GB, free: 1.703 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.49e-05/0.3913, allocations: 51.2 kB / 0.8895 GB, free: 1.656 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.515e-05/0.3913, allocations: 23.98 kB / 0.8896 GB, free: 1.633 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001043/0.3924, allocations: 0.7549 MB / 0.8903 GB, free: 0.8711 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3924, allocations: 0 / 0.8903 GB, free: 0.8711 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001413/0.3938, allocations: 0.5692 MB / 0.8909 GB, free: 308 kB / 0.7012 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 (38): * Single equations (assignments): 33 * 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.0007528/0.3946, allocations: 386.5 kB / 0.8912 GB, free: 15.92 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003235/0.3978, allocations: 1.268 MB / 0.8925 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.3978, allocations: 4 kB / 0.8925 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009667/0.3988, allocations: 411 kB / 0.8929 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/0.401, allocations: 0.523 MB / 0.8934 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004931/0.4059, allocations: 2.524 MB / 0.8958 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005661/0.4065, allocations: 1.094 MB / 0.8969 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008272/0.4073, allocations: 241 kB / 0.8971 GB, free: 9.805 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.4075, allocations: 79.36 kB / 0.8972 GB, free: 9.727 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.4075, allocations: 0 / 0.8972 GB, free: 9.727 MB / 0.7169 GB Notification: Performance of Templates: time 0.03521/0.4427, allocations: 24.12 MB / 0.9208 GB, free: 1.91 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1) Environment - environmentSimulation: