Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_etaPL") translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.005662/0.005662, allocations: 172.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001757/0.001757, allocations: 271 kB / 291.7 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9409/0.9409, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004238/0.0004239, allocations: 16.67 kB / 0.5986 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1411, allocations: 88.54 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.05395/0.1951, allocations: 59.7 MB / 0.7434 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01607/0.2112, allocations: 11.92 MB / 0.755 GB, free: 7.281 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001626/0.2129, allocations: 59.56 kB / 0.7551 GB, free: 7.223 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.2145, allocations: 0.5477 MB / 0.7556 GB, free: 6.672 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004621/0.2191, allocations: 1.804 MB / 0.7574 GB, free: 4.859 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002623/0.2217, allocations: 1.074 MB / 0.7584 GB, free: 3.797 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.3153/0.537, allocations: 3.904 MB / 0.7623 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001884/0.5389, allocations: 0.8956 MB / 0.7631 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002513/0.5415, allocations: 1.119 MB / 0.7642 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001649/0.5431, allocations: 0.8578 MB / 0.7651 GB, free: 15.87 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001567/0.5433, allocations: 42.19 kB / 0.7651 GB, free: 15.87 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003377/0.5467, allocations: 1.365 MB / 0.7664 GB, free: 15.87 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002555/0.5469, allocations: 213.2 kB / 0.7666 GB, free: 15.87 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007256/0.5477, allocations: 0.6311 MB / 0.7673 GB, free: 15.76 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00292/0.5506, allocations: 2.219 MB / 0.7694 GB, free: 15.55 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5506, allocations: 0.75 kB / 0.7694 GB, free: 15.55 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5506, allocations: 0.9688 kB / 0.7694 GB, free: 15.55 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.736e-05/0.5507, allocations: 4 kB / 0.7694 GB, free: 15.55 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.002539/0.5532, allocations: 1.497 MB / 0.7709 GB, free: 14.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.5532, allocations: 9.625 kB / 0.7709 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001718/0.555, allocations: 391.5 kB / 0.7713 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/0.5568, allocations: 1.119 MB / 0.7724 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003504/0.5572, allocations: 136.7 kB / 0.7725 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.5573, allocations: 81 kB / 0.7726 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001754/0.559, allocations: 0.9691 MB / 0.7735 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.5591, allocations: 4.375 kB / 0.7735 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.443e-05/0.5592, allocations: 34.25 kB / 0.7736 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.5592, allocations: 26.08 kB / 0.7736 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00194/0.5611, allocations: 0.8427 MB / 0.7744 GB, free: 13.99 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.00515/0.5663, allocations: 4.805 MB / 0.7791 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/0.5678, allocations: 0.6046 MB / 0.7797 GB, free: 11.24 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005936/0.5684, allocations: 283.1 kB / 0.78 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00107/0.5695, allocations: 1.398 MB / 0.7813 GB, free: 9.723 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.5695, allocations: 42.75 kB / 0.7814 GB, free: 9.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=44): time 1.953e-06/0.5695, allocations: 0 / 0.7814 GB, free: 9.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=44): time 0.005886/0.5754, allocations: 1.695 MB / 0.783 GB, free: 9.406 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/0.5754, allocations: 58.19 kB / 0.7831 GB, free: 9.344 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.5767, allocations: 1.059 MB / 0.7841 GB, free: 9.188 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.244e-05/0.5768, allocations: 39.48 kB / 0.7841 GB, free: 9.156 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003139/0.5771, allocations: 0.5129 MB / 0.7847 GB, free: 8.973 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.083e-05/0.5772, allocations: 155.5 kB / 0.7848 GB, free: 8.875 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.706e-05/0.5773, allocations: 49 kB / 0.7848 GB, free: 8.859 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.39e-05/0.5773, allocations: 324.2 kB / 0.7852 GB, free: 8.555 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007485/0.5781, allocations: 290.1 kB / 0.7854 GB, free: 8.547 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008581/0.5789, allocations: 496.1 kB / 0.7859 GB, free: 8.328 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.5803, allocations: 0.6655 MB / 0.7866 GB, free: 8.16 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.5803, allocations: 2.062 kB / 0.7866 GB, free: 8.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002325/0.5826, allocations: 0.9792 MB / 0.7875 GB, free: 8.027 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.453e-05/0.5827, allocations: 203.2 kB / 0.7877 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.5827, allocations: 5.156 kB / 0.7877 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001344/0.5841, allocations: 336 kB / 0.788 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004561/0.5846, allocations: 114.8 kB / 0.7881 GB, free: 7.777 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/0.5861, allocations: 0.9418 MB / 0.7891 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.5875, allocations: 182 kB / 0.7892 GB, free: 7.191 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-05/0.5876, allocations: 28.06 kB / 0.7893 GB, free: 7.191 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.5876, allocations: 3.625 kB / 0.7893 GB, free: 7.191 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002274/0.5899, allocations: 0.8413 MB / 0.7901 GB, free: 7.156 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.5899, allocations: 4.594 kB / 0.7901 GB, free: 7.156 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001094/0.591, allocations: 332 kB / 0.7904 GB, free: 7.129 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004286/0.5914, allocations: 116.4 kB / 0.7905 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00129/0.5927, allocations: 0.9361 MB / 0.7914 GB, free: 6.586 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.5938, allocations: 163 kB / 0.7916 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.664e-05/0.5939, allocations: 28.3 kB / 0.7916 GB, free: 6.543 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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.0004958/0.5944, allocations: 348.9 kB / 0.7919 GB, free: 6.355 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.5945, allocations: 112 kB / 0.7921 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002184/0.5967, allocations: 0.9462 MB / 0.793 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.5967, allocations: 6.438 kB / 0.793 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5967, allocations: 7.875 kB / 0.793 GB, free: 6.18 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.5968, allocations: 4.109 kB / 0.793 GB, free: 6.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005757/0.6025, allocations: 2.333 MB / 0.7953 GB, free: 21.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.6025, allocations: 6.938 kB / 0.7953 GB, free: 21.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.6028, allocations: 63.27 kB / 0.7953 GB, free: 21.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001039/0.6038, allocations: 325.8 kB / 0.7957 GB, free: 21.69 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.476e-05/0.6038, allocations: 17.62 kB / 0.7957 GB, free: 21.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001445/0.6053, allocations: 0.9711 MB / 0.7966 GB, free: 21.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.6053, allocations: 7.125 kB / 0.7966 GB, free: 21.14 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004224/0.6095, allocations: 1.364 MB / 0.798 GB, free: 20.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004127/0.61, allocations: 280.2 kB / 0.7982 GB, free: 20.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.6101, allocations: 10.97 kB / 0.7982 GB, free: 20.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008609/0.611, allocations: 105.5 kB / 0.7983 GB, free: 20.63 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.529e-05/0.6111, allocations: 42.36 kB / 0.7984 GB, free: 20.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.994e-05/0.6111, allocations: 23.5 kB / 0.7984 GB, free: 20.62 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001123/0.6122, allocations: 0.7478 MB / 0.7991 GB, free: 20.51 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6123, allocations: 0 / 0.7991 GB, free: 20.51 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001652/0.6139, allocations: 0.5678 MB / 0.7997 GB, free: 20.43 MB / 0.5606 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 (34): * Single equations (assignments): 29 * 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.0007612/0.6147, allocations: 411.2 kB / 0.8001 GB, free: 20.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002589/0.6173, allocations: 1.061 MB / 0.8011 GB, free: 20.23 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.6173, allocations: 2.531 kB / 0.8011 GB, free: 20.23 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007138/0.618, allocations: 333.1 kB / 0.8014 GB, free: 20.23 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002605/0.6206, allocations: 0.5065 MB / 0.8019 GB, free: 20.17 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002929/0.6236, allocations: 2.291 MB / 0.8042 GB, free: 18.96 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005538/0.6241, allocations: 1.068 MB / 0.8052 GB, free: 18.25 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007753/0.6249, allocations: 221 kB / 0.8054 GB, free: 18.19 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.6251, allocations: 78.09 kB / 0.8055 GB, free: 18.18 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.6251, allocations: 1.625 kB / 0.8055 GB, free: 18.18 MB / 0.5606 GB Notification: Performance of Templates: time 0.03506/0.6602, allocations: 24.18 MB / 0.8291 GB, free: 4.285 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_etaPL.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_etaPL.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe 2>&1)