Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 183.4 kB / 16.08 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4632/0.4632, allocations: 89.07 MB / 105.9 MB, free: 12.45 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 225.7 MB / 353.2 MB, free: 1.102 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007894/0.0007895, allocations: 89.19 kB / 425.4 MB, free: 6.656 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002829/0.0002829, allocations: 12 kB / 0.4955 GB, free: 4.543 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2737, allocations: 71.33 MB / 0.5652 GB, free: 42.36 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.04169/0.3155, allocations: 60.87 MB / 0.6246 GB, free: 12.43 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0175/0.333, allocations: 16.64 MB / 0.6409 GB, free: 10.53 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001869/0.3349, allocations: 47.69 kB / 0.6409 GB, free: 10.48 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001724/0.3366, allocations: 0.5399 MB / 0.6415 GB, free: 9.938 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004718/0.3414, allocations: 1.804 MB / 0.6432 GB, free: 8.125 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002832/0.3442, allocations: 1.109 MB / 0.6443 GB, free: 7.016 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.004442/0.3487, allocations: 3.906 MB / 0.6481 GB, free: 3.098 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001515/0.3502, allocations: 0.9285 MB / 0.649 GB, free: 2.137 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0023/0.3525, allocations: 1.143 MB / 0.6501 GB, free: 0.9883 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00151/0.3541, allocations: 0.8709 MB / 0.651 GB, free: 116 kB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002416/0.3543, allocations: 44 kB / 0.651 GB, free: 72 kB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003105/0.3574, allocations: 1.275 MB / 0.6523 GB, free: 14.79 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003234/0.3578, allocations: 214.8 kB / 0.6525 GB, free: 14.58 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008911/0.3587, allocations: 0.6273 MB / 0.6531 GB, free: 13.95 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003088/0.3618, allocations: 2.22 MB / 0.6553 GB, free: 11.72 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3618, allocations: 3.938 kB / 0.6553 GB, free: 11.71 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3618, allocations: 4 kB / 0.6553 GB, free: 11.71 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.454e-05/0.3618, allocations: 0 / 0.6553 GB, free: 11.71 MB / 474.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.00265/0.3645, allocations: 1.501 MB / 0.6567 GB, free: 10.15 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.3645, allocations: 8.031 kB / 0.6567 GB, free: 10.14 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002306/0.3669, allocations: 0.5144 MB / 0.6572 GB, free: 9.629 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00205/0.3689, allocations: 1.14 MB / 0.6584 GB, free: 8.43 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003381/0.3693, allocations: 125.9 kB / 0.6585 GB, free: 8.309 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.3694, allocations: 80 kB / 0.6585 GB, free: 8.23 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002053/0.3715, allocations: 1.033 MB / 0.6596 GB, free: 7.164 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.3715, allocations: 3.938 kB / 0.6596 GB, free: 7.16 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.181e-05/0.3716, allocations: 32 kB / 0.6596 GB, free: 7.129 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.3716, allocations: 19.98 kB / 0.6596 GB, free: 7.109 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00247/0.3741, allocations: 1.003 MB / 0.6606 GB, free: 6.109 MB / 474.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.006016/0.3801, allocations: 4.716 MB / 0.6652 GB, free: 1.043 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003834/0.384, allocations: 1.131 MB / 0.6663 GB, free: 15.91 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/0.3851, allocations: 433.9 kB / 0.6667 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/0.3862, allocations: 1.033 MB / 0.6677 GB, free: 14.22 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.3862, allocations: 42.94 kB / 0.6678 GB, free: 14.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=53): time 2.524e-06/0.3862, allocations: 0 / 0.6678 GB, free: 14.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=53): time 0.009021/0.3953, allocations: 2.502 MB / 0.6702 GB, free: 11.64 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.3953, allocations: 67.77 kB / 0.6703 GB, free: 11.56 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/0.3967, allocations: 0.9199 MB / 0.6712 GB, free: 10.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.306e-05/0.3968, allocations: 37.7 kB / 0.6712 GB, free: 10.58 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004149/0.3972, allocations: 0.5079 MB / 0.6717 GB, free: 10.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.3974, allocations: 177.4 kB / 0.6719 GB, free: 9.895 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.3975, allocations: 12 kB / 0.6719 GB, free: 9.883 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.3976, allocations: 334 kB / 0.6722 GB, free: 9.551 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/0.3986, allocations: 376.9 kB / 0.6726 GB, free: 9.184 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.3997, allocations: 0.5506 MB / 0.6731 GB, free: 8.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001969/0.4017, allocations: 0.8243 MB / 0.6739 GB, free: 7.715 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.4017, allocations: 0 / 0.6739 GB, free: 7.715 MB / 490.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0028/0.4045, allocations: 1.139 MB / 0.675 GB, free: 6.562 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.402e-05/0.4047, allocations: 160.2 kB / 0.6752 GB, free: 6.371 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.4047, allocations: 4 kB / 0.6752 GB, free: 6.367 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001222/0.4059, allocations: 324.6 kB / 0.6755 GB, free: 6.047 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006174/0.4065, allocations: 147.8 kB / 0.6756 GB, free: 5.902 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/0.4079, allocations: 0.9386 MB / 0.6765 GB, free: 4.938 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.4092, allocations: 171.4 kB / 0.6767 GB, free: 4.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.574e-05/0.4093, allocations: 23.98 kB / 0.6767 GB, free: 4.746 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.024e-06/0.4093, allocations: 4 kB / 0.6767 GB, free: 4.742 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00254/0.4118, allocations: 1.001 MB / 0.6777 GB, free: 3.734 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.4119, allocations: 4 kB / 0.6777 GB, free: 3.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.4129, allocations: 320.9 kB / 0.678 GB, free: 3.414 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006068/0.4135, allocations: 143.8 kB / 0.6782 GB, free: 3.273 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.4149, allocations: 0.9427 MB / 0.6791 GB, free: 2.305 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.416, allocations: 171.3 kB / 0.6792 GB, free: 2.137 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.49e-05/0.4161, allocations: 35.97 kB / 0.6793 GB, free: 2.102 MB / 490.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004877/0.4166, allocations: 341 kB / 0.6796 GB, free: 1.758 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/0.4167, allocations: 110.6 kB / 0.6797 GB, free: 1.648 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004169/0.4209, allocations: 1.444 MB / 0.6811 GB, free: 204 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.421, allocations: 8 kB / 0.6811 GB, free: 196 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.421, allocations: 0 / 0.6811 GB, free: 196 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.421, allocations: 3.984 kB / 0.6811 GB, free: 192 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005545/0.4265, allocations: 2.526 MB / 0.6836 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.4266, allocations: 4 kB / 0.6836 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005232/0.4271, allocations: 120 kB / 0.6837 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009324/0.428, allocations: 324.6 kB / 0.684 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.925e-05/0.4281, allocations: 19.98 kB / 0.684 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/0.4295, allocations: 0.9581 MB / 0.685 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.4295, allocations: 11.95 kB / 0.685 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003856/0.4333, allocations: 1.448 MB / 0.6864 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004588/0.4338, allocations: 291.4 kB / 0.6867 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/0.434, allocations: 19.88 kB / 0.6867 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008884/0.4349, allocations: 131.7 kB / 0.6868 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.807e-05/0.435, allocations: 40.38 kB / 0.6869 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-05/0.435, allocations: 23.98 kB / 0.6869 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008551/0.4359, allocations: 0.648 MB / 0.6875 GB, free: 9.461 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4359, allocations: 8 kB / 0.6875 GB, free: 9.453 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001403/0.4373, allocations: 0.5653 MB / 0.6881 GB, free: 8.887 MB / 0.4948 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007878/0.4381, allocations: 395.7 kB / 0.6885 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003573/0.4417, allocations: 1.393 MB / 0.6898 GB, free: 7.109 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.4417, allocations: 4 kB / 0.6898 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001225/0.443, allocations: 492.8 kB / 0.6903 GB, free: 6.625 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002682/0.4457, allocations: 0.5089 MB / 0.6908 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003999/0.4497, allocations: 2.373 MB / 0.6931 GB, free: 3.695 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006333/0.4503, allocations: 1.07 MB / 0.6941 GB, free: 2.598 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00108/0.4514, allocations: 228.6 kB / 0.6944 GB, free: 2.371 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000249/0.4517, allocations: 83.41 kB / 0.6944 GB, free: 2.289 MB / 0.4948 GB Notification: Performance of SimCode: time 7.12e-07/0.4517, allocations: 0 / 0.6944 GB, free: 2.289 MB / 0.4948 GB Notification: Performance of Templates: time 0.2484/0.7001, allocations: 23.84 MB / 0.7177 GB, free: 142.1 MB / 0.5105 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)