Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 173 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.888/0.888, allocations: 177.2 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002087/0.002087, allocations: 233.2 kB / 260.2 MB, free: 12.83 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.8181/0.8181, allocations: 138.4 MB / 455.2 MB, free: 1.547 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.5551 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.864e-05/3.034e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.01726/0.01729, allocations: 18.54 MB / 0.5732 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01077/0.02805, allocations: 7.059 MB / 0.5801 GB, free: 6.852 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002171/0.03023, allocations: 95.19 kB / 0.5802 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.03133, allocations: 436.5 kB / 0.5806 GB, free: 6.328 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.003768/0.0351, allocations: 1.76 MB / 0.5823 GB, free: 4.559 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002719/0.03782, allocations: 1.551 MB / 0.5838 GB, free: 3.004 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.004707/0.04252, allocations: 3.99 MB / 0.5877 GB, free: 15 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001784/0.04431, allocations: 1.193 MB / 0.5889 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003194/0.0475, allocations: 1.987 MB / 0.5908 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.04891, allocations: 1.004 MB / 0.5918 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002837/0.0492, allocations: 172 kB / 0.592 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.05026, allocations: 0.6473 MB / 0.5926 GB, free: 9.969 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0005042/0.05076, allocations: 406.4 kB / 0.593 GB, free: 9.57 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0006267/0.05139, allocations: 0.5884 MB / 0.5936 GB, free: 8.98 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002085/0.05348, allocations: 1.643 MB / 0.5952 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.05348, allocations: 0 / 0.5952 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.442e-06/0.05348, allocations: 0 / 0.5952 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.012e-05/0.05352, allocations: 0 / 0.5952 GB, free: 7.332 MB / 0.5105 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.002551/0.05607, allocations: 2.011 MB / 0.5971 GB, free: 5.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.05612, allocations: 8.75 kB / 0.5972 GB, free: 5.262 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001411/0.05753, allocations: 467.5 kB / 0.5976 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002002/0.05953, allocations: 1.521 MB / 0.5991 GB, free: 3.23 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.54e-05/0.0596, allocations: 82.03 kB / 0.5992 GB, free: 3.148 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.05973, allocations: 104 kB / 0.5993 GB, free: 3.047 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/0.06146, allocations: 1.096 MB / 0.6003 GB, free: 1.789 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.06148, allocations: 4 kB / 0.6003 GB, free: 1.785 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.558e-05/0.06157, allocations: 44 kB / 0.6004 GB, free: 1.742 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.473e-05/0.06159, allocations: 24 kB / 0.6004 GB, free: 1.719 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004117/0.06571, allocations: 479.3 kB / 0.6009 GB, free: 1.246 MB / 0.5105 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.2667/0.3324, allocations: 6.235 MB / 0.6069 GB, free: 74.65 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.3334, allocations: 438.5 kB / 0.6074 GB, free: 74.61 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.3335, allocations: 114.3 kB / 0.6075 GB, free: 74.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001745/0.3337, allocations: 65.86 kB / 0.6075 GB, free: 74.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.3338, allocations: 42.95 kB / 0.6076 GB, free: 74.55 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 5.32e-06/0.3338, allocations: 0 / 0.6076 GB, free: 74.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48): time 0.001628/0.3354, allocations: 0.7247 MB / 0.6083 GB, free: 74.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.3354, allocations: 57.16 kB / 0.6083 GB, free: 74.44 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000927/0.3363, allocations: 1.051 MB / 0.6094 GB, free: 74.23 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.149e-05/0.3364, allocations: 35.2 kB / 0.6094 GB, free: 74.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003242/0.3367, allocations: 0.755 MB / 0.6101 GB, free: 73.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.282e-05/0.3368, allocations: 179 kB / 0.6103 GB, free: 73.82 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/0.337, allocations: 175.1 kB / 0.6105 GB, free: 73.79 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.695e-05/0.337, allocations: 0.5103 MB / 0.611 GB, free: 73.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.3372, allocations: 104.1 kB / 0.6111 GB, free: 73.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003671/0.3376, allocations: 0.8471 MB / 0.6119 GB, free: 72.38 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004918/0.3381, allocations: 0.6029 MB / 0.6125 GB, free: 71.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.3381, allocations: 2.719 kB / 0.6125 GB, free: 71.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008702/0.339, allocations: 0.6918 MB / 0.6132 GB, free: 71.83 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.339, allocations: 9.062 kB / 0.6132 GB, free: 71.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.339, allocations: 7.875 kB / 0.6132 GB, free: 71.83 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004919/0.3395, allocations: 186.2 kB / 0.6134 GB, free: 71.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003409/0.3398, allocations: 171.9 kB / 0.6135 GB, free: 71.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003597/0.3402, allocations: 0.875 MB / 0.6144 GB, free: 71.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005251/0.3407, allocations: 134.2 kB / 0.6145 GB, free: 71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.009e-05/0.3408, allocations: 40.77 kB / 0.6145 GB, free: 71 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (83): * Single equations (assignments): 82 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002239/0.341, allocations: 210.4 kB / 0.6147 GB, free: 70.84 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.3411, allocations: 144.6 kB / 0.6149 GB, free: 70.77 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009422/0.3421, allocations: 0.7581 MB / 0.6156 GB, free: 70.67 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.3421, allocations: 11.78 kB / 0.6156 GB, free: 70.67 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3421, allocations: 0 / 0.6156 GB, free: 70.67 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.026e-06/0.3421, allocations: 3.047 kB / 0.6156 GB, free: 70.67 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002087/0.3442, allocations: 1.719 MB / 0.6173 GB, free: 70.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.3442, allocations: 0 / 0.6173 GB, free: 70.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.3444, allocations: 79.27 kB / 0.6174 GB, free: 70.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003925/0.3448, allocations: 172.1 kB / 0.6176 GB, free: 70.25 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/0.3448, allocations: 20.69 kB / 0.6176 GB, free: 70.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004388/0.3452, allocations: 0.9017 MB / 0.6185 GB, free: 69.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3452, allocations: 0 / 0.6185 GB, free: 69.46 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.3464, allocations: 0.8357 MB / 0.6193 GB, free: 69.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000302/0.3467, allocations: 237.7 kB / 0.6195 GB, free: 69.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-05/0.3468, allocations: 15.45 kB / 0.6195 GB, free: 69.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003009/0.3471, allocations: 44.84 kB / 0.6196 GB, free: 69.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.676e-05/0.3472, allocations: 40.52 kB / 0.6196 GB, free: 69.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-05/0.3472, allocations: 29.31 kB / 0.6196 GB, free: 69.02 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006709/0.3479, allocations: 0.6397 MB / 0.6202 GB, free: 68.86 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.1e-08/0.3479, allocations: 0 / 0.6202 GB, free: 68.86 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000944/0.3488, allocations: 397.8 kB / 0.6206 GB, free: 68.83 MB / 0.5105 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003728/0.3492, allocations: 228.5 kB / 0.6208 GB, free: 68.74 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009633/0.3502, allocations: 434.6 kB / 0.6213 GB, free: 68.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.3502, allocations: 1.781 kB / 0.6213 GB, free: 68.71 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005274/0.3507, allocations: 248.7 kB / 0.6215 GB, free: 68.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/0.3522, allocations: 0.49 MB / 0.622 GB, free: 68.66 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00353/0.3557, allocations: 2.036 MB / 0.624 GB, free: 67.63 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.356, allocations: 240.4 kB / 0.6242 GB, free: 67.54 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007577/0.3567, allocations: 217.2 kB / 0.6244 GB, free: 67.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/0.3569, allocations: 96.06 kB / 0.6245 GB, free: 67.5 MB / 0.5105 GB Notification: Performance of SimCode: time 2.325e-06/0.3569, allocations: 0.5469 kB / 0.6245 GB, free: 67.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.03405/0.391, allocations: 23.63 MB / 0.6476 GB, free: 60.12 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.463495763018727]