Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.001089/0.001089, allocations: 92.22 kB / 19.65 MB, free: 276 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.0008824/0.0008824, allocations: 173 kB / 23.02 MB, free: 1.547 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.8952/0.8952, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.772/0.772, allocations: 154.6 MB / 414.5 MB, free: 0.6328 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.5203 GB, free: 2.184 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.841e-05/1.978e-05, allocations: 4.281 kB / 0.5203 GB, free: 2.18 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.02211/0.02213, allocations: 32.76 MB / 0.5523 GB, free: 1.332 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01511/0.03724, allocations: 9.664 MB / 0.5617 GB, free: 7.75 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00368/0.04092, allocations: 175.1 kB / 0.5619 GB, free: 7.578 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.002357/0.04328, allocations: 0.765 MB / 0.5627 GB, free: 6.809 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.006424/0.0497, allocations: 2.652 MB / 0.5653 GB, free: 4.164 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00478/0.05448, allocations: 2.256 MB / 0.5675 GB, free: 1.922 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.008064/0.06255, allocations: 6.511 MB / 0.5738 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003435/0.06598, allocations: 1.924 MB / 0.5757 GB, free: 9.406 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007364/0.07335, allocations: 3.325 MB / 0.5789 GB, free: 6.105 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002917/0.07626, allocations: 1.548 MB / 0.5805 GB, free: 4.555 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0007201/0.07698, allocations: 240 kB / 0.5807 GB, free: 4.32 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001995/0.07898, allocations: 0.7032 MB / 0.5814 GB, free: 3.617 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0006498/0.07963, allocations: 0.6301 MB / 0.582 GB, free: 2.984 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.001878/0.08151, allocations: 0.9508 MB / 0.5829 GB, free: 2.031 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.00403/0.08554, allocations: 2.369 MB / 0.5852 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.08554, allocations: 0 / 0.5852 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.804e-06/0.08555, allocations: 0 / 0.5852 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001014/0.08565, allocations: 0 / 0.5852 GB, free: 15.66 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.004186/0.08983, allocations: 3.139 MB / 0.5883 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.08988, allocations: 12.03 kB / 0.5883 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002034/0.09191, allocations: 0.843 MB / 0.5891 GB, free: 11.61 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002849/0.09476, allocations: 2.184 MB / 0.5913 GB, free: 9.352 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.4e-05/0.09486, allocations: 123 kB / 0.5914 GB, free: 9.23 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/0.09503, allocations: 168 kB / 0.5915 GB, free: 9.066 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002141/0.09717, allocations: 1.434 MB / 0.5929 GB, free: 7.531 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/0.0972, allocations: 3.938 kB / 0.5929 GB, free: 7.527 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.823e-05/0.0973, allocations: 60 kB / 0.593 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.493e-05/0.09732, allocations: 40 kB / 0.593 GB, free: 7.43 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.09857, allocations: 0.6946 MB / 0.5937 GB, free: 6.734 MB / 0.5573 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.007682/0.1062, allocations: 6.418 MB / 0.6 GB, free: 156 kB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/0.108, allocations: 0.6775 MB / 0.6006 GB, free: 15.45 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004264/0.1084, allocations: 199.8 kB / 0.6008 GB, free: 15.25 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001683/0.1086, allocations: 39.97 kB / 0.6009 GB, free: 15.21 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.811e-05/0.1087, allocations: 49.33 kB / 0.6009 GB, free: 15.15 MB / 0.573 GB Notification: Performance of pre-optimization done (n=76): time 4.809e-06/0.1087, allocations: 0 / 0.6009 GB, free: 15.15 MB / 0.573 GB Notification: Performance of matching and sorting (n=76): time 0.004442/0.1131, allocations: 1.332 MB / 0.6022 GB, free: 13.8 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.1132, allocations: 89.05 kB / 0.6023 GB, free: 13.7 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003008/0.1162, allocations: 1.693 MB / 0.604 GB, free: 11.96 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002703/0.1164, allocations: 45.7 kB / 0.604 GB, free: 11.91 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001037/0.1175, allocations: 1.146 MB / 0.6051 GB, free: 10.75 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000453/0.1179, allocations: 285.6 kB / 0.6054 GB, free: 10.47 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005457/0.1185, allocations: 256.4 kB / 0.6056 GB, free: 10.21 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001954/0.1187, allocations: 0.516 MB / 0.6061 GB, free: 9.691 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005603/0.1192, allocations: 162.5 kB / 0.6063 GB, free: 9.531 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/0.1204, allocations: 1.347 MB / 0.6076 GB, free: 7.809 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.1216, allocations: 0.756 MB / 0.6083 GB, free: 6.895 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/0.1216, allocations: 0 / 0.6083 GB, free: 6.895 MB / 0.573 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.004183/0.1258, allocations: 1.299 MB / 0.6096 GB, free: 5.578 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.16e-05/0.1258, allocations: 8 kB / 0.6096 GB, free: 5.57 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/0.1259, allocations: 8 kB / 0.6096 GB, free: 5.562 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/0.1272, allocations: 399.5 kB / 0.61 GB, free: 5.164 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008102/0.1281, allocations: 243.6 kB / 0.6102 GB, free: 4.926 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.1295, allocations: 1.83 MB / 0.612 GB, free: 3.031 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.1311, allocations: 211.3 kB / 0.6122 GB, free: 2.824 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002019/0.1314, allocations: 63.97 kB / 0.6123 GB, free: 2.762 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (105): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0006035/0.132, allocations: 224.3 kB / 0.6125 GB, free: 2.531 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005223/0.1325, allocations: 234.6 kB / 0.6127 GB, free: 2.301 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001953/0.1344, allocations: 0.9387 MB / 0.6136 GB, free: 1.359 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/0.1344, allocations: 12 kB / 0.6137 GB, free: 1.348 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.1345, allocations: 7.938 kB / 0.6137 GB, free: 1.34 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.1345, allocations: 3.984 kB / 0.6137 GB, free: 1.336 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00522/0.1397, allocations: 2.561 MB / 0.6162 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.1397, allocations: 4 kB / 0.6162 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003703/0.1401, allocations: 112.2 kB / 0.6163 GB, free: 14.55 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00112/0.1412, allocations: 406.7 kB / 0.6167 GB, free: 14.14 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.646e-05/0.1413, allocations: 27.98 kB / 0.6167 GB, free: 14.12 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001459/0.1427, allocations: 1.88 MB / 0.6185 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.1427, allocations: 3.938 kB / 0.6185 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003158/0.1459, allocations: 1.387 MB / 0.6199 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001181/0.1471, allocations: 376.1 kB / 0.6203 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003858/0.1475, allocations: 19.94 kB / 0.6203 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.1485, allocations: 75.94 kB / 0.6203 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.1486, allocations: 59.83 kB / 0.6204 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.602e-05/0.1487, allocations: 43.97 kB / 0.6204 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001809/0.1505, allocations: 1.017 MB / 0.6214 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1505, allocations: 0 / 0.6214 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002132/0.1526, allocations: 0.5923 MB / 0.622 GB, free: 8.512 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005688/0.1532, allocations: 214.7 kB / 0.6222 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002045/0.1552, allocations: 0.6608 MB / 0.6229 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.1552, allocations: 0 / 0.6229 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.1563, allocations: 411.7 kB / 0.6233 GB, free: 7.234 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004435/0.1608, allocations: 0.905 MB / 0.6241 GB, free: 6.371 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00668/0.1674, allocations: 3.231 MB / 0.6273 GB, free: 3.027 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004265/0.1679, allocations: 358.2 kB / 0.6276 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001706/0.1696, allocations: 357.5 kB / 0.628 GB, free: 2.305 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005252/0.1701, allocations: 140.5 kB / 0.6281 GB, free: 2.168 MB / 0.5886 GB Notification: Performance of SimCode: time 2.515e-06/0.1701, allocations: 0 / 0.6281 GB, free: 2.168 MB / 0.5886 GB Notification: Performance of Templates: time 0.04469/0.2148, allocations: 37.9 MB / 0.6651 GB, free: 13.12 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.779787193983793]