Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001937/0.001937, allocations: 89.48 kB / 19.44 MB, free: 336 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.002177/0.002177, allocations: 169.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.56/1.56, allocations: 177.1 MB / 203.1 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.39/1.39, allocations: 154.8 MB / 414.4 MB, free: 464 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.5198 GB, free: 2.324 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.046e-05/3.191e-05, allocations: 8.703 kB / 0.5198 GB, free: 2.316 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.09704/0.09708, allocations: 73.34 MB / 0.5915 GB, free: 8.938 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0316/0.1287, allocations: 19.55 MB / 0.6106 GB, free: 5.348 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002373/0.131, allocations: 95.19 kB / 0.6106 GB, free: 5.254 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.002482/0.1335, allocations: 0.842 MB / 0.6115 GB, free: 4.406 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.009066/0.1426, allocations: 3.085 MB / 0.6145 GB, free: 1.305 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.004898/0.1475, allocations: 1.805 MB / 0.6162 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.006953/0.1544, allocations: 4.082 MB / 0.6202 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002417/0.1569, allocations: 1.196 MB / 0.6214 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006737/0.1636, allocations: 2.568 MB / 0.6239 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00253/0.1661, allocations: 1.028 MB / 0.6249 GB, free: 6.566 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0003959/0.1665, allocations: 176 kB / 0.6251 GB, free: 6.395 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002954/0.1695, allocations: 1.169 MB / 0.6262 GB, free: 5.223 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.000458/0.1699, allocations: 406.4 kB / 0.6266 GB, free: 4.824 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0009545/0.1709, allocations: 0.6079 MB / 0.6272 GB, free: 4.215 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.004849/0.1757, allocations: 3.155 MB / 0.6303 GB, free: 1.051 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1757, allocations: 0 / 0.6303 GB, free: 1.051 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1757, allocations: 0 / 0.6303 GB, free: 1.051 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.771e-05/0.1758, allocations: 0 / 0.6303 GB, free: 1.051 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.004384/0.1802, allocations: 2.307 MB / 0.6325 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.1802, allocations: 8.031 kB / 0.6325 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002091/0.1823, allocations: 479.5 kB / 0.633 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003051/0.1853, allocations: 1.612 MB / 0.6346 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.435e-05/0.1854, allocations: 82.03 kB / 0.6347 GB, free: 12.47 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/0.1856, allocations: 108 kB / 0.6348 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002926/0.1885, allocations: 1.506 MB / 0.6362 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.1886, allocations: 3.938 kB / 0.6362 GB, free: 10.69 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.1887, allocations: 47.98 kB / 0.6363 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.565e-05/0.1887, allocations: 28 kB / 0.6363 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002396/0.1911, allocations: 0.9719 MB / 0.6373 GB, free: 9.645 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.01106/0.2022, allocations: 7.972 MB / 0.645 GB, free: 1.426 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002742/0.2049, allocations: 0.6882 MB / 0.6457 GB, free: 0.7305 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005844/0.2055, allocations: 241 kB / 0.6459 GB, free: 0.4922 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006362/0.2061, allocations: 164.4 kB / 0.6461 GB, free: 336 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.46e-05/0.2062, allocations: 37.89 kB / 0.6461 GB, free: 288 kB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 3.126e-06/0.2062, allocations: 4 kB / 0.6461 GB, free: 284 kB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.004372/0.2106, allocations: 1.07 MB / 0.6472 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.2106, allocations: 59.91 kB / 0.6472 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002897/0.2135, allocations: 1.628 MB / 0.6488 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.456e-05/0.2136, allocations: 37.7 kB / 0.6489 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009568/0.2146, allocations: 0.8781 MB / 0.6497 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002265/0.2148, allocations: 186.5 kB / 0.6499 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004121/0.2152, allocations: 220.1 kB / 0.6501 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0003322/0.2155, allocations: 0.5316 MB / 0.6506 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008196/0.2164, allocations: 305.8 kB / 0.6509 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001526/0.2179, allocations: 1.077 MB / 0.652 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001811/0.2197, allocations: 0.9356 MB / 0.6529 GB, free: 8.902 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.2197, allocations: 4 kB / 0.6529 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002944/0.2226, allocations: 1.089 MB / 0.654 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.2227, allocations: 8 kB / 0.654 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.2227, allocations: 8.875 kB / 0.654 GB, free: 7.781 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009108/0.2236, allocations: 219.4 kB / 0.6542 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007665/0.2244, allocations: 171.7 kB / 0.6543 GB, free: 7.395 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/0.2255, allocations: 0.9835 MB / 0.6553 GB, free: 6.379 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.2269, allocations: 135.4 kB / 0.6554 GB, free: 6.246 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.227, allocations: 43.97 kB / 0.6555 GB, free: 6.203 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.0008756/0.2279, allocations: 396.2 kB / 0.6559 GB, free: 5.805 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002819/0.2281, allocations: 143.2 kB / 0.656 GB, free: 5.664 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002314/0.2305, allocations: 0.9999 MB / 0.657 GB, free: 4.672 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.211e-05/0.2305, allocations: 11.94 kB / 0.657 GB, free: 4.66 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.2305, allocations: 4.062 kB / 0.657 GB, free: 4.656 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.2305, allocations: 3.984 kB / 0.657 GB, free: 4.652 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005501/0.236, allocations: 2.431 MB / 0.6594 GB, free: 2.156 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.934e-06/0.236, allocations: 4 kB / 0.6594 GB, free: 2.152 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003587/0.2364, allocations: 84.02 kB / 0.6594 GB, free: 2.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007625/0.2371, allocations: 203.5 kB / 0.6596 GB, free: 1.867 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.446e-05/0.2372, allocations: 16 kB / 0.6597 GB, free: 1.852 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001348/0.2385, allocations: 1.011 MB / 0.6606 GB, free: 0.8086 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.2385, allocations: 3.938 kB / 0.6606 GB, free: 0.8047 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003076/0.2416, allocations: 1.086 MB / 0.6617 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006648/0.2423, allocations: 242.9 kB / 0.6619 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/0.2424, allocations: 12 kB / 0.6619 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006325/0.243, allocations: 51.89 kB / 0.662 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.2432, allocations: 44.36 kB / 0.662 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.085e-05/0.2432, allocations: 27.98 kB / 0.6621 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001892/0.2451, allocations: 0.9839 MB / 0.663 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.2451, allocations: 0 / 0.663 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001512/0.2466, allocations: 474.7 kB / 0.6635 GB, free: 13.85 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.0009186/0.2475, allocations: 474.8 kB / 0.6639 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002014/0.2496, allocations: 0.7688 MB / 0.6647 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2496, allocations: 0 / 0.6647 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.2506, allocations: 365.6 kB / 0.665 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002251/0.2529, allocations: 492.2 kB / 0.6655 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00464/0.2575, allocations: 2.241 MB / 0.6677 GB, free: 9.488 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006995/0.2582, allocations: 0.5863 MB / 0.6683 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008531/0.2591, allocations: 214.9 kB / 0.6685 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002595/0.2593, allocations: 96.47 kB / 0.6686 GB, free: 8.578 MB / 0.6355 GB Notification: Performance of SimCode: time 2.535e-06/0.2593, allocations: 0 / 0.6686 GB, free: 8.578 MB / 0.6355 GB Notification: Performance of Templates: time 0.2563/0.5156, allocations: 25.06 MB / 0.693 GB, free: 191.7 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.455113942036405]