Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva") translateModel(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.693/0.693, allocations: 131 MB / 146.3 MB, free: 1.316 MB / 106.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008899/0.0008899, allocations: 184.2 kB / 176.4 MB, free: 4.887 MB / 138.7 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.35/1.35, allocations: 225.7 MB / 431.9 MB, free: 8.777 MB / 314.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.0008038/0.0008035, allocations: 102.5 kB / 0.5003 GB, free: 9.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000301/0.0003012, allocations: 12 kB / 0.5885 GB, free: 72.67 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1195, allocations: 79.6 MB / 0.6662 GB, free: 8.91 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.3342/0.4538, allocations: 65.78 MB / 0.7305 GB, free: 20.35 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01588/0.4697, allocations: 16.74 MB / 0.7468 GB, free: 13.71 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002316/0.4721, allocations: 52.06 kB / 0.7469 GB, free: 13.71 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002136/0.4743, allocations: 0.5747 MB / 0.7474 GB, free: 13.7 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008664/0.4829, allocations: 1.866 MB / 0.7493 GB, free: 13.48 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004525/0.4875, allocations: 1.046 MB / 0.7503 GB, free: 13.39 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.006345/0.4939, allocations: 4.095 MB / 0.7543 GB, free: 12.81 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001842/0.4957, allocations: 0.9034 MB / 0.7552 GB, free: 12.64 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003126/0.4989, allocations: 1.259 MB / 0.7564 GB, free: 12.38 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002118/0.501, allocations: 0.9196 MB / 0.7573 GB, free: 12.16 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002428/0.5013, allocations: 44.38 kB / 0.7573 GB, free: 12.16 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003369/0.5047, allocations: 1.169 MB / 0.7585 GB, free: 12.07 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004095/0.5051, allocations: 216.9 kB / 0.7587 GB, free: 12 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001621/0.5067, allocations: 0.6636 MB / 0.7593 GB, free: 11.76 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003378/0.5101, allocations: 2.307 MB / 0.7616 GB, free: 11.42 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.5101, allocations: 0 / 0.7616 GB, free: 11.42 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5101, allocations: 0 / 0.7616 GB, free: 11.42 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.5102, allocations: 0 / 0.7616 GB, free: 11.42 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002423/0.5126, allocations: 1.513 MB / 0.7631 GB, free: 10.41 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.5126, allocations: 16.34 kB / 0.7631 GB, free: 10.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002126/0.5148, allocations: 481 kB / 0.7635 GB, free: 10.31 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001992/0.5168, allocations: 1.154 MB / 0.7647 GB, free: 9.547 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003185/0.5171, allocations: 138.5 kB / 0.7648 GB, free: 9.492 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.5172, allocations: 85.91 kB / 0.7649 GB, free: 9.465 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002241/0.5195, allocations: 1.154 MB / 0.766 GB, free: 8.727 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.5195, allocations: 0 / 0.766 GB, free: 8.727 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-05/0.5196, allocations: 31.28 kB / 0.766 GB, free: 8.703 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.185e-05/0.5196, allocations: 27.97 kB / 0.7661 GB, free: 8.699 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00256/0.5222, allocations: 1.02 MB / 0.7671 GB, free: 8.219 MB / 490.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.005375/0.5276, allocations: 5.36 MB / 0.7723 GB, free: 3.492 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00341/0.531, allocations: 0.9426 MB / 0.7732 GB, free: 3.07 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006043/0.5316, allocations: 294.2 kB / 0.7735 GB, free: 2.934 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003024/0.5319, allocations: 0.5795 MB / 0.7741 GB, free: 2.254 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.532, allocations: 45.81 kB / 0.7741 GB, free: 2.203 MB / 490.7 MB Notification: Performance of pre-optimization done (n=39): time 2.484e-06/0.532, allocations: 4 kB / 0.7741 GB, free: 2.199 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.006944/0.5389, allocations: 1.919 MB / 0.776 GB, free: 1.281 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.539, allocations: 62.62 kB / 0.776 GB, free: 1.211 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001612/0.5406, allocations: 1.126 MB / 0.7771 GB, free: 0.582 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.801e-05/0.5407, allocations: 32.14 kB / 0.7772 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003421/0.5411, allocations: 0.5776 MB / 0.7777 GB, free: 36 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.5412, allocations: 139.7 kB / 0.7779 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.364e-05/0.5413, allocations: 8 kB / 0.7779 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.5414, allocations: 334.1 kB / 0.7782 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000941/0.5424, allocations: 354.2 kB / 0.7785 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/0.5435, allocations: 0.6151 MB / 0.7791 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001745/0.5452, allocations: 0.8187 MB / 0.7799 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.5453, allocations: 1.594 kB / 0.7799 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.004706/0.55, allocations: 1.404 MB / 0.7813 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001803/0.5502, allocations: 282.2 kB / 0.7816 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.5502, allocations: 5.875 kB / 0.7816 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001143/0.5513, allocations: 344.1 kB / 0.7819 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006207/0.552, allocations: 156.1 kB / 0.7821 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001524/0.5535, allocations: 0.9778 MB / 0.783 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.5551, allocations: 219.4 kB / 0.7832 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.902e-05/0.5552, allocations: 33.05 kB / 0.7833 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.825e-06/0.5552, allocations: 2.562 kB / 0.7833 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003033/0.5583, allocations: 1.146 MB / 0.7844 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.5583, allocations: 7.062 kB / 0.7844 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/0.5593, allocations: 327.5 kB / 0.7847 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005568/0.5599, allocations: 153 kB / 0.7848 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.5612, allocations: 0.9348 MB / 0.7858 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.5625, allocations: 179.2 kB / 0.7859 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.176e-05/0.5626, allocations: 31.98 kB / 0.786 GB, free: 10.39 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (63): * Single equations (assignments): 62 * 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.0005879/0.5632, allocations: 371.2 kB / 0.7863 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002654/0.5635, allocations: 118.5 kB / 0.7864 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00252/0.566, allocations: 0.9588 MB / 0.7874 GB, free: 8.934 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.566, allocations: 8 kB / 0.7874 GB, free: 8.926 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.566, allocations: 4 kB / 0.7874 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.5661, allocations: 7.922 kB / 0.7874 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005278/0.5713, allocations: 2.139 MB / 0.7895 GB, free: 6.707 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.5714, allocations: 0 / 0.7895 GB, free: 6.707 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003184/0.5717, allocations: 67.89 kB / 0.7895 GB, free: 6.641 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001083/0.5728, allocations: 360.7 kB / 0.7899 GB, free: 6.285 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.332e-05/0.5728, allocations: 15.98 kB / 0.7899 GB, free: 6.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001835/0.5747, allocations: 1.04 MB / 0.7909 GB, free: 5.203 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.5747, allocations: 8.031 kB / 0.7909 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004357/0.5791, allocations: 1.414 MB / 0.7923 GB, free: 3.742 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007076/0.5798, allocations: 275.5 kB / 0.7926 GB, free: 3.453 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003244/0.5801, allocations: 15.88 kB / 0.7926 GB, free: 3.438 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/0.5813, allocations: 123.8 kB / 0.7927 GB, free: 3.316 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.5814, allocations: 31.89 kB / 0.7927 GB, free: 3.285 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.418e-05/0.5815, allocations: 23.98 kB / 0.7927 GB, free: 3.262 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001434/0.5829, allocations: 0.772 MB / 0.7935 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.2e-07/0.583, allocations: 0 / 0.7935 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002/0.585, allocations: 0.5575 MB / 0.794 GB, free: 1.926 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 (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008005/0.5858, allocations: 331.7 kB / 0.7944 GB, free: 1.617 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003445/0.5892, allocations: 1.254 MB / 0.7956 GB, free: 372 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.5893, allocations: 0 / 0.7956 GB, free: 372 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001314/0.5906, allocations: 409 kB / 0.796 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003204/0.5938, allocations: 0.5629 MB / 0.7965 GB, free: 15.41 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005763/0.5996, allocations: 2.574 MB / 0.799 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006571/0.6003, allocations: 1.07 MB / 0.8001 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001238/0.6015, allocations: 221.6 kB / 0.8003 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002673/0.6018, allocations: 75.42 kB / 0.8004 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of SimCode: time 5.31e-07/0.6018, allocations: 4 kB / 0.8004 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of Templates: time 0.04079/0.6426, allocations: 25.05 MB / 0.8248 GB, free: 2.645 MB / 0.5261 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)