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.0014/0.0014, allocations: 185.8 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7547/0.7547, allocations: 82.93 MB / 99.42 MB, free: 3.312 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.105/2.105, allocations: 205.4 MB / 325.4 MB, free: 3.301 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 97.08 kB / 393.6 MB, free: 15.06 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004861/0.0004863, allocations: 12 kB / 471.5 MB, free: 66.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1068, allocations: 67.45 MB / 0.5263 GB, free: 15.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.07331/0.1801, allocations: 51.26 MB / 0.5764 GB, free: 11.64 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01916/0.1993, allocations: 10.25 MB / 0.5864 GB, free: 1.391 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002038/0.2014, allocations: 43.69 kB / 0.5865 GB, free: 1.348 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002464/0.2039, allocations: 0.6257 MB / 0.5871 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3757/0.5797, allocations: 1.895 MB / 0.5889 GB, free: 22.7 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005237/0.5849, allocations: 1.329 MB / 0.5902 GB, free: 22.69 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.004473/0.5894, allocations: 1.841 MB / 0.592 GB, free: 22.69 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002003/0.5915, allocations: 0.8285 MB / 0.5928 GB, free: 22.58 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002874/0.5944, allocations: 0.9866 MB / 0.5938 GB, free: 22.58 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001566/0.596, allocations: 0.6124 MB / 0.5944 GB, free: 22.58 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002472/0.5963, allocations: 44.19 kB / 0.5944 GB, free: 22.58 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003302/0.5996, allocations: 0.9934 MB / 0.5954 GB, free: 22.57 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004967/0.6002, allocations: 197.9 kB / 0.5956 GB, free: 22.57 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006639/0.6009, allocations: 282.5 kB / 0.5959 GB, free: 22.54 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003558/0.6044, allocations: 1.594 MB / 0.5974 GB, free: 22.43 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.925e-06/0.6045, allocations: 1.219 kB / 0.5974 GB, free: 22.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.188e-06/0.6045, allocations: 0 / 0.5974 GB, free: 22.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.167e-05/0.6045, allocations: 0 / 0.5974 GB, free: 22.43 MB / 426.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.003851/0.6084, allocations: 1.5 MB / 0.5989 GB, free: 21.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.6085, allocations: 8.656 kB / 0.5989 GB, free: 21.54 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003269/0.6117, allocations: 0.5104 MB / 0.5994 GB, free: 21.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002753/0.6145, allocations: 1.064 MB / 0.6004 GB, free: 21.11 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004162/0.615, allocations: 127.4 kB / 0.6005 GB, free: 21.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001947/0.6152, allocations: 85.84 kB / 0.6006 GB, free: 21.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0033/0.6185, allocations: 1.028 MB / 0.6016 GB, free: 20.96 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/0.6186, allocations: 1.531 kB / 0.6016 GB, free: 20.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.6187, allocations: 31.69 kB / 0.6017 GB, free: 20.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.6188, allocations: 19.06 kB / 0.6017 GB, free: 20.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003573/0.6223, allocations: 0.9996 MB / 0.6027 GB, free: 20.94 MB / 426.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.008104/0.6305, allocations: 4.751 MB / 0.6073 GB, free: 18.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005649/0.6362, allocations: 1.148 MB / 0.6084 GB, free: 18.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009754/0.6372, allocations: 1.025 MB / 0.6094 GB, free: 17.33 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.6372, allocations: 36.44 kB / 0.6095 GB, free: 17.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=53): time 4.281e-06/0.6373, allocations: 0 / 0.6095 GB, free: 17.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=53): time 0.01218/0.6495, allocations: 2.485 MB / 0.6119 GB, free: 16.99 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.6495, allocations: 57.22 kB / 0.6119 GB, free: 16.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001832/0.6514, allocations: 0.9493 MB / 0.6129 GB, free: 16.78 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001669/0.6516, allocations: 39.89 kB / 0.6129 GB, free: 16.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004252/0.652, allocations: 0.5102 MB / 0.6134 GB, free: 16.56 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002371/0.6523, allocations: 181.5 kB / 0.6136 GB, free: 16.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.616e-05/0.6523, allocations: 12.25 kB / 0.6136 GB, free: 16.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.369e-05/0.6524, allocations: 326.9 kB / 0.6139 GB, free: 16.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/0.6538, allocations: 377 kB / 0.6143 GB, free: 16.13 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/0.6553, allocations: 0.5426 MB / 0.6148 GB, free: 15.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.6567, allocations: 402.1 kB / 0.6152 GB, free: 15.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.6568, allocations: 0 / 0.6152 GB, free: 15.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003905/0.6607, allocations: 1.125 MB / 0.6163 GB, free: 15.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002139/0.6609, allocations: 0.9671 MB / 0.6172 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.661, allocations: 6.656 kB / 0.6172 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001579/0.6626, allocations: 331 kB / 0.6175 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008604/0.6634, allocations: 144.2 kB / 0.6177 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.6652, allocations: 0.9301 MB / 0.6186 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/0.6669, allocations: 171.3 kB / 0.6187 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/0.6671, allocations: 31.69 kB / 0.6188 GB, free: 14.17 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.6671, allocations: 3.219 kB / 0.6188 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003636/0.6708, allocations: 1.008 MB / 0.6198 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.6708, allocations: 2.438 kB / 0.6198 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001546/0.6724, allocations: 324 kB / 0.6201 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007966/0.6732, allocations: 141 kB / 0.6202 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/0.675, allocations: 0.9276 MB / 0.6211 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/0.6766, allocations: 172.5 kB / 0.6213 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.924e-05/0.6767, allocations: 34.58 kB / 0.6213 GB, free: 13.51 MB / 426.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.0006946/0.6774, allocations: 352.9 kB / 0.6216 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/0.6776, allocations: 104.4 kB / 0.6217 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005851/0.6835, allocations: 1.442 MB / 0.6232 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.952e-05/0.6835, allocations: 11.12 kB / 0.6232 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.549e-06/0.6836, allocations: 0 / 0.6232 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.6836, allocations: 5.641 kB / 0.6232 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007375/0.691, allocations: 2.538 MB / 0.6256 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/0.691, allocations: 3.312 kB / 0.6257 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007028/0.6917, allocations: 114 kB / 0.6258 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001406/0.6932, allocations: 331.8 kB / 0.6261 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.91e-05/0.6933, allocations: 19.36 kB / 0.6261 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001714/0.695, allocations: 0.9706 MB / 0.627 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.572e-06/0.695, allocations: 0 / 0.627 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005141/0.7002, allocations: 1.527 MB / 0.6285 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007771/0.701, allocations: 304 kB / 0.6288 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/0.7012, allocations: 10.16 kB / 0.6288 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/0.7024, allocations: 127.2 kB / 0.629 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.872e-05/0.7025, allocations: 36.98 kB / 0.629 GB, free: 10.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.379e-05/0.7026, allocations: 27.69 kB / 0.629 GB, free: 10.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001128/0.7038, allocations: 0.6653 MB / 0.6297 GB, free: 10.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.29e-07/0.7038, allocations: 0 / 0.6297 GB, free: 10.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001911/0.7057, allocations: 0.5827 MB / 0.6302 GB, free: 10.11 MB / 426.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.000857/0.7066, allocations: 389.2 kB / 0.6306 GB, free: 9.922 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004592/0.7112, allocations: 1.389 MB / 0.632 GB, free: 9.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.354e-06/0.7113, allocations: 0 / 0.632 GB, free: 9.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001582/0.7129, allocations: 483.6 kB / 0.6324 GB, free: 9.566 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0029/0.7158, allocations: 0.4971 MB / 0.6329 GB, free: 9.391 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00492/0.7207, allocations: 2.328 MB / 0.6352 GB, free: 8.082 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000593/0.7214, allocations: 1.09 MB / 0.6362 GB, free: 7.207 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001512/0.7229, allocations: 239.4 kB / 0.6365 GB, free: 7.082 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002989/0.7232, allocations: 82.38 kB / 0.6366 GB, free: 7.051 MB / 426.7 MB Notification: Performance of SimCode: time 1.588e-06/0.7232, allocations: 0 / 0.6366 GB, free: 7.051 MB / 426.7 MB Notification: Performance of Templates: time 0.05624/0.7795, allocations: 23.52 MB / 0.6595 GB, free: 15.91 MB / 458.7 MB