Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001872/0.001872, allocations: 84.73 kB / 19.44 MB, free: 360 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.002213/0.002213, allocations: 157.7 kB / 22.76 MB, free: 1.684 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 1.61/1.61, allocations: 177.2 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.218/1.218, allocations: 154.8 MB / 414.4 MB, free: 472 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.5198 GB, free: 2.309 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.645e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.305 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08217/0.0822, allocations: 64.58 MB / 0.5829 GB, free: 1.711 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0291/0.1113, allocations: 17.55 MB / 0.6 GB, free: 132 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002552/0.1139, allocations: 95.19 kB / 0.6001 GB, free: 36 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002858/0.1167, allocations: 0.8343 MB / 0.601 GB, free: 15.2 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.008886/0.1256, allocations: 3.093 MB / 0.604 GB, free: 12.09 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.004999/0.1306, allocations: 1.804 MB / 0.6057 GB, free: 10.28 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.007104/0.1377, allocations: 4.084 MB / 0.6097 GB, free: 6.184 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002436/0.1401, allocations: 1.181 MB / 0.6109 GB, free: 4.961 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006351/0.1465, allocations: 2.564 MB / 0.6134 GB, free: 2.395 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002273/0.1488, allocations: 1.005 MB / 0.6144 GB, free: 1.387 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0003094/0.1491, allocations: 180 kB / 0.6145 GB, free: 1.211 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003365/0.1524, allocations: 1.165 MB / 0.6157 GB, free: 44 kB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0004698/0.1529, allocations: 410.4 kB / 0.6161 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0009576/0.1539, allocations: 0.604 MB / 0.6167 GB, free: 15.03 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.005296/0.1592, allocations: 3.151 MB / 0.6197 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1592, allocations: 0 / 0.6197 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1592, allocations: 0 / 0.6197 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.741e-05/0.1592, allocations: 0 / 0.6197 GB, free: 11.87 MB / 0.5886 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.004232/0.1634, allocations: 1.992 MB / 0.6217 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.1635, allocations: 8.031 kB / 0.6217 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002535/0.166, allocations: 0.5345 MB / 0.6222 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003264/0.1693, allocations: 1.647 MB / 0.6238 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.1694, allocations: 85.97 kB / 0.6239 GB, free: 7.508 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.1696, allocations: 104 kB / 0.624 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002916/0.1725, allocations: 1.414 MB / 0.6254 GB, free: 5.859 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.1725, allocations: 3.938 kB / 0.6254 GB, free: 5.855 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.1726, allocations: 47.98 kB / 0.6254 GB, free: 5.809 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.034e-05/0.1727, allocations: 28 kB / 0.6255 GB, free: 5.781 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002935/0.1756, allocations: 1.097 MB / 0.6265 GB, free: 4.684 MB / 0.5886 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.009654/0.1853, allocations: 5.463 MB / 0.6319 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003368/0.1886, allocations: 0.7794 MB / 0.6326 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006878/0.1893, allocations: 258.2 kB / 0.6329 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006182/0.1899, allocations: 160.4 kB / 0.633 GB, free: 13.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.716e-05/0.19, allocations: 46.98 kB / 0.6331 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 2.665e-06/0.19, allocations: 0 / 0.6331 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.005085/0.1951, allocations: 1.258 MB / 0.6343 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.1952, allocations: 59.89 kB / 0.6343 GB, free: 12.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002342/0.1975, allocations: 1.224 MB / 0.6355 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.1976, allocations: 37.7 kB / 0.6356 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008428/0.1984, allocations: 0.7032 MB / 0.6363 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002235/0.1987, allocations: 178.5 kB / 0.6364 GB, free: 10.33 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003332/0.199, allocations: 170.5 kB / 0.6366 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.1992, allocations: 333.9 kB / 0.6369 GB, free: 9.828 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.2002, allocations: 369.8 kB / 0.6373 GB, free: 9.465 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001602/0.2018, allocations: 0.9886 MB / 0.6382 GB, free: 8.273 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002003/0.2038, allocations: 0.8821 MB / 0.6391 GB, free: 7.285 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/0.2039, allocations: 4 kB / 0.6391 GB, free: 7.281 MB / 0.6042 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003454/0.2073, allocations: 1.201 MB / 0.6403 GB, free: 6.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.2073, allocations: 16.03 kB / 0.6403 GB, free: 6.055 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.2073, allocations: 8 kB / 0.6403 GB, free: 6.047 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009669/0.2083, allocations: 224.5 kB / 0.6405 GB, free: 5.824 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008228/0.2091, allocations: 195.7 kB / 0.6407 GB, free: 5.633 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001012/0.2102, allocations: 0.7162 MB / 0.6414 GB, free: 4.891 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/0.2117, allocations: 171.4 kB / 0.6416 GB, free: 4.723 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/0.2118, allocations: 43.92 kB / 0.6416 GB, free: 4.68 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (84): * Single equations (assignments): 83 * 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.0006878/0.2125, allocations: 357.6 kB / 0.6419 GB, free: 4.316 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00036/0.2129, allocations: 143.2 kB / 0.6421 GB, free: 4.176 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002845/0.2157, allocations: 1.139 MB / 0.6432 GB, free: 3.051 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.306e-05/0.2157, allocations: 8 kB / 0.6432 GB, free: 3.043 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.2157, allocations: 3.938 kB / 0.6432 GB, free: 3.039 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.2158, allocations: 3.984 kB / 0.6432 GB, free: 3.035 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005792/0.2215, allocations: 2.177 MB / 0.6453 GB, free: 0.8008 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.2216, allocations: 0 / 0.6453 GB, free: 0.8008 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004118/0.222, allocations: 92.06 kB / 0.6454 GB, free: 0.7109 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008921/0.2229, allocations: 208.6 kB / 0.6456 GB, free: 0.5039 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.954e-05/0.2229, allocations: 15.98 kB / 0.6456 GB, free: 500 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00151/0.2244, allocations: 0.771 MB / 0.6464 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.237e-06/0.2244, allocations: 7.969 kB / 0.6464 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003897/0.2283, allocations: 1.209 MB / 0.6476 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006515/0.229, allocations: 246.8 kB / 0.6478 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001519/0.2291, allocations: 16 kB / 0.6478 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008083/0.2299, allocations: 63.92 kB / 0.6479 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.2301, allocations: 44.36 kB / 0.6479 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.47e-05/0.2301, allocations: 31.98 kB / 0.648 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001662/0.2318, allocations: 0.855 MB / 0.6488 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2318, allocations: 0 / 0.6488 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001576/0.2334, allocations: 478.7 kB / 0.6493 GB, free: 12.71 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 () * 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.0009346/0.2343, allocations: 479.1 kB / 0.6497 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002552/0.2369, allocations: 0.8297 MB / 0.6505 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.2369, allocations: 0 / 0.6505 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001378/0.2382, allocations: 428.4 kB / 0.6509 GB, free: 11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002301/0.2405, allocations: 487.2 kB / 0.6514 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00469/0.2452, allocations: 2.274 MB / 0.6536 GB, free: 8.215 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007254/0.246, allocations: 0.5825 MB / 0.6542 GB, free: 7.598 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0009887/0.2469, allocations: 224.9 kB / 0.6544 GB, free: 7.391 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/0.2472, allocations: 104.5 kB / 0.6545 GB, free: 7.289 MB / 0.6198 GB Notification: Performance of SimCode: time 2.264e-06/0.2472, allocations: 0 / 0.6545 GB, free: 7.289 MB / 0.6198 GB Notification: Performance of Templates: time 0.2808/0.5281, allocations: 25.08 MB / 0.679 GB, free: 194.9 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.319652852951549]