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.002261/0.002261, allocations: 85.48 kB / 19.44 MB, free: 344 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.002093/0.002093, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.554/1.554, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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-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 1.34/1.34, allocations: 154.6 MB / 414.1 MB, free: 0.6445 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 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.543e-06/1.543e-06, allocations: 0 / 0.5196 GB, free: 2.555 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.015e-05/3.169e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.551 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.0981/0.09813, allocations: 73.34 MB / 0.5912 GB, free: 9.168 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.03179/0.1299, allocations: 19.56 MB / 0.6103 GB, free: 5.566 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002448/0.1324, allocations: 95.19 kB / 0.6104 GB, free: 5.473 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.002707/0.1351, allocations: 0.8498 MB / 0.6113 GB, free: 4.617 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.009141/0.1442, allocations: 3.085 MB / 0.6143 GB, free: 1.516 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00514/0.1494, allocations: 1.808 MB / 0.616 GB, free: 15.71 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.007008/0.1564, allocations: 4.076 MB / 0.62 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002189/0.1586, allocations: 1.192 MB / 0.6212 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00598/0.1645, allocations: 2.574 MB / 0.6237 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002334/0.1669, allocations: 1.028 MB / 0.6247 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.000315/0.1672, allocations: 172 kB / 0.6249 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002947/0.1701, allocations: 1.169 MB / 0.626 GB, free: 5.449 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0004683/0.1706, allocations: 410.3 kB / 0.6264 GB, free: 5.047 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0009787/0.1716, allocations: 0.604 MB / 0.627 GB, free: 4.441 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.005306/0.1769, allocations: 3.155 MB / 0.6301 GB, free: 1.277 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1769, allocations: 0 / 0.6301 GB, free: 1.277 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1769, allocations: 0 / 0.6301 GB, free: 1.277 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.678e-05/0.1769, allocations: 4 kB / 0.6301 GB, free: 1.273 MB / 0.5886 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.004319/0.1812, allocations: 2.307 MB / 0.6323 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1813, allocations: 12.03 kB / 0.6323 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002204/0.1835, allocations: 475.5 kB / 0.6328 GB, free: 14.44 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00324/0.1867, allocations: 1.612 MB / 0.6344 GB, free: 12.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.729e-05/0.1868, allocations: 78.03 kB / 0.6344 GB, free: 12.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/0.187, allocations: 108 kB / 0.6345 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002932/0.1899, allocations: 1.506 MB / 0.636 GB, free: 10.92 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.179e-05/0.19, allocations: 7.922 kB / 0.636 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.1901, allocations: 44 kB / 0.6361 GB, free: 10.87 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.888e-05/0.1901, allocations: 28 kB / 0.6361 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002399/0.1925, allocations: 0.9797 MB / 0.637 GB, free: 9.867 MB / 0.6042 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.01086/0.2034, allocations: 7.97 MB / 0.6448 GB, free: 1.648 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002892/0.2063, allocations: 0.69 MB / 0.6455 GB, free: 0.9492 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005187/0.2068, allocations: 241 kB / 0.6457 GB, free: 0.7109 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005592/0.2073, allocations: 164.4 kB / 0.6459 GB, free: 0.5508 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.367e-05/0.2074, allocations: 45.89 kB / 0.6459 GB, free: 0.4922 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 2.475e-06/0.2074, allocations: 3.938 kB / 0.6459 GB, free: 500 kB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.004051/0.2114, allocations: 1.07 MB / 0.647 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.2115, allocations: 55.91 kB / 0.647 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002521/0.214, allocations: 1.624 MB / 0.6486 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.707e-05/0.2141, allocations: 37.7 kB / 0.6486 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008998/0.215, allocations: 0.8742 MB / 0.6495 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002111/0.2152, allocations: 190.5 kB / 0.6497 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003782/0.2156, allocations: 220.1 kB / 0.6499 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0003196/0.2159, allocations: 0.5356 MB / 0.6504 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008157/0.2167, allocations: 301.8 kB / 0.6507 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/0.2182, allocations: 1.077 MB / 0.6518 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002006/0.2202, allocations: 0.9356 MB / 0.6527 GB, free: 9.117 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.2202, allocations: 4 kB / 0.6527 GB, free: 9.113 MB / 0.6198 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002695/0.2229, allocations: 1.086 MB / 0.6537 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.2229, allocations: 10.03 kB / 0.6537 GB, free: 8.008 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.2229, allocations: 8 kB / 0.6538 GB, free: 8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008493/0.2238, allocations: 215.6 kB / 0.654 GB, free: 7.785 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007041/0.2245, allocations: 175.7 kB / 0.6541 GB, free: 7.613 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001042/0.2255, allocations: 0.9796 MB / 0.6551 GB, free: 6.602 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.2266, allocations: 139.3 kB / 0.6552 GB, free: 6.465 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.2267, allocations: 43.98 kB / 0.6553 GB, free: 6.422 MB / 0.6198 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.000747/0.2275, allocations: 396.2 kB / 0.6556 GB, free: 6.023 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002813/0.2277, allocations: 139.2 kB / 0.6558 GB, free: 5.887 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002236/0.23, allocations: 1.003 MB / 0.6567 GB, free: 4.895 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.071e-05/0.23, allocations: 11.94 kB / 0.6568 GB, free: 4.883 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.23, allocations: 7.984 kB / 0.6568 GB, free: 4.875 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.23, allocations: 0 / 0.6568 GB, free: 4.875 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005379/0.2354, allocations: 2.427 MB / 0.6591 GB, free: 2.379 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-06/0.2354, allocations: 0 / 0.6591 GB, free: 2.379 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006415/0.236, allocations: 83.83 kB / 0.6592 GB, free: 2.297 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007842/0.2368, allocations: 207.8 kB / 0.6594 GB, free: 2.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.055e-05/0.2369, allocations: 19.98 kB / 0.6594 GB, free: 2.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001306/0.2382, allocations: 1.011 MB / 0.6604 GB, free: 1.027 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.2382, allocations: 7.938 kB / 0.6604 GB, free: 1.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00291/0.2411, allocations: 1.082 MB / 0.6615 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000571/0.2417, allocations: 246.9 kB / 0.6617 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.2418, allocations: 8 kB / 0.6617 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006167/0.2424, allocations: 47.95 kB / 0.6618 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.2425, allocations: 44.36 kB / 0.6618 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.235e-05/0.2426, allocations: 23.98 kB / 0.6618 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001691/0.2443, allocations: 0.9839 MB / 0.6628 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1e-07/0.2443, allocations: 0 / 0.6628 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001603/0.2459, allocations: 478.7 kB / 0.6633 GB, free: 14.07 MB / 0.6355 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.0009149/0.2468, allocations: 476.8 kB / 0.6637 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002057/0.2489, allocations: 0.7688 MB / 0.6645 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2489, allocations: 0 / 0.6645 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.25, allocations: 369.5 kB / 0.6648 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/0.252, allocations: 490.9 kB / 0.6653 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004764/0.2568, allocations: 2.235 MB / 0.6675 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007043/0.2575, allocations: 0.5824 MB / 0.668 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008495/0.2583, allocations: 218.4 kB / 0.6682 GB, free: 8.895 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/0.2586, allocations: 100.5 kB / 0.6683 GB, free: 8.797 MB / 0.6355 GB Notification: Performance of SimCode: time 1.633e-06/0.2586, allocations: 0 / 0.6683 GB, free: 8.797 MB / 0.6355 GB Notification: Performance of Templates: time 0.2634/0.522, allocations: 25.06 MB / 0.6928 GB, free: 192 MB / 0.6355 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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.267030541901477]