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.001515/0.001515, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.001226/0.001226, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9209/0.9209, allocations: 177.1 MB / 204.5 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.001644/0.001644, allocations: 233.5 kB / 261.3 MB, free: 12.68 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.7261/0.7261, allocations: 138.4 MB / 456.3 MB, free: 1.398 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.172e-06/1.172e-06, allocations: 0 / 0.5564 GB, free: 272 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.5e-05/1.617e-05, allocations: 9.766 kB / 0.5564 GB, free: 264 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.01392/0.01394, allocations: 18.24 MB / 0.5742 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.008517/0.02245, allocations: 7.019 MB / 0.581 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000992/0.02345, allocations: 91.25 kB / 0.5811 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006704/0.02412, allocations: 440.5 kB / 0.5815 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.00229/0.02641, allocations: 1.752 MB / 0.5832 GB, free: 4.621 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001853/0.02826, allocations: 1.558 MB / 0.5848 GB, free: 3.062 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.003086/0.03134, allocations: 3.986 MB / 0.5887 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009832/0.03233, allocations: 1.189 MB / 0.5898 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001981/0.03431, allocations: 1.991 MB / 0.5918 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000879/0.03519, allocations: 1.005 MB / 0.5927 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001452/0.03533, allocations: 175.9 kB / 0.5929 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007254/0.03606, allocations: 0.6435 MB / 0.5935 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002162/0.03627, allocations: 402.3 kB / 0.5939 GB, free: 9.633 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004081/0.03668, allocations: 0.5923 MB / 0.5945 GB, free: 9.039 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.03801, allocations: 1.635 MB / 0.5961 GB, free: 7.398 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.03801, allocations: 0 / 0.5961 GB, free: 7.398 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.032e-06/0.03802, allocations: 4 kB / 0.5961 GB, free: 7.395 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.335e-05/0.03803, allocations: 0 / 0.5961 GB, free: 7.395 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.001875/0.0399, allocations: 2.034 MB / 0.5981 GB, free: 5.309 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.03994, allocations: 12.75 kB / 0.5981 GB, free: 5.297 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.04116, allocations: 467.5 kB / 0.5985 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.04253, allocations: 1.501 MB / 0.6 GB, free: 3.285 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.117e-05/0.04258, allocations: 82.03 kB / 0.6001 GB, free: 3.203 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.041e-05/0.04267, allocations: 104 kB / 0.6002 GB, free: 3.102 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.04372, allocations: 1.029 MB / 0.6012 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.04374, allocations: 7.938 kB / 0.6012 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.948e-05/0.0438, allocations: 43.98 kB / 0.6012 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.04381, allocations: 28 kB / 0.6013 GB, free: 1.832 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004754/0.04429, allocations: 385.4 kB / 0.6016 GB, free: 1.453 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.1868/0.2311, allocations: 6.062 MB / 0.6076 GB, free: 74.81 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008223/0.2319, allocations: 408.4 kB / 0.6079 GB, free: 74.77 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.232, allocations: 95.08 kB / 0.608 GB, free: 74.76 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001338/0.2321, allocations: 64.77 kB / 0.6081 GB, free: 74.76 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.2322, allocations: 44.31 kB / 0.6081 GB, free: 74.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 1.823e-06/0.2322, allocations: 2.812 kB / 0.6081 GB, free: 74.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48): time 0.001433/0.2336, allocations: 0.6753 MB / 0.6088 GB, free: 74.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.801e-05/0.2336, allocations: 60.91 kB / 0.6089 GB, free: 74.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007749/0.2344, allocations: 1.009 MB / 0.6098 GB, free: 74.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.115e-05/0.2344, allocations: 43.45 kB / 0.6099 GB, free: 74.37 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000304/0.2347, allocations: 0.7761 MB / 0.6106 GB, free: 74.09 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.13e-05/0.2348, allocations: 180.2 kB / 0.6108 GB, free: 74 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.235, allocations: 176.9 kB / 0.611 GB, free: 73.97 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.008e-05/0.235, allocations: 0.5086 MB / 0.6115 GB, free: 73.49 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.2352, allocations: 90.36 kB / 0.6116 GB, free: 73.48 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003172/0.2355, allocations: 0.8389 MB / 0.6124 GB, free: 72.56 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003781/0.2359, allocations: 0.5705 MB / 0.6129 GB, free: 72.13 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.2359, allocations: 2.875 kB / 0.613 GB, free: 72.13 MB / 0.5105 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0007471/0.2366, allocations: 0.638 MB / 0.6136 GB, free: 72.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.2367, allocations: 13.81 kB / 0.6136 GB, free: 72.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.2367, allocations: 8.625 kB / 0.6136 GB, free: 72.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004086/0.2371, allocations: 177.4 kB / 0.6138 GB, free: 72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003325/0.2374, allocations: 178.2 kB / 0.6139 GB, free: 72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002791/0.2377, allocations: 0.8681 MB / 0.6148 GB, free: 71.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005026/0.2382, allocations: 139.5 kB / 0.6149 GB, free: 71.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-05/0.2382, allocations: 35.33 kB / 0.6149 GB, free: 71.18 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.0001978/0.2384, allocations: 212.1 kB / 0.6152 GB, free: 71.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.2386, allocations: 136.2 kB / 0.6153 GB, free: 70.95 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007747/0.2393, allocations: 0.7186 MB / 0.616 GB, free: 70.86 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.2393, allocations: 9.922 kB / 0.616 GB, free: 70.86 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.2393, allocations: 0 / 0.616 GB, free: 70.86 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.2393, allocations: 7.266 kB / 0.616 GB, free: 70.85 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001638/0.241, allocations: 1.498 MB / 0.6175 GB, free: 70.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.241, allocations: 0 / 0.6175 GB, free: 70.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.2411, allocations: 76.86 kB / 0.6175 GB, free: 70.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003277/0.2415, allocations: 170.7 kB / 0.6177 GB, free: 70.46 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.2415, allocations: 16.48 kB / 0.6177 GB, free: 70.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003551/0.2418, allocations: 0.8987 MB / 0.6186 GB, free: 69.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2419, allocations: 3.094 kB / 0.6186 GB, free: 69.66 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008927/0.2427, allocations: 0.7928 MB / 0.6194 GB, free: 69.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002245/0.243, allocations: 237 kB / 0.6196 GB, free: 69.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.255e-05/0.2431, allocations: 17 kB / 0.6196 GB, free: 69.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000293/0.2433, allocations: 44.52 kB / 0.6197 GB, free: 69.22 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/0.2434, allocations: 45.42 kB / 0.6197 GB, free: 69.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.194e-05/0.2434, allocations: 24.25 kB / 0.6197 GB, free: 69.22 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004358/0.2439, allocations: 0.5861 MB / 0.6203 GB, free: 69.07 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.2439, allocations: 0 / 0.6203 GB, free: 69.07 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007545/0.2446, allocations: 394.5 kB / 0.6207 GB, free: 69.04 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.0002835/0.2449, allocations: 227.8 kB / 0.6209 GB, free: 68.95 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005627/0.2455, allocations: 392.5 kB / 0.6213 GB, free: 68.92 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2455, allocations: 1.25 kB / 0.6213 GB, free: 68.92 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003586/0.2458, allocations: 231.3 kB / 0.6215 GB, free: 68.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.2469, allocations: 481 kB / 0.6219 GB, free: 68.87 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002423/0.2494, allocations: 2.031 MB / 0.6239 GB, free: 67.83 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.2496, allocations: 239.5 kB / 0.6242 GB, free: 67.75 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005238/0.2501, allocations: 197.4 kB / 0.6243 GB, free: 67.71 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008128/0.2509, allocations: 486.9 kB / 0.6248 GB, free: 67.64 MB / 0.5105 GB Notification: Performance of SimCode: time 5.01e-07/0.2509, allocations: 0 / 0.6248 GB, free: 67.64 MB / 0.5105 GB Notification: Performance of Templates: time 0.02876/0.2797, allocations: 23.89 MB / 0.6481 GB, free: 60.54 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.40589000005275]