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.0008829/0.0008829, allocations: 93.06 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.0009031/0.0009031, allocations: 169 kB / 23.02 MB, free: 1.543 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.9021/0.9021, allocations: 177.1 MB / 203.4 MB, free: 5.613 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.7456/0.7456, allocations: 154.6 MB / 414.5 MB, free: 0.6758 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.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.202e-06/1.202e-06, allocations: 0.9844 kB / 0.5203 GB, free: 1.094 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.255e-05/1.376e-05, allocations: 2.875 kB / 0.5203 GB, free: 1.09 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.01336/0.01337, allocations: 18.65 MB / 0.5385 GB, free: 14.4 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.009066/0.02244, allocations: 7.065 MB / 0.5454 GB, free: 7.379 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001108/0.02354, allocations: 95.19 kB / 0.5455 GB, free: 7.285 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007238/0.02427, allocations: 441.7 kB / 0.5459 GB, free: 6.852 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002434/0.0267, allocations: 1.735 MB / 0.5476 GB, free: 5.121 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002028/0.02873, allocations: 1.587 MB / 0.5492 GB, free: 3.539 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.002615/0.03134, allocations: 3.991 MB / 0.5531 GB, free: 15.54 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009334/0.03228, allocations: 1.192 MB / 0.5542 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001663/0.03394, allocations: 1.982 MB / 0.5562 GB, free: 12.33 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000941/0.03488, allocations: 0.9748 MB / 0.5571 GB, free: 11.35 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001411/0.03502, allocations: 168.5 kB / 0.5573 GB, free: 11.19 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007124/0.03574, allocations: 0.6561 MB / 0.5579 GB, free: 10.53 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002232/0.03596, allocations: 402.4 kB / 0.5583 GB, free: 10.14 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004061/0.03636, allocations: 0.5884 MB / 0.5589 GB, free: 9.547 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001406/0.03777, allocations: 1.653 MB / 0.5605 GB, free: 7.891 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.03777, allocations: 0 / 0.5605 GB, free: 7.891 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.03777, allocations: 0 / 0.5605 GB, free: 7.891 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.03779, allocations: 0 / 0.5605 GB, free: 7.891 MB / 490.7 MB 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.001802/0.03959, allocations: 2.013 MB / 0.5625 GB, free: 5.828 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.03962, allocations: 14.22 kB / 0.5625 GB, free: 5.816 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009324/0.04055, allocations: 473.5 kB / 0.5629 GB, free: 5.359 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.04185, allocations: 1.524 MB / 0.5644 GB, free: 3.797 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.626e-05/0.04189, allocations: 82.59 kB / 0.5645 GB, free: 3.715 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.093e-05/0.04199, allocations: 104 kB / 0.5646 GB, free: 3.613 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.04323, allocations: 1.097 MB / 0.5657 GB, free: 2.359 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.04325, allocations: 7.938 kB / 0.5657 GB, free: 2.352 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.296e-05/0.04331, allocations: 44 kB / 0.5657 GB, free: 2.309 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.04333, allocations: 25 kB / 0.5657 GB, free: 2.285 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007178/0.04404, allocations: 475.2 kB / 0.5662 GB, free: 1.824 MB / 490.7 MB 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.004319/0.04836, allocations: 6.251 MB / 0.5723 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009036/0.04927, allocations: 436.2 kB / 0.5727 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.04943, allocations: 119.7 kB / 0.5728 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001318/0.04956, allocations: 68.45 kB / 0.5729 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.04958, allocations: 41.89 kB / 0.5729 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 1.693e-06/0.04958, allocations: 1.406 kB / 0.5729 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.001501/0.05108, allocations: 0.726 MB / 0.5736 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.05112, allocations: 65.59 kB / 0.5737 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009371/0.05205, allocations: 1.043 MB / 0.5747 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.05209, allocations: 37.7 kB / 0.5748 GB, free: 8.848 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003862/0.05248, allocations: 0.7547 MB / 0.5755 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.523e-05/0.05257, allocations: 178.5 kB / 0.5757 GB, free: 7.91 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.05275, allocations: 180.2 kB / 0.5758 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.05286, allocations: 0.5004 MB / 0.5763 GB, free: 7.219 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.05306, allocations: 110.8 kB / 0.5764 GB, free: 7.113 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005183/0.05358, allocations: 0.8433 MB / 0.5773 GB, free: 6.016 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008349/0.05441, allocations: 0.5993 MB / 0.5778 GB, free: 5.273 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.05442, allocations: 3.438 kB / 0.5778 GB, free: 5.273 MB / 0.4948 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009338/0.05535, allocations: 0.6965 MB / 0.5785 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.05538, allocations: 8 kB / 0.5785 GB, free: 4.566 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.05539, allocations: 8 kB / 0.5785 GB, free: 4.559 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005166/0.0559, allocations: 182 kB / 0.5787 GB, free: 4.383 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003527/0.05626, allocations: 171.7 kB / 0.5789 GB, free: 4.215 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004731/0.05673, allocations: 0.878 MB / 0.5797 GB, free: 3.305 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004666/0.0572, allocations: 135.4 kB / 0.5799 GB, free: 3.172 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-05/0.05726, allocations: 43.98 kB / 0.5799 GB, free: 3.129 MB / 0.4948 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.0002361/0.0575, allocations: 208.3 kB / 0.5801 GB, free: 2.914 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.05764, allocations: 143.2 kB / 0.5802 GB, free: 2.773 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009923/0.05863, allocations: 0.7568 MB / 0.581 GB, free: 2.023 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.05864, allocations: 15.92 kB / 0.581 GB, free: 2.008 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.05865, allocations: 0 / 0.581 GB, free: 2.008 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.05866, allocations: 3.938 kB / 0.581 GB, free: 2.004 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001959/0.06061, allocations: 1.71 MB / 0.5827 GB, free: 232 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.06062, allocations: 4 kB / 0.5827 GB, free: 228 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.06078, allocations: 80.02 kB / 0.5828 GB, free: 148 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000352/0.06113, allocations: 179.4 kB / 0.5829 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.06116, allocations: 16 kB / 0.5829 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004931/0.06165, allocations: 0.9014 MB / 0.5838 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.06165, allocations: 0 / 0.5838 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.06284, allocations: 0.8397 MB / 0.5846 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002466/0.06309, allocations: 242.8 kB / 0.5849 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.147e-05/0.06317, allocations: 15.98 kB / 0.5849 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002801/0.06345, allocations: 39.97 kB / 0.5849 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.096e-05/0.06352, allocations: 52.3 kB / 0.585 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.381e-05/0.06355, allocations: 23.98 kB / 0.585 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005497/0.0641, allocations: 0.6441 MB / 0.5856 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.0641, allocations: 0 / 0.5856 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006166/0.06472, allocations: 387 kB / 0.586 GB, free: 12.74 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.0002986/0.06502, allocations: 226.9 kB / 0.5862 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006324/0.06565, allocations: 438.7 kB / 0.5866 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.06565, allocations: 0 / 0.5866 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003648/0.06602, allocations: 254.4 kB / 0.5869 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.06706, allocations: 491.9 kB / 0.5873 GB, free: 11.37 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002462/0.06952, allocations: 2.039 MB / 0.5893 GB, free: 9.258 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001579/0.06968, allocations: 241.3 kB / 0.5896 GB, free: 8.996 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004089/0.07009, allocations: 222 kB / 0.5898 GB, free: 8.785 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.07025, allocations: 96.47 kB / 0.5899 GB, free: 8.691 MB / 0.5105 GB Notification: Performance of SimCode: time 4.91e-07/0.07025, allocations: 4 kB / 0.5899 GB, free: 8.688 MB / 0.5105 GB Notification: Performance of Templates: time 0.02548/0.09573, allocations: 23.53 MB / 0.6128 GB, free: 1.699 MB / 0.5261 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.010954229161143]