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.000894/0.000894, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001005/0.001005, allocations: 169 kB / 23.27 MB, free: 1.223 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.9566/0.9566, allocations: 177.2 MB / 203.7 MB, free: 5.516 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.002319/0.002319, allocations: 249.7 kB / 260.5 MB, free: 12.67 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.6799/0.6799, allocations: 138.4 MB / 455.5 MB, free: 1.402 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.542e-06/1.542e-06, allocations: 3.938 kB / 0.5556 GB, free: 264 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.111e-05, allocations: 6.312 kB / 0.5556 GB, free: 256 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.01313/0.01315, allocations: 18.23 MB / 0.5734 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.009082/0.02223, allocations: 7.016 MB / 0.5803 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.02352, allocations: 95.19 kB / 0.5804 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008217/0.02434, allocations: 440.5 kB / 0.5808 GB, free: 6.379 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.00285/0.02719, allocations: 1.76 MB / 0.5825 GB, free: 4.609 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002424/0.02961, allocations: 1.544 MB / 0.584 GB, free: 3.062 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.003412/0.03303, allocations: 4.005 MB / 0.5879 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/0.03434, allocations: 1.181 MB / 0.5891 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002244/0.03659, allocations: 1.988 MB / 0.591 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.03764, allocations: 1.009 MB / 0.592 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001823/0.03782, allocations: 168 kB / 0.5921 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000906/0.03873, allocations: 0.6512 MB / 0.5928 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002309/0.03896, allocations: 394.4 kB / 0.5932 GB, free: 9.629 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0005175/0.03948, allocations: 0.5923 MB / 0.5937 GB, free: 9.035 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001711/0.04119, allocations: 1.639 MB / 0.5953 GB, free: 7.391 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.04119, allocations: 0 / 0.5953 GB, free: 7.391 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.423e-06/0.04119, allocations: 0 / 0.5953 GB, free: 7.391 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.316e-05/0.0412, allocations: 0 / 0.5953 GB, free: 7.391 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.002084/0.04329, allocations: 2.034 MB / 0.5973 GB, free: 5.305 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.638e-05/0.04335, allocations: 12.75 kB / 0.5973 GB, free: 5.293 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009385/0.04428, allocations: 463.5 kB / 0.5978 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.04555, allocations: 1.513 MB / 0.5993 GB, free: 3.273 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.593e-05/0.04561, allocations: 78.03 kB / 0.5993 GB, free: 3.195 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-05/0.04571, allocations: 107.9 kB / 0.5994 GB, free: 3.09 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.04671, allocations: 1.029 MB / 0.6004 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.04673, allocations: 3.938 kB / 0.6004 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.853e-05/0.04678, allocations: 44 kB / 0.6005 GB, free: 1.852 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.0468, allocations: 32 kB / 0.6005 GB, free: 1.82 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004631/0.04726, allocations: 381.4 kB / 0.6009 GB, free: 1.445 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.1916/0.2388, allocations: 6.066 MB / 0.6068 GB, free: 74.95 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007784/0.2396, allocations: 401.1 kB / 0.6072 GB, free: 74.91 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.2397, allocations: 100.5 kB / 0.6073 GB, free: 74.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001361/0.2399, allocations: 69.56 kB / 0.6073 GB, free: 74.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/0.2399, allocations: 40.23 kB / 0.6074 GB, free: 74.85 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 2.304e-06/0.2399, allocations: 5.625 kB / 0.6074 GB, free: 74.85 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48): time 0.001297/0.2412, allocations: 0.6793 MB / 0.6081 GB, free: 74.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.685e-05/0.2412, allocations: 57.34 kB / 0.6081 GB, free: 74.73 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007049/0.2419, allocations: 1.014 MB / 0.6091 GB, free: 74.54 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.2419, allocations: 38.89 kB / 0.6091 GB, free: 74.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002885/0.2422, allocations: 0.7752 MB / 0.6099 GB, free: 74.23 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.727e-05/0.2423, allocations: 179.5 kB / 0.6101 GB, free: 74.14 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/0.2424, allocations: 184.3 kB / 0.6102 GB, free: 74.11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.299e-05/0.2425, allocations: 0.5063 MB / 0.6107 GB, free: 73.62 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.2426, allocations: 91.25 kB / 0.6108 GB, free: 73.62 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002951/0.2429, allocations: 0.8394 MB / 0.6116 GB, free: 72.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003465/0.2433, allocations: 0.5693 MB / 0.6122 GB, free: 72.27 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.2433, allocations: 5.938 kB / 0.6122 GB, free: 72.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006726/0.244, allocations: 0.6438 MB / 0.6128 GB, free: 72.15 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.244, allocations: 8.5 kB / 0.6128 GB, free: 72.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.244, allocations: 8.25 kB / 0.6128 GB, free: 72.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003843/0.2444, allocations: 179.3 kB / 0.613 GB, free: 72.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003076/0.2447, allocations: 174.6 kB / 0.6132 GB, free: 72.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002511/0.2449, allocations: 0.8672 MB / 0.614 GB, free: 71.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000471/0.2454, allocations: 132.3 kB / 0.6142 GB, free: 71.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.002e-05/0.2455, allocations: 40.36 kB / 0.6142 GB, free: 71.32 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.0001846/0.2456, allocations: 212.8 kB / 0.6144 GB, free: 71.16 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.2457, allocations: 137 kB / 0.6145 GB, free: 71.09 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007224/0.2465, allocations: 0.7187 MB / 0.6152 GB, free: 70.99 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.2465, allocations: 6.812 kB / 0.6152 GB, free: 70.99 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.2465, allocations: 4.438 kB / 0.6152 GB, free: 70.99 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.2465, allocations: 3.234 kB / 0.6152 GB, free: 70.99 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.248, allocations: 1.502 MB / 0.6167 GB, free: 70.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.248, allocations: 3.5 kB / 0.6167 GB, free: 70.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.2482, allocations: 72.39 kB / 0.6168 GB, free: 70.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003239/0.2485, allocations: 179.1 kB / 0.617 GB, free: 70.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.2485, allocations: 16.66 kB / 0.617 GB, free: 70.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000317/0.2488, allocations: 0.8998 MB / 0.6179 GB, free: 69.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2488, allocations: 0 / 0.6179 GB, free: 69.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008221/0.2497, allocations: 0.787 MB / 0.6186 GB, free: 69.44 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002142/0.2499, allocations: 241.9 kB / 0.6189 GB, free: 69.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.998e-05/0.2499, allocations: 14.45 kB / 0.6189 GB, free: 69.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/0.2502, allocations: 38.94 kB / 0.6189 GB, free: 69.36 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.2503, allocations: 49.84 kB / 0.619 GB, free: 69.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-05/0.2503, allocations: 23.55 kB / 0.619 GB, free: 69.36 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004129/0.2507, allocations: 0.5849 MB / 0.6195 GB, free: 69.21 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.2507, allocations: 0 / 0.6195 GB, free: 69.21 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007234/0.2514, allocations: 398.2 kB / 0.6199 GB, free: 69.17 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.0002583/0.2517, allocations: 232.2 kB / 0.6201 GB, free: 69.08 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005125/0.2522, allocations: 392.3 kB / 0.6205 GB, free: 69.05 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2522, allocations: 0 / 0.6205 GB, free: 69.05 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003367/0.2525, allocations: 225.7 kB / 0.6207 GB, free: 69.04 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.2536, allocations: 493.4 kB / 0.6212 GB, free: 69.01 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/0.2558, allocations: 2.03 MB / 0.6232 GB, free: 67.97 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.256, allocations: 240.7 kB / 0.6234 GB, free: 67.88 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004707/0.2564, allocations: 201.3 kB / 0.6236 GB, free: 67.84 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007172/0.2572, allocations: 482.5 kB / 0.6241 GB, free: 67.78 MB / 0.5105 GB Notification: Performance of SimCode: time 7.51e-07/0.2572, allocations: 0 / 0.6241 GB, free: 67.78 MB / 0.5105 GB Notification: Performance of Templates: time 0.02615/0.2833, allocations: 23.55 MB / 0.6471 GB, free: 60.95 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.106545343995094]