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.001137/0.001137, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001949/0.003086, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001179/0.001179, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001649/0.002829, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9762/0.9762, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07595/1.052, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.7334/0.7334, allocations: 154.6 MB / 398.8 MB, free: 396 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2617/0.9951, allocations: 49.05 MB / 447.8 MB, free: 6.582 MB / 426.7 MB " [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.152e-06/1.152e-06, allocations: 0 / 449.1 MB, free: 5.281 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.277e-06/1.043e-05, allocations: 5.031 kB / 449.2 MB, free: 5.277 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.0152/0.01521, allocations: 18.51 MB / 467.7 MB, free: 2.77 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.02019/0.0354, allocations: 7.225 MB / 474.9 MB, free: 11.59 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004742/0.04014, allocations: 95.19 kB / 475 MB, free: 11.5 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009392/0.04108, allocations: 452.4 kB / 475.4 MB, free: 11.05 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009287/0.05037, allocations: 1.718 MB / 477.1 MB, free: 9.344 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006918/0.05729, allocations: 1.565 MB / 478.7 MB, free: 7.793 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.004963/0.06225, allocations: 3.968 MB / 482.7 MB, free: 3.816 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005162/0.06741, allocations: 1.199 MB / 483.9 MB, free: 2.582 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002005/0.06942, allocations: 2.081 MB / 486 MB, free: 496 kB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.0706, allocations: 0.9376 MB / 486.9 MB, free: 15.54 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002579/0.07085, allocations: 168 kB / 487.1 MB, free: 15.38 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.07212, allocations: 0.6636 MB / 487.7 MB, free: 14.71 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002362/0.07235, allocations: 331.4 kB / 488 MB, free: 14.39 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004868/0.07284, allocations: 0.5069 MB / 488.5 MB, free: 13.88 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001778/0.07462, allocations: 1.52 MB / 490.1 MB, free: 12.36 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.74e-05/0.07463, allocations: 3.984 kB / 490.1 MB, free: 12.36 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.07464, allocations: 0 / 490.1 MB, free: 12.36 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.011e-05/0.0747, allocations: 0 / 490.1 MB, free: 12.36 MB / 474.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.002684/0.07738, allocations: 2.321 MB / 492.4 MB, free: 9.98 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.07742, allocations: 8.031 kB / 492.4 MB, free: 9.973 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008845/0.0783, allocations: 406.7 kB / 492.8 MB, free: 9.582 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.07949, allocations: 0.9738 MB / 493.8 MB, free: 8.566 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.873e-05/0.07953, allocations: 78.03 kB / 493.8 MB, free: 8.488 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.053e-05/0.07962, allocations: 108.8 kB / 494 MB, free: 8.383 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.08069, allocations: 0.9822 MB / 494.9 MB, free: 7.27 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.08071, allocations: 7.938 kB / 494.9 MB, free: 7.262 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.349e-05/0.08076, allocations: 40.88 kB / 495 MB, free: 7.223 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.08078, allocations: 28 kB / 495 MB, free: 7.195 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004552/0.08124, allocations: 361.3 kB / 495.4 MB, free: 6.848 MB / 474.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.003747/0.08498, allocations: 4.261 MB / 499.6 MB, free: 2.469 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007523/0.08574, allocations: 419 kB / 0.4883 GB, free: 2.059 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.08584, allocations: 85.84 kB / 0.4884 GB, free: 1.973 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001271/0.08596, allocations: 61.67 kB / 0.4885 GB, free: 1.91 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.08599, allocations: 39.06 kB / 0.4885 GB, free: 1.863 MB / 474.7 MB Notification: Performance of pre-optimization done (n=48): time 1.272e-06/0.08599, allocations: 0 / 0.4885 GB, free: 1.863 MB / 474.7 MB Notification: Performance of matching and sorting (n=48): time 0.001146/0.08714, allocations: 0.5752 MB / 0.4891 GB, free: 1.297 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.08716, allocations: 55.91 kB / 0.4891 GB, free: 1.23 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007301/0.08789, allocations: 0.9537 MB / 0.49 GB, free: 276 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.08793, allocations: 39.39 kB / 0.4901 GB, free: 232 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002619/0.08819, allocations: 0.5569 MB / 0.4906 GB, free: 15.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.594e-05/0.08827, allocations: 178.5 kB / 0.4908 GB, free: 15.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/0.08846, allocations: 162.5 kB / 0.4909 GB, free: 15.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.08857, allocations: 333.9 kB / 0.4913 GB, free: 14.98 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.08875, allocations: 94.09 kB / 0.4914 GB, free: 14.89 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004423/0.0892, allocations: 0.7278 MB / 0.4921 GB, free: 13.96 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004741/0.08967, allocations: 0.5145 MB / 0.4926 GB, free: 13.35 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.08967, allocations: 0 / 0.4926 GB, free: 13.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009933/0.09067, allocations: 0.5061 MB / 0.4931 GB, free: 12.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.09069, allocations: 8 kB / 0.4931 GB, free: 12.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.0907, allocations: 8 kB / 0.4931 GB, free: 12.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004429/0.09115, allocations: 170.3 kB / 0.4932 GB, free: 12.67 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/0.09154, allocations: 201.9 kB / 0.4934 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003334/0.09187, allocations: 0.5835 MB / 0.494 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004226/0.09229, allocations: 139.1 kB / 0.4941 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.614e-05/0.09235, allocations: 37.77 kB / 0.4942 GB, free: 11.7 MB / 490.7 MB 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.0001857/0.09253, allocations: 160.4 kB / 0.4943 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.496e-05/0.09263, allocations: 87.91 kB / 0.4944 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007388/0.09337, allocations: 0.6442 MB / 0.495 GB, free: 10.81 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.09338, allocations: 4 kB / 0.495 GB, free: 10.81 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.09338, allocations: 4.875 kB / 0.495 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.09339, allocations: 7.984 kB / 0.4951 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.09487, allocations: 1.291 MB / 0.4963 GB, free: 9.469 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/0.09488, allocations: 5.953 kB / 0.4963 GB, free: 9.465 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.09504, allocations: 80.58 kB / 0.4964 GB, free: 9.387 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002169/0.09526, allocations: 178.9 kB / 0.4966 GB, free: 9.211 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003206/0.09558, allocations: 173.5 kB / 0.4967 GB, free: 9.055 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.0956, allocations: 12 kB / 0.4967 GB, free: 9.043 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003598/0.09596, allocations: 0.6061 MB / 0.4973 GB, free: 8.414 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.09597, allocations: 4 kB / 0.4973 GB, free: 8.41 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007621/0.09673, allocations: 0.6522 MB / 0.498 GB, free: 7.723 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.271e-05/0.0968, allocations: 12 kB / 0.498 GB, free: 7.711 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.09706, allocations: 45.98 kB / 0.498 GB, free: 7.668 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.643e-05/0.09712, allocations: 48.36 kB / 0.4981 GB, free: 7.621 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/0.09715, allocations: 29.08 kB / 0.4981 GB, free: 7.594 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003786/0.09752, allocations: 474.7 kB / 0.4986 GB, free: 7.125 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09752, allocations: 1.375 kB / 0.4986 GB, free: 7.125 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006273/0.09815, allocations: 395 kB / 0.4989 GB, free: 6.738 MB / 490.7 MB 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.0003278/0.09848, allocations: 203.9 kB / 0.4991 GB, free: 6.535 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004839/0.09896, allocations: 385.4 kB / 0.4995 GB, free: 6.16 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.452e-05/0.09899, allocations: 20.5 kB / 0.4995 GB, free: 6.141 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004124/0.0994, allocations: 266.8 kB / 0.4998 GB, free: 5.879 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002376/0.1018, allocations: 3.568 MB / 0.5033 GB, free: 1.723 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005911/0.1077, allocations: 2.073 MB / 0.5053 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001542/0.1078, allocations: 232.5 kB / 0.5055 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004303/0.1083, allocations: 204.9 kB / 0.5057 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005933/0.1089, allocations: 400.2 kB / 0.5061 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of SimCode: time 8.22e-07/0.1089, allocations: 0 / 0.5061 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of Templates: time 0.02642/0.1353, allocations: 24.42 MB / 0.5299 GB, free: 6.973 MB / 0.5105 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.122240134514868]