Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002424/0.002424, allocations: 356.4 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.315/1.315, allocations: 165.8 MB / 182.5 MB, free: 5.926 MB / 90.73 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.991/3.991, allocations: 410.7 MB / 0.5995 GB, free: 37.1 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001898/0.001898, allocations: 187.2 kB / 0.6662 GB, free: 1.82 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000455/0.0004553, allocations: 12.22 kB / 0.7423 GB, free: 73.8 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09315/0.09363, allocations: 67.46 MB / 0.8081 GB, free: 17.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.07529/0.169, allocations: 56.46 MB / 0.8633 GB, free: 8.559 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.02051/0.1895, allocations: 10.97 MB / 0.874 GB, free: 13.58 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002333/0.1919, allocations: 51.69 kB / 0.874 GB, free: 13.53 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002426/0.1944, allocations: 0.5822 MB / 0.8746 GB, free: 12.94 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007716/0.2021, allocations: 1.969 MB / 0.8765 GB, free: 10.96 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005309/0.2075, allocations: 1.323 MB / 0.8778 GB, free: 9.664 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.005767/0.2132, allocations: 3.406 MB / 0.8811 GB, free: 6.246 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001824/0.2151, allocations: 0.8027 MB / 0.8819 GB, free: 5.422 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002551/0.2177, allocations: 1.003 MB / 0.8829 GB, free: 4.41 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001724/0.2194, allocations: 0.8244 MB / 0.8837 GB, free: 3.582 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002246/0.2197, allocations: 40 kB / 0.8838 GB, free: 3.543 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002795/0.2225, allocations: 0.9275 MB / 0.8847 GB, free: 2.613 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004042/0.2229, allocations: 199 kB / 0.8848 GB, free: 2.418 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005855/0.2235, allocations: 281 kB / 0.8851 GB, free: 2.137 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002921/0.2265, allocations: 1.613 MB / 0.8867 GB, free: 0.5195 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.499e-06/0.2265, allocations: 4 kB / 0.8867 GB, free: 0.5156 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.1e-06/0.2265, allocations: 0 / 0.8867 GB, free: 0.5156 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.116e-05/0.2266, allocations: 0 / 0.8867 GB, free: 0.5156 MB / 442.7 MB 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.003629/0.2302, allocations: 1.489 MB / 0.8881 GB, free: 14.97 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.2303, allocations: 8.031 kB / 0.8882 GB, free: 14.96 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003118/0.2334, allocations: 0.5173 MB / 0.8887 GB, free: 14.44 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00308/0.2365, allocations: 1.102 MB / 0.8897 GB, free: 13.28 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004459/0.237, allocations: 129.8 kB / 0.8899 GB, free: 13.16 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001948/0.2372, allocations: 84 kB / 0.8899 GB, free: 13.07 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002989/0.2402, allocations: 1.029 MB / 0.8909 GB, free: 12.01 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.2402, allocations: 3.938 kB / 0.891 GB, free: 12.01 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.2404, allocations: 35.94 kB / 0.891 GB, free: 11.97 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/0.2404, allocations: 20 kB / 0.891 GB, free: 11.95 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003616/0.244, allocations: 0.9993 MB / 0.892 GB, free: 10.96 MB / 458.7 MB 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.009225/0.2533, allocations: 4.723 MB / 0.8966 GB, free: 5.883 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005216/0.2585, allocations: 1.121 MB / 0.8977 GB, free: 4.75 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001607/0.2602, allocations: 448.7 kB / 0.8981 GB, free: 4.312 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001306/0.2615, allocations: 1.041 MB / 0.8991 GB, free: 3.051 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/0.2616, allocations: 39 kB / 0.8992 GB, free: 3.004 MB / 458.7 MB Notification: Performance of pre-optimization done (n=53): time 3.852e-06/0.2616, allocations: 0 / 0.8992 GB, free: 3.004 MB / 458.7 MB Notification: Performance of matching and sorting (n=53): time 0.01231/0.2739, allocations: 2.49 MB / 0.9016 GB, free: 492 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.274, allocations: 59.84 kB / 0.9017 GB, free: 420 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3041/0.5781, allocations: 0.9234 MB / 0.9026 GB, free: 92.82 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001428/0.5783, allocations: 37.42 kB / 0.9026 GB, free: 92.79 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004462/0.5788, allocations: 0.5059 MB / 0.9031 GB, free: 92.71 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/0.579, allocations: 179.7 kB / 0.9033 GB, free: 92.64 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.462e-05/0.5791, allocations: 12.09 kB / 0.9033 GB, free: 92.64 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.362e-05/0.5792, allocations: 331.4 kB / 0.9036 GB, free: 92.34 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/0.5805, allocations: 378.7 kB / 0.9039 GB, free: 92.34 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/0.5821, allocations: 0.5442 MB / 0.9045 GB, free: 92.17 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.5835, allocations: 395.4 kB / 0.9049 GB, free: 92.16 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.984e-06/0.5835, allocations: 0 / 0.9049 GB, free: 92.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003915/0.5875, allocations: 1.126 MB / 0.906 GB, free: 92.04 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.762e-05/0.5876, allocations: 164.3 kB / 0.9061 GB, free: 91.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.5876, allocations: 4.094 kB / 0.9061 GB, free: 91.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001721/0.5893, allocations: 334.2 kB / 0.9064 GB, free: 91.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008933/0.5903, allocations: 144.7 kB / 0.9066 GB, free: 91.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/0.5922, allocations: 0.9346 MB / 0.9075 GB, free: 91.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/0.5939, allocations: 170.4 kB / 0.9076 GB, free: 91.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/0.5941, allocations: 30.27 kB / 0.9077 GB, free: 91.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.5941, allocations: 7.641 kB / 0.9077 GB, free: 91.3 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003758/0.5979, allocations: 1.001 MB / 0.9087 GB, free: 91.26 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.5979, allocations: 4.938 kB / 0.9087 GB, free: 91.26 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001584/0.5995, allocations: 323.2 kB / 0.909 GB, free: 91.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009848/0.6005, allocations: 143.3 kB / 0.9091 GB, free: 91.24 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00195/0.6025, allocations: 0.9377 MB / 0.91 GB, free: 90.71 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/0.6042, allocations: 173.6 kB / 0.9102 GB, free: 90.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/0.6043, allocations: 32.27 kB / 0.9102 GB, free: 90.68 MB / 458.7 MB 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.0006622/0.605, allocations: 346.7 kB / 0.9106 GB, free: 90.48 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000279/0.6053, allocations: 107.8 kB / 0.9107 GB, free: 90.43 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005812/0.6111, allocations: 1.446 MB / 0.9121 GB, free: 90.28 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.518e-05/0.6112, allocations: 7.172 kB / 0.9121 GB, free: 90.28 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.349e-06/0.6112, allocations: 0.75 kB / 0.9121 GB, free: 90.28 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.656e-05/0.6112, allocations: 6.312 kB / 0.9121 GB, free: 90.28 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008067/0.6193, allocations: 2.528 MB / 0.9146 GB, free: 89.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.725e-05/0.6194, allocations: 2.562 kB / 0.9146 GB, free: 89.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009077/0.6203, allocations: 116.9 kB / 0.9147 GB, free: 89.83 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001436/0.6218, allocations: 316.2 kB / 0.915 GB, free: 89.81 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-05/0.6219, allocations: 21.8 kB / 0.915 GB, free: 89.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001873/0.6238, allocations: 0.967 MB / 0.9159 GB, free: 89.26 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.266e-06/0.6238, allocations: 2.844 kB / 0.9159 GB, free: 89.26 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005619/0.6294, allocations: 1.452 MB / 0.9174 GB, free: 88.95 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007388/0.6302, allocations: 294.6 kB / 0.9176 GB, free: 88.79 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002016/0.6304, allocations: 10.88 kB / 0.9176 GB, free: 88.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/0.6318, allocations: 126.6 kB / 0.9178 GB, free: 88.78 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.6319, allocations: 37.88 kB / 0.9178 GB, free: 88.78 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.559e-05/0.632, allocations: 36.17 kB / 0.9178 GB, free: 88.77 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001203/0.6333, allocations: 0.6487 MB / 0.9185 GB, free: 88.66 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.78e-07/0.6333, allocations: 0 / 0.9185 GB, free: 88.66 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002163/0.6354, allocations: 0.5637 MB / 0.919 GB, free: 88.58 MB / 458.7 MB 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.0008787/0.6364, allocations: 363.3 kB / 0.9194 GB, free: 88.44 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004911/0.6413, allocations: 1.388 MB / 0.9207 GB, free: 88.05 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.443e-06/0.6413, allocations: 0 / 0.9207 GB, free: 88.05 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001688/0.643, allocations: 492.2 kB / 0.9212 GB, free: 87.91 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003228/0.6463, allocations: 0.522 MB / 0.9217 GB, free: 87.77 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004981/0.6513, allocations: 2.327 MB / 0.924 GB, free: 86.29 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008174/0.6522, allocations: 1.093 MB / 0.925 GB, free: 85.39 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00165/0.6538, allocations: 226.9 kB / 0.9253 GB, free: 85.29 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002939/0.6542, allocations: 84.78 kB / 0.9253 GB, free: 85.28 MB / 458.7 MB Notification: Performance of SimCode: time 1.829e-06/0.6542, allocations: 0 / 0.9253 GB, free: 85.28 MB / 458.7 MB Notification: Performance of Templates: time 0.04743/0.7016, allocations: 23.22 MB / 0.948 GB, free: 64.68 MB / 458.7 MB