Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.002048/0.002048, allocations: 78.48 kB / 19.18 MB, free: 2.531 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.002302/0.002302, allocations: 169.1 kB / 22.46 MB, free: 5.355 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.455/1.455, allocations: 177.1 MB / 202.8 MB, free: 9.188 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.165/1.165, allocations: 154.6 MB / 413.8 MB, free: 5.234 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.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.6186 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.447e-05, allocations: 9.453 kB / 0.6186 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07363/0.07366, allocations: 64.59 MB / 0.6817 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03128/0.1049, allocations: 17.54 MB / 0.6988 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003045/0.108, allocations: 103.1 kB / 0.6989 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003563/0.1116, allocations: 0.8265 MB / 0.6997 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.3489/0.4604, allocations: 3.082 MB / 0.7027 GB, free: 26.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00419/0.4646, allocations: 1.812 MB / 0.7045 GB, free: 26.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005359/0.47, allocations: 4.074 MB / 0.7084 GB, free: 25.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001766/0.4717, allocations: 1.151 MB / 0.7096 GB, free: 25.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005394/0.4771, allocations: 2.561 MB / 0.7121 GB, free: 25.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001897/0.479, allocations: 0.9987 MB / 0.713 GB, free: 25.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002329/0.4793, allocations: 178.7 kB / 0.7132 GB, free: 25.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00266/0.4819, allocations: 1.166 MB / 0.7144 GB, free: 25.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000346/0.4823, allocations: 410.8 kB / 0.7147 GB, free: 25.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007806/0.483, allocations: 0.6019 MB / 0.7153 GB, free: 24.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004673/0.4877, allocations: 3.148 MB / 0.7184 GB, free: 24.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4877, allocations: 4.359 kB / 0.7184 GB, free: 24.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4877, allocations: 0 / 0.7184 GB, free: 24.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.75e-05/0.4878, allocations: 0 / 0.7184 GB, free: 24.73 MB / 0.6075 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.003739/0.4915, allocations: 1.995 MB / 0.7204 GB, free: 23.74 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.4915, allocations: 9.891 kB / 0.7204 GB, free: 23.74 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00246/0.494, allocations: 460.2 kB / 0.7208 GB, free: 23.63 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003054/0.497, allocations: 1.518 MB / 0.7223 GB, free: 23.26 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.4971, allocations: 80 kB / 0.7224 GB, free: 23.25 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002209/0.4974, allocations: 109.1 kB / 0.7225 GB, free: 23.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002614/0.5, allocations: 1.418 MB / 0.7239 GB, free: 22.84 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.847e-05/0.5, allocations: 1.828 kB / 0.7239 GB, free: 22.84 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.5001, allocations: 43.84 kB / 0.7239 GB, free: 22.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.697e-05/0.5002, allocations: 30.41 kB / 0.7239 GB, free: 22.83 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00274/0.5029, allocations: 1.104 MB / 0.725 GB, free: 22.82 MB / 0.6075 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.007209/0.5101, allocations: 5.382 MB / 0.7303 GB, free: 20.3 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00324/0.5133, allocations: 0.7788 MB / 0.731 GB, free: 20.26 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006018/0.5139, allocations: 266.1 kB / 0.7313 GB, free: 20.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005343/0.5145, allocations: 159.3 kB / 0.7314 GB, free: 20.25 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.5145, allocations: 43.22 kB / 0.7315 GB, free: 20.21 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 2.484e-06/0.5145, allocations: 1.281 kB / 0.7315 GB, free: 20.21 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.005058/0.5196, allocations: 1.23 MB / 0.7327 GB, free: 20.07 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/0.5196, allocations: 61.44 kB / 0.7327 GB, free: 20 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002059/0.5217, allocations: 1.23 MB / 0.7339 GB, free: 19.79 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.311e-05/0.5217, allocations: 38.92 kB / 0.734 GB, free: 19.75 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003993/0.5221, allocations: 0.7046 MB / 0.7347 GB, free: 19.2 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.5223, allocations: 181.3 kB / 0.7348 GB, free: 19.05 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002767/0.5226, allocations: 173.7 kB / 0.735 GB, free: 18.97 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 5.514e-05/0.5226, allocations: 332.9 kB / 0.7353 GB, free: 18.65 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009631/0.5236, allocations: 360 kB / 0.7357 GB, free: 18.54 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001285/0.5249, allocations: 1.003 MB / 0.7366 GB, free: 17.65 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001828/0.5267, allocations: 0.8837 MB / 0.7375 GB, free: 17.11 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/0.5267, allocations: 2.438 kB / 0.7375 GB, free: 17.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003241/0.5299, allocations: 1.169 MB / 0.7386 GB, free: 16.69 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.53, allocations: 8.938 kB / 0.7387 GB, free: 16.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.53, allocations: 7.156 kB / 0.7387 GB, free: 16.69 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000922/0.5309, allocations: 227.8 kB / 0.7389 GB, free: 16.64 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007759/0.5317, allocations: 194.8 kB / 0.7391 GB, free: 16.63 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007374/0.5324, allocations: 0.717 MB / 0.7398 GB, free: 16.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/0.5339, allocations: 176 kB / 0.7399 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.534, allocations: 39.08 kB / 0.74 GB, free: 15.98 MB / 0.6075 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.0006694/0.5347, allocations: 364.1 kB / 0.7403 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002375/0.5349, allocations: 124.4 kB / 0.7404 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00247/0.5374, allocations: 1.125 MB / 0.7415 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-05/0.5374, allocations: 13.97 kB / 0.7415 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.5375, allocations: 5.375 kB / 0.7416 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.5375, allocations: 3 kB / 0.7416 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005181/0.5426, allocations: 2.189 MB / 0.7437 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.5426, allocations: 4.719 kB / 0.7437 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003779/0.543, allocations: 82.16 kB / 0.7438 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000779/0.5438, allocations: 215 kB / 0.744 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.054e-05/0.5438, allocations: 20.64 kB / 0.744 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00121/0.5451, allocations: 0.7684 MB / 0.7447 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.5451, allocations: 4.844 kB / 0.7448 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003408/0.5485, allocations: 1.189 MB / 0.7459 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004684/0.5489, allocations: 242.1 kB / 0.7461 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/0.5491, allocations: 14.84 kB / 0.7462 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007953/0.5499, allocations: 63.86 kB / 0.7462 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.73e-05/0.55, allocations: 48.72 kB / 0.7463 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.253e-05/0.55, allocations: 31.41 kB / 0.7463 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001285/0.5513, allocations: 0.8558 MB / 0.7471 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5513, allocations: 0 / 0.7471 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001597/0.5529, allocations: 483.3 kB / 0.7476 GB, free: 12.41 MB / 0.6075 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.0007608/0.5537, allocations: 474.5 kB / 0.748 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002079/0.5558, allocations: 0.8223 MB / 0.7489 GB, free: 12 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.5558, allocations: 3.094 kB / 0.7489 GB, free: 12 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001256/0.557, allocations: 430.2 kB / 0.7493 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/0.5589, allocations: 478.2 kB / 0.7497 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003274/0.5622, allocations: 2.233 MB / 0.7519 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004568/0.5626, allocations: 0.5857 MB / 0.7525 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006633/0.5633, allocations: 226.2 kB / 0.7527 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/0.5635, allocations: 95.19 kB / 0.7528 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.5635, allocations: 0 / 0.7528 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of Templates: time 0.0373/0.6008, allocations: 24.96 MB / 0.7772 GB, free: 10.19 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.11908769980073] Failed to read output from testmodel.py, exit status != 0: 0.6108891554176807 0.6251927580000001 0.13416097800000001 Calling exit ...