Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_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.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_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.0008507/0.0008506, allocations: 174.8 kB / 16.08 MB, free: 5.73 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.4394/0.4394, allocations: 89.07 MB / 105.9 MB, free: 12.44 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.268/1.268, allocations: 225.7 MB / 353.2 MB, free: 1.07 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.0007692/0.0007692, allocations: 86.08 kB / 425.4 MB, free: 6.645 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002785/0.0002785, allocations: 8 kB / 0.4955 GB, free: 4.527 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2649, allocations: 71.33 MB / 0.5652 GB, free: 42.36 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.04084/0.3058, allocations: 60.86 MB / 0.6246 GB, free: 12.43 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01553/0.3214, allocations: 16.65 MB / 0.6409 GB, free: 10.52 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00135/0.3228, allocations: 47.69 kB / 0.6409 GB, free: 10.47 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001348/0.3241, allocations: 0.5477 MB / 0.6415 GB, free: 9.918 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004023/0.3282, allocations: 1.8 MB / 0.6432 GB, free: 8.109 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002531/0.3307, allocations: 1.09 MB / 0.6443 GB, free: 7.02 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.004064/0.3348, allocations: 3.91 MB / 0.6481 GB, free: 3.098 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.336, allocations: 0.9208 MB / 0.649 GB, free: 2.145 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00193/0.338, allocations: 1.155 MB / 0.6501 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/0.339, allocations: 0.867 MB / 0.651 GB, free: 116 kB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.3391, allocations: 40 kB / 0.651 GB, free: 76 kB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00228/0.3414, allocations: 1.282 MB / 0.6523 GB, free: 14.79 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002034/0.3416, allocations: 210.8 kB / 0.6525 GB, free: 14.58 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005953/0.3423, allocations: 0.6428 MB / 0.6531 GB, free: 13.93 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002398/0.3447, allocations: 2.22 MB / 0.6553 GB, free: 11.7 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3447, allocations: 0 / 0.6553 GB, free: 11.7 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3447, allocations: 0 / 0.6553 GB, free: 11.7 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.3447, allocations: 0 / 0.6553 GB, free: 11.7 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.002345/0.347, allocations: 1.509 MB / 0.6567 GB, free: 10.14 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.3471, allocations: 8.031 kB / 0.6567 GB, free: 10.13 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002268/0.3494, allocations: 0.5183 MB / 0.6573 GB, free: 9.609 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001764/0.3511, allocations: 1.144 MB / 0.6584 GB, free: 8.406 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003337/0.3515, allocations: 125.9 kB / 0.6585 GB, free: 8.285 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.3516, allocations: 91.94 kB / 0.6586 GB, free: 8.195 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/0.3535, allocations: 1.021 MB / 0.6596 GB, free: 7.141 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.3536, allocations: 3.938 kB / 0.6596 GB, free: 7.137 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-05/0.3536, allocations: 32 kB / 0.6596 GB, free: 7.105 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.3537, allocations: 20 kB / 0.6596 GB, free: 7.086 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002339/0.356, allocations: 0.9993 MB / 0.6606 GB, free: 6.09 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.005283/0.3613, allocations: 4.707 MB / 0.6652 GB, free: 1.031 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003809/0.3651, allocations: 1.122 MB / 0.6663 GB, free: 15.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009747/0.3661, allocations: 437.8 kB / 0.6667 GB, free: 15.47 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008591/0.367, allocations: 1.037 MB / 0.6677 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.367, allocations: 43 kB / 0.6678 GB, free: 14.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=53): time 1.783e-06/0.367, allocations: 0 / 0.6678 GB, free: 14.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=53): time 0.007073/0.3741, allocations: 2.139 MB / 0.6699 GB, free: 11.99 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.3742, allocations: 67.78 kB / 0.6699 GB, free: 11.91 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.3753, allocations: 0.9357 MB / 0.6708 GB, free: 10.96 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.52e-05/0.3753, allocations: 37.7 kB / 0.6709 GB, free: 10.92 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003742/0.3757, allocations: 0.5042 MB / 0.6714 GB, free: 10.41 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/0.3759, allocations: 181.3 kB / 0.6715 GB, free: 10.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.3759, allocations: 15.94 kB / 0.6716 GB, free: 10.21 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.376, allocations: 326 kB / 0.6719 GB, free: 9.891 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009404/0.377, allocations: 380.8 kB / 0.6722 GB, free: 9.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/0.378, allocations: 0.5382 MB / 0.6728 GB, free: 8.922 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00182/0.3799, allocations: 0.8243 MB / 0.6736 GB, free: 8.066 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3799, allocations: 0 / 0.6736 GB, free: 8.066 MB / 490.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003401/0.3833, allocations: 1.291 MB / 0.6748 GB, free: 6.762 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.683e-05/0.3834, allocations: 168.5 kB / 0.675 GB, free: 6.562 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.3834, allocations: 0 / 0.675 GB, free: 6.562 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/0.3845, allocations: 336.5 kB / 0.6753 GB, free: 6.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005862/0.3851, allocations: 135.8 kB / 0.6754 GB, free: 6.098 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/0.3864, allocations: 0.9425 MB / 0.6763 GB, free: 5.129 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.3875, allocations: 179.2 kB / 0.6765 GB, free: 4.953 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.674e-05/0.3876, allocations: 31.98 kB / 0.6766 GB, free: 4.922 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.394e-06/0.3876, allocations: 4 kB / 0.6766 GB, free: 4.918 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003099/0.3907, allocations: 1.157 MB / 0.6777 GB, free: 3.754 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3907, allocations: 4 kB / 0.6777 GB, free: 3.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009906/0.3917, allocations: 308.8 kB / 0.678 GB, free: 3.445 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000579/0.3923, allocations: 147.8 kB / 0.6781 GB, free: 3.301 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.3935, allocations: 0.9351 MB / 0.679 GB, free: 2.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009845/0.3945, allocations: 163.5 kB / 0.6792 GB, free: 2.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.946e-05/0.3946, allocations: 31.92 kB / 0.6792 GB, free: 2.148 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.000455/0.3951, allocations: 360.9 kB / 0.6796 GB, free: 1.785 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.3952, allocations: 106.7 kB / 0.6797 GB, free: 1.68 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002802/0.398, allocations: 1.218 MB / 0.6809 GB, free: 468 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/0.3981, allocations: 7.938 kB / 0.6809 GB, free: 460 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3981, allocations: 0 / 0.6809 GB, free: 460 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.3981, allocations: 3.984 kB / 0.6809 GB, free: 456 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00402/0.4021, allocations: 2.319 MB / 0.6831 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.4021, allocations: 7.984 kB / 0.6831 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005425/0.4027, allocations: 112 kB / 0.6832 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009863/0.4037, allocations: 320.5 kB / 0.6836 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.966e-05/0.4037, allocations: 27.86 kB / 0.6836 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/0.4051, allocations: 0.9582 MB / 0.6845 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.4051, allocations: 7.969 kB / 0.6845 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003268/0.4084, allocations: 1.398 MB / 0.6859 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003822/0.4088, allocations: 295.4 kB / 0.6862 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.4089, allocations: 12 kB / 0.6862 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008413/0.4098, allocations: 127.7 kB / 0.6863 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.811e-05/0.4099, allocations: 44.33 kB / 0.6863 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.311e-05/0.4099, allocations: 23.98 kB / 0.6864 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007857/0.4107, allocations: 0.656 MB / 0.687 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4107, allocations: 0 / 0.687 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001227/0.4119, allocations: 0.5691 MB / 0.6876 GB, free: 9.41 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.0006684/0.4126, allocations: 389.2 kB / 0.6879 GB, free: 9.027 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003329/0.416, allocations: 1.397 MB / 0.6893 GB, free: 7.629 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.416, allocations: 0 / 0.6893 GB, free: 7.629 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001715/0.4177, allocations: 488.8 kB / 0.6898 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003649/0.4214, allocations: 0.505 MB / 0.6903 GB, free: 6.645 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005431/0.4268, allocations: 2.376 MB / 0.6926 GB, free: 4.223 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009098/0.4277, allocations: 1.07 MB / 0.6936 GB, free: 3.125 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001641/0.4294, allocations: 236.5 kB / 0.6939 GB, free: 2.891 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003192/0.4297, allocations: 83.41 kB / 0.6939 GB, free: 2.809 MB / 0.4948 GB Notification: Performance of SimCode: time 9.62e-07/0.4297, allocations: 0 / 0.6939 GB, free: 2.809 MB / 0.4948 GB Notification: Performance of Templates: time 0.2437/0.6734, allocations: 23.78 MB / 0.7172 GB, free: 142.7 MB / 0.5105 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)