Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.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.001367/0.001367, allocations: 80.53 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001719/0.001719, allocations: 162.4 kB / 22.45 MB, free: 5.375 MB / 14.72 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.51/1.51, allocations: 177.2 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] 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-531:686: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-531:694: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 1.194/1.194, allocations: 154.6 MB / 413.8 MB, free: 5.203 MB / 382.1 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 178] 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.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.6186 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.05e-05/3.242e-05, allocations: 5.391 kB / 0.6186 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.4549/0.4549, allocations: 120.8 MB / 0.7365 GB, free: 32.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02789/0.4828, allocations: 21.65 MB / 0.7576 GB, free: 19.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0063/0.4891, allocations: 172.8 kB / 0.7578 GB, free: 19.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.005451/0.4946, allocations: 1.503 MB / 0.7593 GB, free: 18.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01173/0.5063, allocations: 4.457 MB / 0.7636 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00547/0.5118, allocations: 2.378 MB / 0.7659 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007852/0.5196, allocations: 6.671 MB / 0.7725 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003351/0.523, allocations: 1.831 MB / 0.7742 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01024/0.5332, allocations: 4.072 MB / 0.7782 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004471/0.5377, allocations: 1.596 MB / 0.7798 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0008113/0.5385, allocations: 244.4 kB / 0.78 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005654/0.5441, allocations: 1.605 MB / 0.7816 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008526/0.545, allocations: 0.6252 MB / 0.7822 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002732/0.5477, allocations: 0.9747 MB / 0.7831 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006488/0.5542, allocations: 4.397 MB / 0.7874 GB, free: 264 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.5542, allocations: 4 kB / 0.7874 GB, free: 260 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5542, allocations: 0 / 0.7874 GB, free: 260 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.123e-05/0.5543, allocations: 3.984 kB / 0.7874 GB, free: 256 kB / 0.6075 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.005612/0.5599, allocations: 3.156 MB / 0.7905 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.5599, allocations: 8.312 kB / 0.7905 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004553/0.5645, allocations: 0.8687 MB / 0.7914 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004752/0.5692, allocations: 2.286 MB / 0.7936 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.5693, allocations: 124.2 kB / 0.7937 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002293/0.5695, allocations: 165 kB / 0.7939 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004467/0.574, allocations: 1.997 MB / 0.7958 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/0.574, allocations: 0 / 0.7958 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001755/0.5742, allocations: 71.92 kB / 0.7959 GB, free: 9.527 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.733e-05/0.5743, allocations: 40 kB / 0.7959 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005061/0.5793, allocations: 1.78 MB / 0.7977 GB, free: 7.707 MB / 0.6231 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.0125/0.5918, allocations: 6.142 MB / 0.8037 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004683/0.5965, allocations: 1.142 MB / 0.8048 GB, free: 288 kB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/0.5977, allocations: 438.1 kB / 0.8052 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004944/0.5982, allocations: 151.9 kB / 0.8054 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/0.5983, allocations: 50.5 kB / 0.8054 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.554e-06/0.5983, allocations: 0 / 0.8054 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.009682/0.608, allocations: 2.132 MB / 0.8075 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/0.608, allocations: 85.11 kB / 0.8076 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00379/0.6118, allocations: 1.98 MB / 0.8095 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002102/0.612, allocations: 45.7 kB / 0.8095 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001267/0.6133, allocations: 1.082 MB / 0.8106 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004279/0.6137, allocations: 285.6 kB / 0.8109 GB, free: 9.945 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005456/0.6143, allocations: 246.8 kB / 0.8111 GB, free: 9.695 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.6144, allocations: 345.9 kB / 0.8114 GB, free: 9.352 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001912/0.6164, allocations: 0.5764 MB / 0.812 GB, free: 8.777 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003041/0.6194, allocations: 1.607 MB / 0.8136 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003556/0.623, allocations: 1.245 MB / 0.8148 GB, free: 5.512 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.303e-06/0.623, allocations: 4 kB / 0.8148 GB, free: 5.508 MB / 0.6387 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007369/0.6303, allocations: 1.976 MB / 0.8167 GB, free: 3.512 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.6304, allocations: 12.62 kB / 0.8167 GB, free: 3.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.6304, allocations: 8 kB / 0.8167 GB, free: 3.492 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00176/0.6321, allocations: 425.2 kB / 0.8171 GB, free: 3.07 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/0.6334, allocations: 283.5 kB / 0.8174 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00248/0.6359, allocations: 1.495 MB / 0.8189 GB, free: 1.246 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002565/0.6385, allocations: 299 kB / 0.8192 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/0.6387, allocations: 67.95 kB / 0.8192 GB, free: 0.8867 MB / 0.6387 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 (112): * Single equations (assignments): 110 * 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,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.00095/0.6396, allocations: 457.1 kB / 0.8197 GB, free: 444 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004302/0.64, allocations: 206.8 kB / 0.8199 GB, free: 236 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004097/0.6441, allocations: 1.465 MB / 0.8213 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.56e-05/0.6442, allocations: 19.98 kB / 0.8213 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.6442, allocations: 0 / 0.8213 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.6442, allocations: 3.984 kB / 0.8213 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008218/0.6524, allocations: 3.156 MB / 0.8244 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/0.6524, allocations: 3.938 kB / 0.8244 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006846/0.6531, allocations: 140.1 kB / 0.8245 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001733/0.6548, allocations: 409.2 kB / 0.8249 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.841e-05/0.6549, allocations: 31.91 kB / 0.825 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003043/0.6579, allocations: 1.57 MB / 0.8265 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/0.658, allocations: 7.938 kB / 0.8265 GB, free: 9.281 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006723/0.6647, allocations: 1.891 MB / 0.8283 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009307/0.6656, allocations: 364.2 kB / 0.8287 GB, free: 6.977 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002481/0.6659, allocations: 20 kB / 0.8287 GB, free: 6.957 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001485/0.6673, allocations: 123.9 kB / 0.8288 GB, free: 6.836 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.6675, allocations: 59.78 kB / 0.8289 GB, free: 6.777 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.856e-05/0.6676, allocations: 43.95 kB / 0.8289 GB, free: 6.734 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002614/0.6702, allocations: 1.368 MB / 0.8303 GB, free: 5.348 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6702, allocations: 4 kB / 0.8303 GB, free: 5.344 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002118/0.6723, allocations: 0.7442 MB / 0.831 GB, free: 4.598 MB / 0.6544 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 (63): * Single equations (assignments): 53 * 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,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001132/0.6734, allocations: 0.6059 MB / 0.8316 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004385/0.6778, allocations: 1.308 MB / 0.8329 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.6778, allocations: 0 / 0.8329 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002548/0.6804, allocations: 0.6328 MB / 0.8335 GB, free: 2.051 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004269/0.6846, allocations: 0.8713 MB / 0.8343 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007141/0.6918, allocations: 3.534 MB / 0.8378 GB, free: 13.61 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/0.6928, allocations: 0.9233 MB / 0.8387 GB, free: 12.65 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001491/0.6943, allocations: 357 kB / 0.839 GB, free: 12.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003944/0.6947, allocations: 144.4 kB / 0.8392 GB, free: 12.16 MB / 0.67 GB Notification: Performance of SimCode: time 1.293e-06/0.6947, allocations: 0 / 0.8392 GB, free: 12.16 MB / 0.67 GB Notification: Performance of Templates: time 0.07012/0.7648, allocations: 40.56 MB / 0.8788 GB, free: 4.43 MB / 0.7012 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.819546386599541] Failed to read output from testmodel.py, exit status != 0: 0.774497490376234 0.788361144 0.23090786000000002 Calling exit ...