Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_y_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_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL") translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008818/0.0008817, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.001136/0.001136, allocations: 172.7 kB / 15.95 MB, free: 208 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.369/1.369, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001691/0.001691, allocations: 266.9 kB / 291.3 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9391/0.9391, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000453/0.000453, allocations: 14.91 kB / 0.598 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1806, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.06229/0.243, allocations: 69.38 MB / 0.7522 GB, free: 9.906 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.3612/0.6042, allocations: 11.95 MB / 0.7639 GB, free: 31.16 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002558/0.6068, allocations: 60.22 kB / 0.764 GB, free: 31.16 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001899/0.6087, allocations: 0.5585 MB / 0.7645 GB, free: 31.16 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005787/0.6145, allocations: 1.898 MB / 0.7664 GB, free: 31.14 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002969/0.6175, allocations: 0.9625 MB / 0.7673 GB, free: 31.13 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006558/0.6241, allocations: 4.792 MB / 0.772 GB, free: 31.13 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002135/0.6262, allocations: 1.023 MB / 0.773 GB, free: 31.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002855/0.6291, allocations: 1.26 MB / 0.7742 GB, free: 30.95 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001387/0.6305, allocations: 1.069 MB / 0.7753 GB, free: 30.7 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001325/0.6306, allocations: 52.47 kB / 0.7753 GB, free: 30.7 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002551/0.6332, allocations: 0.9365 MB / 0.7762 GB, free: 30.61 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002855/0.6335, allocations: 270.8 kB / 0.7765 GB, free: 30.54 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004265/0.6339, allocations: 357.4 kB / 0.7768 GB, free: 30.46 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002775/0.6367, allocations: 2.102 MB / 0.7789 GB, free: 30.3 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.6367, allocations: 0 / 0.7789 GB, free: 30.3 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.136e-06/0.6367, allocations: 4 kB / 0.7789 GB, free: 30.3 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.31e-05/0.6368, allocations: 0 / 0.7789 GB, free: 30.3 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003077/0.6398, allocations: 1.802 MB / 0.7806 GB, free: 29.28 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.6399, allocations: 6.281 kB / 0.7806 GB, free: 29.28 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006253/0.6405, allocations: 241.5 kB / 0.7809 GB, free: 29.19 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002046/0.6426, allocations: 1.445 MB / 0.7823 GB, free: 28.8 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.202e-05/0.6427, allocations: 78.28 kB / 0.7824 GB, free: 28.8 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.6428, allocations: 96.38 kB / 0.7825 GB, free: 28.8 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/0.6446, allocations: 1.118 MB / 0.7835 GB, free: 28.66 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.6446, allocations: 1.5 kB / 0.7835 GB, free: 28.66 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.093e-05/0.6447, allocations: 43.72 kB / 0.7836 GB, free: 28.66 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.164e-05/0.6447, allocations: 33.86 kB / 0.7836 GB, free: 28.65 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/0.6464, allocations: 0.9229 MB / 0.7845 GB, free: 28.62 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.004579/0.651, allocations: 4.908 MB / 0.7893 GB, free: 26.39 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.6523, allocations: 0.6449 MB / 0.7899 GB, free: 26.35 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000799/0.6531, allocations: 371.6 kB / 0.7903 GB, free: 26.34 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000471/0.6536, allocations: 0.8344 MB / 0.7911 GB, free: 25.39 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.6536, allocations: 43.44 kB / 0.7912 GB, free: 25.35 MB / 0.545 GB Notification: Performance of pre-optimization done (n=62): time 1.964e-06/0.6536, allocations: 0 / 0.7912 GB, free: 25.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=62): time 0.007011/0.6606, allocations: 1.887 MB / 0.793 GB, free: 25.07 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.6607, allocations: 66.16 kB / 0.7931 GB, free: 25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001895/0.6626, allocations: 1.192 MB / 0.7942 GB, free: 24.84 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001359/0.6627, allocations: 40.89 kB / 0.7943 GB, free: 24.81 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004508/0.6632, allocations: 0.6032 MB / 0.7949 GB, free: 24.61 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000193/0.6634, allocations: 219.2 kB / 0.7951 GB, free: 24.47 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.6634, allocations: 13.81 kB / 0.7951 GB, free: 24.47 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.058e-05/0.6635, allocations: 337.5 kB / 0.7954 GB, free: 24.16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006258/0.6641, allocations: 302.5 kB / 0.7957 GB, free: 24.15 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007099/0.6649, allocations: 499.9 kB / 0.7962 GB, free: 23.95 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006631/0.6655, allocations: 363.8 kB / 0.7965 GB, free: 23.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.6656, allocations: 1.344 kB / 0.7965 GB, free: 23.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00408/0.6696, allocations: 1.401 MB / 0.7979 GB, free: 23.58 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.449e-05/0.6697, allocations: 189.2 kB / 0.7981 GB, free: 23.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.6698, allocations: 4.094 kB / 0.7981 GB, free: 23.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006389/0.6704, allocations: 167.4 kB / 0.7982 GB, free: 23.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005765/0.671, allocations: 179.5 kB / 0.7984 GB, free: 23.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006936/0.6717, allocations: 0.7211 MB / 0.7991 GB, free: 22.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.6728, allocations: 166 kB / 0.7993 GB, free: 22.63 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.807e-05/0.6729, allocations: 33.42 kB / 0.7993 GB, free: 22.63 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.025e-06/0.6729, allocations: 10.75 kB / 0.7993 GB, free: 22.62 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003872/0.6768, allocations: 1.255 MB / 0.8005 GB, free: 22.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.6768, allocations: 4.125 kB / 0.8005 GB, free: 22.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005226/0.6773, allocations: 170.3 kB / 0.8007 GB, free: 22.26 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005318/0.6779, allocations: 157.2 kB / 0.8008 GB, free: 22.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006261/0.6785, allocations: 0.7323 MB / 0.8016 GB, free: 21.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.6796, allocations: 162.5 kB / 0.8017 GB, free: 21.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.887e-05/0.6796, allocations: 29.67 kB / 0.8017 GB, free: 21.59 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.0006902/0.6803, allocations: 421.1 kB / 0.8021 GB, free: 21.38 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/0.6805, allocations: 131.4 kB / 0.8023 GB, free: 21.31 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003992/0.6845, allocations: 1.42 MB / 0.8036 GB, free: 20.86 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.6846, allocations: 6.594 kB / 0.8037 GB, free: 20.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.6846, allocations: 4 kB / 0.8037 GB, free: 20.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003474/0.6881, allocations: 1.242 MB / 0.8049 GB, free: 20.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005498/0.6936, allocations: 2.75 MB / 0.8076 GB, free: 19.24 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.6936, allocations: 4.078 kB / 0.8076 GB, free: 19.24 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000434/0.694, allocations: 123.8 kB / 0.8077 GB, free: 19.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005005/0.6945, allocations: 161 kB / 0.8078 GB, free: 19.16 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.333e-05/0.6946, allocations: 21.17 kB / 0.8079 GB, free: 19.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005771/0.6952, allocations: 0.7263 MB / 0.8086 GB, free: 18.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.6952, allocations: 3.344 kB / 0.8086 GB, free: 18.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00414/0.6993, allocations: 1.846 MB / 0.8104 GB, free: 17.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006846/0.7, allocations: 336.3 kB / 0.8107 GB, free: 17.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.7002, allocations: 17.53 kB / 0.8107 GB, free: 17.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008093/0.701, allocations: 97.61 kB / 0.8108 GB, free: 17.64 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.7012, allocations: 50.27 kB / 0.8108 GB, free: 17.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-05/0.7012, allocations: 42.33 kB / 0.8109 GB, free: 17.61 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001332/0.7026, allocations: 0.8553 MB / 0.8117 GB, free: 17.38 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7026, allocations: 0 / 0.8117 GB, free: 17.38 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00211/0.7047, allocations: 0.7023 MB / 0.8124 GB, free: 17.28 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007481/0.7054, allocations: 443.8 kB / 0.8128 GB, free: 17.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002293/0.7077, allocations: 1.162 MB / 0.814 GB, free: 16.85 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.7078, allocations: 3.281 kB / 0.814 GB, free: 16.85 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008116/0.7086, allocations: 403.8 kB / 0.8144 GB, free: 16.78 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003041/0.7116, allocations: 0.7501 MB / 0.8151 GB, free: 16.53 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003476/0.7151, allocations: 2.776 MB / 0.8178 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004939/0.7156, allocations: 1.179 MB / 0.8189 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001149/0.7168, allocations: 314 kB / 0.8192 GB, free: 13.83 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/0.717, allocations: 104.9 kB / 0.8193 GB, free: 13.81 MB / 0.545 GB Notification: Performance of SimCode: time 1.132e-06/0.717, allocations: 0 / 0.8193 GB, free: 13.81 MB / 0.545 GB Notification: Performance of Templates: time 0.0407/0.7577, allocations: 29.22 MB / 0.8479 GB, free: 2.074 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)