Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.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.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 175.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.4678/0.4678, 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.283/1.283, allocations: 225.7 MB / 353.2 MB, free: 1.094 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.0008146/0.0008145, allocations: 93.33 kB / 425.4 MB, free: 6.641 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002813/0.0002813, allocations: 12 kB / 0.4955 GB, free: 4.527 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2771, allocations: 71.33 MB / 0.5652 GB, free: 42.33 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.04585/0.323, allocations: 60.82 MB / 0.6246 GB, free: 12.45 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01714/0.3402, allocations: 16.65 MB / 0.6408 GB, free: 10.54 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/0.3421, allocations: 51.62 kB / 0.6409 GB, free: 10.49 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001837/0.344, allocations: 0.5438 MB / 0.6414 GB, free: 9.945 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004941/0.3489, allocations: 1.808 MB / 0.6432 GB, free: 8.129 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003031/0.352, allocations: 1.094 MB / 0.6442 GB, free: 7.035 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.00497/0.3569, allocations: 3.902 MB / 0.6481 GB, free: 3.121 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00154/0.3585, allocations: 0.904 MB / 0.6489 GB, free: 2.188 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00231/0.3608, allocations: 1.143 MB / 0.6501 GB, free: 1.039 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001619/0.3625, allocations: 0.8513 MB / 0.6509 GB, free: 188 kB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002437/0.3627, allocations: 40 kB / 0.6509 GB, free: 148 kB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00295/0.3657, allocations: 1.286 MB / 0.6522 GB, free: 14.85 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003662/0.3661, allocations: 210.8 kB / 0.6524 GB, free: 14.65 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001004/0.3671, allocations: 0.6388 MB / 0.653 GB, free: 14 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003554/0.3707, allocations: 2.192 MB / 0.6551 GB, free: 11.8 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.3707, allocations: 0 / 0.6551 GB, free: 11.8 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3707, allocations: 3.938 kB / 0.6552 GB, free: 11.8 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.976e-05/0.3708, allocations: 0 / 0.6552 GB, free: 11.8 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003095/0.3739, allocations: 1.497 MB / 0.6566 GB, free: 10.24 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3739, allocations: 8.031 kB / 0.6566 GB, free: 10.23 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002071/0.376, allocations: 478.8 kB / 0.6571 GB, free: 9.766 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002359/0.3784, allocations: 1.128 MB / 0.6582 GB, free: 8.578 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003763/0.3787, allocations: 129.9 kB / 0.6583 GB, free: 8.453 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/0.3789, allocations: 80 kB / 0.6584 GB, free: 8.375 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002368/0.3813, allocations: 1.005 MB / 0.6594 GB, free: 7.324 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.3814, allocations: 0 / 0.6594 GB, free: 7.324 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.942e-05/0.3814, allocations: 32 kB / 0.6594 GB, free: 7.293 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.3815, allocations: 24 kB / 0.6594 GB, free: 7.27 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002274/0.3837, allocations: 0.8977 MB / 0.6603 GB, free: 6.375 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.006538/0.3903, allocations: 4.893 MB / 0.6651 GB, free: 1.125 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003213/0.3935, allocations: 0.8914 MB / 0.6659 GB, free: 228 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000758/0.3943, allocations: 324.7 kB / 0.6663 GB, free: 15.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007213/0.3951, allocations: 0.9063 MB / 0.6671 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.3951, allocations: 38.5 kB / 0.6672 GB, free: 14.75 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 2.725e-06/0.3951, allocations: 0 / 0.6672 GB, free: 14.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=43): time 0.00707/0.4022, allocations: 1.95 MB / 0.6691 GB, free: 12.77 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.4023, allocations: 55.41 kB / 0.6691 GB, free: 12.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001837/0.4041, allocations: 1.056 MB / 0.6702 GB, free: 11.63 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.546e-05/0.4042, allocations: 37.64 kB / 0.6702 GB, free: 11.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004866/0.4047, allocations: 0.5274 MB / 0.6707 GB, free: 11.05 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.4049, allocations: 145.8 kB / 0.6709 GB, free: 10.91 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.97e-05/0.4049, allocations: 12 kB / 0.6709 GB, free: 10.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.4051, allocations: 333.9 kB / 0.6712 GB, free: 10.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008619/0.406, allocations: 324.9 kB / 0.6715 GB, free: 10.25 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/0.407, allocations: 0.5257 MB / 0.672 GB, free: 9.641 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001659/0.4087, allocations: 0.7354 MB / 0.6727 GB, free: 8.848 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.4087, allocations: 0 / 0.6727 GB, free: 8.848 MB / 490.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003864/0.4126, allocations: 1.211 MB / 0.6739 GB, free: 7.625 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000152/0.4128, allocations: 213.5 kB / 0.6741 GB, free: 7.355 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.4128, allocations: 4 kB / 0.6741 GB, free: 7.352 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/0.4141, allocations: 340.5 kB / 0.6744 GB, free: 7.016 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005284/0.4146, allocations: 123.9 kB / 0.6746 GB, free: 6.895 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/0.4161, allocations: 0.9425 MB / 0.6755 GB, free: 5.926 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.4174, allocations: 195.2 kB / 0.6757 GB, free: 5.734 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.911e-05/0.4175, allocations: 35.97 kB / 0.6757 GB, free: 5.699 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.4176, allocations: 4 kB / 0.6757 GB, free: 5.695 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003146/0.4207, allocations: 1.078 MB / 0.6768 GB, free: 4.613 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.4207, allocations: 4 kB / 0.6768 GB, free: 4.609 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/0.4219, allocations: 325.2 kB / 0.6771 GB, free: 4.289 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005426/0.4224, allocations: 127.8 kB / 0.6772 GB, free: 4.164 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/0.4239, allocations: 0.9348 MB / 0.6781 GB, free: 3.203 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.4252, allocations: 175.3 kB / 0.6783 GB, free: 3.031 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.839e-05/0.4253, allocations: 31.92 kB / 0.6783 GB, free: 3 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * 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.0005189/0.4258, allocations: 353 kB / 0.6786 GB, free: 2.645 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002395/0.426, allocations: 106.7 kB / 0.6787 GB, free: 2.539 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002382/0.4284, allocations: 0.9729 MB / 0.6797 GB, free: 1.555 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/0.4284, allocations: 8.094 kB / 0.6797 GB, free: 1.547 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.4285, allocations: 7.984 kB / 0.6797 GB, free: 1.539 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.4285, allocations: 3.984 kB / 0.6797 GB, free: 1.535 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005081/0.4336, allocations: 2.257 MB / 0.6819 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.4336, allocations: 4 kB / 0.6819 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002884/0.4339, allocations: 76.11 kB / 0.682 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001011/0.4349, allocations: 312.6 kB / 0.6823 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.523e-05/0.435, allocations: 19.98 kB / 0.6823 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001418/0.4364, allocations: 0.9659 MB / 0.6832 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.4364, allocations: 7.969 kB / 0.6833 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003442/0.4399, allocations: 1.253 MB / 0.6845 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005629/0.4404, allocations: 283.4 kB / 0.6847 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002148/0.4407, allocations: 12 kB / 0.6848 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009899/0.4417, allocations: 111.9 kB / 0.6849 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.297e-05/0.4418, allocations: 39.89 kB / 0.6849 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.848e-05/0.4418, allocations: 23.98 kB / 0.6849 GB, free: 12 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001242/0.4431, allocations: 0.7352 MB / 0.6856 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.566e-06/0.4431, allocations: 4 kB / 0.6856 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001632/0.4447, allocations: 0.5574 MB / 0.6862 GB, free: 10.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0008548/0.4456, allocations: 396.2 kB / 0.6866 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003103/0.4487, allocations: 1.153 MB / 0.6877 GB, free: 9.16 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.217e-06/0.4487, allocations: 0 / 0.6877 GB, free: 9.16 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000926/0.4497, allocations: 382.8 kB / 0.6881 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002716/0.4524, allocations: 0.5043 MB / 0.6886 GB, free: 8.285 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005267/0.4577, allocations: 2.542 MB / 0.691 GB, free: 5.688 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007003/0.4584, allocations: 1.065 MB / 0.6921 GB, free: 4.594 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009849/0.4594, allocations: 224.6 kB / 0.6923 GB, free: 4.371 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/0.4596, allocations: 79.42 kB / 0.6924 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of SimCode: time 8.51e-07/0.4596, allocations: 3.938 kB / 0.6924 GB, free: 4.289 MB / 0.4948 GB Notification: Performance of Templates: time 0.2603/0.7199, allocations: 24.01 MB / 0.7158 GB, free: 142.8 MB / 0.5105 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)