Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 179.7 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4987/0.4987, allocations: 90.81 MB / 104.5 MB, free: 9.805 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 221.3 MB / 348.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008806/0.0008803, allocations: 101.2 kB / 421.2 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.006e-05/4.008e-05, allocations: 4 kB / 0.4896 GB, free: 5.375 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4372/0.4372, allocations: 72.3 MB / 0.5602 GB, free: 40.46 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.262/1.699, allocations: 388.2 MB / 0.9394 GB, free: 163.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/1.699, allocations: 88.12 kB / 0.9394 GB, free: 163.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.57/4.269, allocations: 0.7824 GB / 1.722 GB, free: 80.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.384e-06/4.269, allocations: 0 / 1.722 GB, free: 80.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002829/4.269, allocations: 40.58 kB / 1.722 GB, free: 80.18 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.004935/4.274, allocations: 1.751 MB / 1.724 GB, free: 79.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/4.274, allocations: 15.14 kB / 1.724 GB, free: 79.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002544/4.277, allocations: 475.7 kB / 1.724 GB, free: 79.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004404/4.281, allocations: 1.73 MB / 1.726 GB, free: 78.83 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003946/4.282, allocations: 146.2 kB / 1.726 GB, free: 78.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003597/4.282, allocations: 105.6 kB / 1.726 GB, free: 78.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002777/4.285, allocations: 1.188 MB / 1.727 GB, free: 78.58 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.397e-05/4.285, allocations: 1.312 kB / 1.727 GB, free: 78.58 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001581/4.285, allocations: 40 kB / 1.727 GB, free: 78.58 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.516e-05/4.285, allocations: 39.44 kB / 1.727 GB, free: 78.58 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001789/4.287, allocations: 0.8946 MB / 1.728 GB, free: 78.57 MB / 0.6198 GB Warning: The model contains alias variables with conflicting start and/or 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.009392/4.296, allocations: 6.993 MB / 1.735 GB, free: 74.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002451/4.299, allocations: 0.7985 MB / 1.736 GB, free: 74.78 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003783/4.299, allocations: 238.4 kB / 1.736 GB, free: 74.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001009/4.3, allocations: 1.736 MB / 1.738 GB, free: 72.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/4.3, allocations: 41.67 kB / 1.738 GB, free: 72.76 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=49): time 3.576e-06/4.3, allocations: 3.25 kB / 1.738 GB, free: 72.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49): time 0.001514/4.302, allocations: 0.6441 MB / 1.738 GB, free: 72.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/4.302, allocations: 58.25 kB / 1.738 GB, free: 72.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002464/4.304, allocations: 1.291 MB / 1.74 GB, free: 72.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001057/4.305, allocations: 41.14 kB / 1.74 GB, free: 72.37 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005445/4.305, allocations: 0.6674 MB / 1.74 GB, free: 72.15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/4.305, allocations: 177.3 kB / 1.74 GB, free: 72.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.942e-05/4.305, allocations: 9.562 kB / 1.74 GB, free: 72.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.08e-05/4.305, allocations: 334.2 kB / 1.741 GB, free: 71.74 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004124/4.306, allocations: 252.5 kB / 1.741 GB, free: 71.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006082/4.306, allocations: 0.5563 MB / 1.742 GB, free: 71.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000488/4.307, allocations: 310.9 kB / 1.742 GB, free: 71.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/4.307, allocations: 3.625 kB / 1.742 GB, free: 71.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001848/4.309, allocations: 0.9525 MB / 1.743 GB, free: 71.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/4.309, allocations: 8.969 kB / 1.743 GB, free: 71.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/4.309, allocations: 7.5 kB / 1.743 GB, free: 71.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008683/4.31, allocations: 233.2 kB / 1.743 GB, free: 71.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006935/4.31, allocations: 191.1 kB / 1.743 GB, free: 71.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006971/4.311, allocations: 0.7266 MB / 1.744 GB, free: 70.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/4.313, allocations: 261.6 kB / 1.744 GB, free: 70.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/4.313, allocations: 41.67 kB / 1.744 GB, free: 70.66 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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 {2 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001963/4.313, allocations: 155.7 kB / 1.744 GB, free: 70.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003682/4.314, allocations: 145.2 kB / 1.744 GB, free: 70.47 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002064/4.316, allocations: 1.06 MB / 1.746 GB, free: 70.37 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/4.316, allocations: 10.28 kB / 1.746 GB, free: 70.37 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/4.316, allocations: 7.047 kB / 1.746 GB, free: 70.37 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/4.316, allocations: 2.188 kB / 1.746 GB, free: 70.37 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005122/4.321, allocations: 2.484 MB / 1.748 GB, free: 69.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/4.321, allocations: 4.531 kB / 1.748 GB, free: 69.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003447/4.321, allocations: 88.33 kB / 1.748 GB, free: 69.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007392/4.322, allocations: 233.3 kB / 1.748 GB, free: 69.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.227e-05/4.322, allocations: 16.95 kB / 1.748 GB, free: 69.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005706/4.323, allocations: 0.7236 MB / 1.749 GB, free: 69.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/4.323, allocations: 2.906 kB / 1.749 GB, free: 69.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002942/4.326, allocations: 1.281 MB / 1.75 GB, free: 69.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008832/4.327, allocations: 377 kB / 1.751 GB, free: 68.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004522/4.327, allocations: 12.92 kB / 1.751 GB, free: 68.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/4.328, allocations: 105.3 kB / 1.751 GB, free: 68.83 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.492e-05/4.328, allocations: 41.61 kB / 1.751 GB, free: 68.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.112e-05/4.329, allocations: 30.89 kB / 1.751 GB, free: 68.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001945/4.331, allocations: 1.002 MB / 1.752 GB, free: 68.71 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/4.331, allocations: 3.281 kB / 1.752 GB, free: 68.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002352/4.333, allocations: 0.4991 MB / 1.752 GB, free: 68.63 MB / 0.6198 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 {2 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001757/4.335, allocations: 0.8308 MB / 1.753 GB, free: 68.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001495/4.336, allocations: 0.6861 MB / 1.754 GB, free: 68.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/4.336, allocations: 0 / 1.754 GB, free: 68.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006163/4.337, allocations: 360.2 kB / 1.754 GB, free: 68.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003424/4.34, allocations: 0.6962 MB / 1.755 GB, free: 68.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00368/4.344, allocations: 1.68 MB / 1.756 GB, free: 67.85 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000737/4.345, allocations: 1.202 MB / 1.758 GB, free: 67.14 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.00131/4.346, allocations: 265.7 kB / 1.758 GB, free: 67.12 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003228/4.346, allocations: 112.2 kB / 1.758 GB, free: 67.12 MB / 0.6198 GB Notification: Performance of SimCode: time 8.41e-07/4.346, allocations: 0 / 1.758 GB, free: 67.12 MB / 0.6198 GB Notification: Performance of Templates: time 0.04839/4.395, allocations: 34.45 MB / 1.792 GB, free: 63.6 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)