Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008763/0.0008762, allocations: 91.22 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.0009447/0.0009448, 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.332/1.332, 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.611/1.611, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.000508/0.0005081, allocations: 20.98 kB / 0.6737 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2234, 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_reverseFlow): time 0.06765/0.2911, allocations: 56.54 MB / 0.8425 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01609/0.3073, allocations: 11.15 MB / 0.8534 GB, free: 8.074 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002419/0.3098, allocations: 51.62 kB / 0.8534 GB, free: 8.023 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001711/0.3115, allocations: 456.9 kB / 0.8539 GB, free: 7.574 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004867/0.3164, allocations: 1.523 MB / 0.8553 GB, free: 6.047 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002731/0.3191, allocations: 0.8708 MB / 0.8562 GB, free: 5.188 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004458/0.3236, allocations: 3.386 MB / 0.8595 GB, free: 1.789 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001509/0.3251, allocations: 0.8103 MB / 0.8603 GB, free: 0.9492 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002257/0.3274, allocations: 1.046 MB / 0.8613 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001222/0.3286, allocations: 0.8205 MB / 0.8621 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.3288, allocations: 44 kB / 0.8622 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002595/0.3314, allocations: 1.099 MB / 0.8632 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002537/0.3316, allocations: 199 kB / 0.8634 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004626/0.3321, allocations: 281 kB / 0.8637 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002164/0.3343, allocations: 1.656 MB / 0.8653 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3343, allocations: 0 / 0.8653 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3343, allocations: 0 / 0.8653 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.719e-05/0.3343, allocations: 0 / 0.8653 GB, free: 11.79 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002771/0.3371, allocations: 1.501 MB / 0.8668 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.3371, allocations: 11.97 kB / 0.8668 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002147/0.3393, allocations: 0.5251 MB / 0.8673 GB, free: 9.695 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002094/0.3414, allocations: 1.101 MB / 0.8684 GB, free: 8.535 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003015/0.3417, allocations: 125.9 kB / 0.8685 GB, free: 8.414 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.3419, allocations: 84 kB / 0.8686 GB, free: 8.332 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00203/0.3439, allocations: 1.033 MB / 0.8696 GB, free: 7.266 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.3439, allocations: 0 / 0.8696 GB, free: 7.266 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.382e-05/0.344, allocations: 32 kB / 0.8696 GB, free: 7.234 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-05/0.344, allocations: 20 kB / 0.8696 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002362/0.3464, allocations: 1.003 MB / 0.8706 GB, free: 6.215 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.006255/0.3527, allocations: 4.712 MB / 0.8752 GB, free: 1.152 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00358/0.3563, allocations: 1.121 MB / 0.8763 GB, free: 24 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/0.3573, allocations: 442 kB / 0.8767 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009114/0.3582, allocations: 1.029 MB / 0.8777 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.3583, allocations: 39 kB / 0.8778 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=53): time 2.525e-06/0.3583, allocations: 7.938 kB / 0.8778 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of matching and sorting (n=53): time 0.008561/0.3669, allocations: 2.49 MB / 0.8802 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.3669, allocations: 55.84 kB / 0.8803 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/0.3683, allocations: 0.9314 MB / 0.8812 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.985e-05/0.3684, allocations: 41.7 kB / 0.8812 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004098/0.3688, allocations: 0.5002 MB / 0.8817 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/0.369, allocations: 177.3 kB / 0.8819 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.369, allocations: 20 kB / 0.8819 GB, free: 10 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.3691, allocations: 326 kB / 0.8822 GB, free: 9.676 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009425/0.3701, allocations: 372.9 kB / 0.8826 GB, free: 9.312 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.3712, allocations: 0.5473 MB / 0.8831 GB, free: 8.703 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009693/0.3721, allocations: 405.9 kB / 0.8835 GB, free: 8.309 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.3722, allocations: 0 / 0.8835 GB, free: 8.309 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002678/0.3748, allocations: 1.127 MB / 0.8846 GB, free: 7.168 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.375, allocations: 167.1 kB / 0.8847 GB, free: 6.973 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.375, allocations: 0 / 0.8847 GB, free: 6.973 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/0.3761, allocations: 332.5 kB / 0.8851 GB, free: 6.645 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005921/0.3767, allocations: 147.8 kB / 0.8852 GB, free: 6.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/0.3782, allocations: 0.9347 MB / 0.8861 GB, free: 5.539 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.3793, allocations: 183.9 kB / 0.8863 GB, free: 5.359 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-05/0.3794, allocations: 31.97 kB / 0.8863 GB, free: 5.328 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.3795, allocations: 4 kB / 0.8863 GB, free: 5.324 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002537/0.382, allocations: 0.9976 MB / 0.8873 GB, free: 4.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.382, allocations: 4 kB / 0.8873 GB, free: 4.316 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.3831, allocations: 319.6 kB / 0.8876 GB, free: 4.004 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006308/0.3838, allocations: 143.8 kB / 0.8877 GB, free: 3.863 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.3851, allocations: 0.9309 MB / 0.8886 GB, free: 2.906 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.3863, allocations: 175.4 kB / 0.8888 GB, free: 2.734 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.188e-05/0.3864, allocations: 27.98 kB / 0.8888 GB, free: 2.707 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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.0006194/0.387, allocations: 349 kB / 0.8892 GB, free: 2.355 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002086/0.3872, allocations: 106.7 kB / 0.8893 GB, free: 2.25 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00416/0.3914, allocations: 1.443 MB / 0.8907 GB, free: 0.7969 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.535e-05/0.3914, allocations: 8 kB / 0.8907 GB, free: 0.7891 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.3914, allocations: 0 / 0.8907 GB, free: 0.7891 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.3914, allocations: 7.922 kB / 0.8907 GB, free: 0.7812 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005546/0.397, allocations: 2.53 MB / 0.8932 GB, free: 14.17 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.397, allocations: 4.031 kB / 0.8932 GB, free: 14.17 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005434/0.3976, allocations: 115.8 kB / 0.8933 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009669/0.3986, allocations: 316.6 kB / 0.8936 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.823e-05/0.3986, allocations: 15.98 kB / 0.8936 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/0.4001, allocations: 0.9776 MB / 0.8946 GB, free: 12.72 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4001, allocations: 0 / 0.8946 GB, free: 12.72 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003872/0.4039, allocations: 1.448 MB / 0.896 GB, free: 11.24 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005467/0.4045, allocations: 291.4 kB / 0.8963 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.4047, allocations: 12 kB / 0.8963 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008398/0.4055, allocations: 131.7 kB / 0.8964 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.174e-05/0.4056, allocations: 32.39 kB / 0.8964 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.866e-05/0.4057, allocations: 27.94 kB / 0.8964 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008613/0.4065, allocations: 0.6559 MB / 0.8971 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4065, allocations: 0 / 0.8971 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001394/0.4079, allocations: 0.5652 MB / 0.8976 GB, free: 9.504 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0006884/0.4086, allocations: 387.5 kB / 0.898 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003627/0.4123, allocations: 1.381 MB / 0.8994 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4123, allocations: 0 / 0.8994 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.4135, allocations: 488.8 kB / 0.8998 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002471/0.416, allocations: 0.5149 MB / 0.9003 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004043/0.42, allocations: 2.332 MB / 0.9026 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006121/0.4207, allocations: 1.074 MB / 0.9037 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001057/0.4217, allocations: 228.2 kB / 0.9039 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002034/0.422, allocations: 79.41 kB / 0.9039 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of SimCode: time 9.62e-07/0.422, allocations: 0 / 0.9039 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of Templates: time 0.4154/0.8374, allocations: 23.19 MB / 0.9266 GB, free: 133.7 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1) Environment - environmentSimulation: