Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001795/0.001795, allocations: 266.6 kB / 291.3 MB, free: 1.961 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9949/0.9949, allocations: 169.5 MB / 0.5 GB, free: 14.24 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004613/0.0004614, allocations: 13.38 kB / 0.598 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1858, allocations: 88.54 MB / 0.6845 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.05562/0.2414, allocations: 56.46 MB / 0.7396 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01544/0.2569, allocations: 11.22 MB / 0.7506 GB, free: 11.67 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00203/0.259, allocations: 47.69 kB / 0.7506 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001633/0.2607, allocations: 476.8 kB / 0.7511 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004893/0.2656, allocations: 1.526 MB / 0.7526 GB, free: 9.621 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00273/0.2683, allocations: 0.8558 MB / 0.7534 GB, free: 8.773 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004511/0.2728, allocations: 3.39 MB / 0.7567 GB, free: 5.367 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001458/0.2743, allocations: 0.7938 MB / 0.7575 GB, free: 4.551 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002417/0.2768, allocations: 1.03 MB / 0.7585 GB, free: 3.516 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001465/0.2782, allocations: 0.8049 MB / 0.7593 GB, free: 2.707 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001447/0.2784, allocations: 40 kB / 0.7593 GB, free: 2.668 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002755/0.2812, allocations: 1.115 MB / 0.7604 GB, free: 1.551 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002577/0.2814, allocations: 199 kB / 0.7606 GB, free: 1.355 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000495/0.2819, allocations: 285 kB / 0.7609 GB, free: 1.07 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.3567/0.6386, allocations: 1.635 MB / 0.7625 GB, free: 28.27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.6387, allocations: 0.5 kB / 0.7625 GB, free: 28.27 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6387, allocations: 0.5625 kB / 0.7625 GB, free: 28.27 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.127e-05/0.6387, allocations: 0.5312 kB / 0.7625 GB, free: 28.27 MB / 0.545 GB 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.002698/0.6414, allocations: 1.507 MB / 0.7639 GB, free: 27.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.6415, allocations: 13.42 kB / 0.7639 GB, free: 27.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001636/0.6431, allocations: 383.7 kB / 0.7643 GB, free: 27.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002061/0.6452, allocations: 1.08 MB / 0.7654 GB, free: 27.09 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003619/0.6456, allocations: 140 kB / 0.7655 GB, free: 27.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.6457, allocations: 81 kB / 0.7656 GB, free: 27.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/0.6477, allocations: 0.9639 MB / 0.7665 GB, free: 26.92 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.6477, allocations: 2.906 kB / 0.7665 GB, free: 26.92 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-05/0.6478, allocations: 35.91 kB / 0.7665 GB, free: 26.92 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/0.6478, allocations: 19.12 kB / 0.7666 GB, free: 26.92 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00194/0.6498, allocations: 0.8398 MB / 0.7674 GB, free: 26.89 MB / 0.545 GB 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.005785/0.6556, allocations: 4.79 MB / 0.7721 GB, free: 24.22 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/0.6572, allocations: 0.5982 MB / 0.7726 GB, free: 24.18 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006403/0.6579, allocations: 286.1 kB / 0.7729 GB, free: 24.16 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001145/0.659, allocations: 1.388 MB / 0.7743 GB, free: 22.65 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.6591, allocations: 39.62 kB / 0.7743 GB, free: 22.61 MB / 0.545 GB Notification: Performance of pre-optimization done (n=43): time 2.474e-06/0.6591, allocations: 7.141 kB / 0.7743 GB, free: 22.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=43): time 0.006378/0.6655, allocations: 1.834 MB / 0.7761 GB, free: 22.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.6655, allocations: 63.55 kB / 0.7762 GB, free: 22.27 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001833/0.6674, allocations: 1.038 MB / 0.7772 GB, free: 22.12 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001332/0.6675, allocations: 38.03 kB / 0.7772 GB, free: 22.09 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006403/0.6682, allocations: 0.5269 MB / 0.7777 GB, free: 21.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002023/0.6684, allocations: 150.1 kB / 0.7779 GB, free: 21.8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.6684, allocations: 10.75 kB / 0.7779 GB, free: 21.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.6686, allocations: 333.3 kB / 0.7782 GB, free: 21.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008035/0.6694, allocations: 281.7 kB / 0.7785 GB, free: 21.49 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009546/0.6703, allocations: 498.4 kB / 0.779 GB, free: 21.26 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008221/0.6712, allocations: 330.9 kB / 0.7793 GB, free: 21.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.6712, allocations: 0 / 0.7793 GB, free: 21.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00259/0.6738, allocations: 0.957 MB / 0.7802 GB, free: 21.12 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000135/0.6739, allocations: 214 kB / 0.7804 GB, free: 20.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.674, allocations: 13.48 kB / 0.7804 GB, free: 20.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.6753, allocations: 326 kB / 0.7807 GB, free: 20.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004503/0.6757, allocations: 115.5 kB / 0.7808 GB, free: 20.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/0.6771, allocations: 0.9353 MB / 0.7818 GB, free: 20.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/0.6786, allocations: 181.5 kB / 0.7819 GB, free: 20.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.687e-05/0.6786, allocations: 29.91 kB / 0.782 GB, free: 20.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.6787, allocations: 3.312 kB / 0.782 GB, free: 20.27 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00216/0.6808, allocations: 0.845 MB / 0.7828 GB, free: 20.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.6809, allocations: 6.719 kB / 0.7828 GB, free: 20.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.6819, allocations: 322.6 kB / 0.7831 GB, free: 20.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004285/0.6823, allocations: 111.7 kB / 0.7832 GB, free: 20.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/0.6836, allocations: 0.9427 MB / 0.7841 GB, free: 19.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.6849, allocations: 154.2 kB / 0.7843 GB, free: 19.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.417e-05/0.685, allocations: 31.48 kB / 0.7843 GB, free: 19.62 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (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.000556/0.6855, allocations: 351.8 kB / 0.7846 GB, free: 19.43 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002885/0.6858, allocations: 112.1 kB / 0.7847 GB, free: 19.37 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002802/0.6886, allocations: 1.09 MB / 0.7858 GB, free: 19.25 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.6887, allocations: 6.125 kB / 0.7858 GB, free: 19.25 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.6887, allocations: 0.5625 kB / 0.7858 GB, free: 19.25 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.6887, allocations: 3.328 kB / 0.7858 GB, free: 19.25 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004917/0.6936, allocations: 2.169 MB / 0.7879 GB, free: 18.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.6936, allocations: 6.094 kB / 0.7879 GB, free: 18.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/0.6939, allocations: 58.36 kB / 0.788 GB, free: 18.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001103/0.695, allocations: 325.5 kB / 0.7883 GB, free: 18.78 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.865e-05/0.695, allocations: 15.11 kB / 0.7883 GB, free: 18.78 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/0.6965, allocations: 0.9682 MB / 0.7893 GB, free: 18.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/0.6965, allocations: 4.875 kB / 0.7893 GB, free: 18.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00316/0.6997, allocations: 1.181 MB / 0.7904 GB, free: 17.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005666/0.7003, allocations: 274.8 kB / 0.7907 GB, free: 17.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002438/0.7005, allocations: 18.39 kB / 0.7907 GB, free: 17.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009003/0.7014, allocations: 107.7 kB / 0.7908 GB, free: 17.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.815e-05/0.7015, allocations: 35.66 kB / 0.7908 GB, free: 17.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.456e-05/0.7016, allocations: 18.94 kB / 0.7909 GB, free: 17.75 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001231/0.7028, allocations: 0.7379 MB / 0.7916 GB, free: 17.64 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7028, allocations: 0 / 0.7916 GB, free: 17.64 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001922/0.7047, allocations: 0.5628 MB / 0.7921 GB, free: 17.56 MB / 0.545 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 (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.0009031/0.7057, allocations: 383.1 kB / 0.7925 GB, free: 17.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002781/0.7084, allocations: 1.057 MB / 0.7935 GB, free: 17.37 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.7085, allocations: 1.125 kB / 0.7935 GB, free: 17.37 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000805/0.7093, allocations: 336.3 kB / 0.7939 GB, free: 17.36 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003001/0.7123, allocations: 0.5033 MB / 0.7943 GB, free: 17.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004475/0.7168, allocations: 2.214 MB / 0.7965 GB, free: 16.22 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009385/0.7177, allocations: 1.068 MB / 0.7975 GB, free: 15.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001315/0.7191, allocations: 222.8 kB / 0.7978 GB, free: 15.45 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000327/0.7194, allocations: 78.31 kB / 0.7978 GB, free: 15.44 MB / 0.545 GB Notification: Performance of SimCode: time 1.874e-06/0.7194, allocations: 0 / 0.7978 GB, free: 15.44 MB / 0.545 GB Notification: Performance of Templates: time 0.03986/0.7593, allocations: 23.16 MB / 0.8204 GB, free: 5.566 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)