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.0009657/0.0009657, allocations: 73.09 kB / 20.65 MB, free: 3.844 MB / 18.57 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.0009833/0.0009833, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9942/0.9942, allocations: 177.1 MB / 204.5 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7659/0.7659, allocations: 154.9 MB / 415.9 MB, free: 272 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 179] 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.5219 GB, free: 464 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.706e-05, allocations: 5.953 kB / 0.5219 GB, free: 460 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.01391/0.01394, allocations: 18.34 MB / 0.5398 GB, free: 14.07 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.009807/0.02374, allocations: 7.017 MB / 0.5466 GB, free: 7.094 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001884/0.02563, allocations: 95.19 kB / 0.5467 GB, free: 7 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.0269, allocations: 448.4 kB / 0.5472 GB, free: 6.559 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004014/0.03091, allocations: 1.729 MB / 0.5488 GB, free: 4.836 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002904/0.03381, allocations: 1.592 MB / 0.5504 GB, free: 3.254 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.005104/0.03892, allocations: 3.988 MB / 0.5543 GB, free: 15.25 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002043/0.04096, allocations: 1.184 MB / 0.5554 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003458/0.04442, allocations: 1.995 MB / 0.5574 GB, free: 12.05 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001486/0.04591, allocations: 0.9814 MB / 0.5584 GB, free: 11.07 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002573/0.04616, allocations: 168 kB / 0.5585 GB, free: 10.9 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000985/0.04715, allocations: 0.6512 MB / 0.5591 GB, free: 10.25 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000247/0.04739, allocations: 398.9 kB / 0.5595 GB, free: 9.859 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006253/0.04802, allocations: 0.5937 MB / 0.5601 GB, free: 9.266 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001951/0.04997, allocations: 1.639 MB / 0.5617 GB, free: 7.621 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.04998, allocations: 4 kB / 0.5617 GB, free: 7.617 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.04998, allocations: 0 / 0.5617 GB, free: 7.617 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.509e-05/0.05001, allocations: 0.875 kB / 0.5617 GB, free: 7.617 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.002261/0.05227, allocations: 2.039 MB / 0.5637 GB, free: 5.531 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.0523, allocations: 12.03 kB / 0.5637 GB, free: 5.52 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.05338, allocations: 470.5 kB / 0.5642 GB, free: 5.066 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.05481, allocations: 1.516 MB / 0.5656 GB, free: 3.512 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.258e-05/0.05486, allocations: 82.53 kB / 0.5657 GB, free: 3.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.463e-05/0.05495, allocations: 104 kB / 0.5658 GB, free: 3.328 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.056, allocations: 1.038 MB / 0.5668 GB, free: 2.133 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.05602, allocations: 3.938 kB / 0.5668 GB, free: 2.129 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.297e-05/0.05608, allocations: 44 kB / 0.5669 GB, free: 2.086 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.0561, allocations: 24 kB / 0.5669 GB, free: 2.062 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004935/0.05659, allocations: 394.1 kB / 0.5673 GB, free: 1.68 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.00434/0.06093, allocations: 6.058 MB / 0.5732 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008233/0.06176, allocations: 408.8 kB / 0.5736 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.06188, allocations: 101.1 kB / 0.5737 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/0.06202, allocations: 65.7 kB / 0.5737 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.06205, allocations: 45.83 kB / 0.5738 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 1.864e-06/0.06206, allocations: 0 / 0.5738 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.001492/0.06355, allocations: 0.6802 MB / 0.5745 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.06358, allocations: 59.84 kB / 0.5745 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008595/0.06444, allocations: 1.02 MB / 0.5755 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.83e-05/0.06448, allocations: 39.52 kB / 0.5755 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003973/0.06487, allocations: 0.7764 MB / 0.5763 GB, free: 8.23 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.693e-05/0.06497, allocations: 178.5 kB / 0.5765 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/0.06515, allocations: 180.1 kB / 0.5766 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.06528, allocations: 0.5042 MB / 0.5771 GB, free: 7.359 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.06545, allocations: 91.11 kB / 0.5772 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004654/0.06592, allocations: 0.8442 MB / 0.5781 GB, free: 6.168 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004647/0.06638, allocations: 0.5717 MB / 0.5786 GB, free: 5.457 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.06639, allocations: 4 kB / 0.5786 GB, free: 5.453 MB / 0.4948 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008021/0.06719, allocations: 0.645 MB / 0.5792 GB, free: 4.809 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.06721, allocations: 12 kB / 0.5793 GB, free: 4.797 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.06722, allocations: 8 kB / 0.5793 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004329/0.06766, allocations: 178.4 kB / 0.5794 GB, free: 4.613 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003422/0.068, allocations: 171.8 kB / 0.5796 GB, free: 4.445 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004092/0.06841, allocations: 0.8585 MB / 0.5804 GB, free: 3.555 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005839/0.06899, allocations: 143.4 kB / 0.5806 GB, free: 3.414 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.445e-05/0.06906, allocations: 39.92 kB / 0.5806 GB, free: 3.375 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.0002994/0.06936, allocations: 208.3 kB / 0.5808 GB, free: 3.16 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.06952, allocations: 139.2 kB / 0.5809 GB, free: 3.023 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009024/0.07042, allocations: 0.7149 MB / 0.5816 GB, free: 2.316 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/0.07044, allocations: 8 kB / 0.5816 GB, free: 2.309 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.07044, allocations: 3.938 kB / 0.5816 GB, free: 2.305 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.07045, allocations: 3.984 kB / 0.5817 GB, free: 2.301 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/0.07235, allocations: 1.5 MB / 0.5831 GB, free: 0.7422 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.07236, allocations: 4 kB / 0.5831 GB, free: 0.7383 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.07252, allocations: 79.83 kB / 0.5832 GB, free: 0.6602 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003771/0.0729, allocations: 167.7 kB / 0.5834 GB, free: 0.4922 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.07292, allocations: 23.92 kB / 0.5834 GB, free: 480 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004949/0.07342, allocations: 0.8897 MB / 0.5843 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.07342, allocations: 4 kB / 0.5843 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009921/0.07441, allocations: 0.7966 MB / 0.585 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002798/0.07469, allocations: 238.8 kB / 0.5853 GB, free: 14.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.315e-05/0.07478, allocations: 15.98 kB / 0.5853 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002937/0.07507, allocations: 35.97 kB / 0.5853 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.707e-05/0.07513, allocations: 48.36 kB / 0.5854 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.39e-05/0.07516, allocations: 23.98 kB / 0.5854 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004518/0.07561, allocations: 0.5931 MB / 0.586 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/0.07561, allocations: 0 / 0.586 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007947/0.07641, allocations: 391 kB / 0.5863 GB, free: 13.37 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.0003198/0.07673, allocations: 230.8 kB / 0.5866 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005794/0.07731, allocations: 394.8 kB / 0.5869 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.07731, allocations: 0 / 0.5869 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003471/0.07766, allocations: 226.3 kB / 0.5871 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.07878, allocations: 487.2 kB / 0.5876 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002727/0.08151, allocations: 2.028 MB / 0.5896 GB, free: 9.965 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001644/0.08167, allocations: 237.3 kB / 0.5898 GB, free: 9.707 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005295/0.0822, allocations: 205.8 kB / 0.59 GB, free: 9.512 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007103/0.08291, allocations: 489.8 kB / 0.5905 GB, free: 9.031 MB / 0.5105 GB Notification: Performance of SimCode: time 1.593e-06/0.08291, allocations: 4 kB / 0.5905 GB, free: 9.027 MB / 0.5105 GB Notification: Performance of Templates: time 0.0293/0.1122, allocations: 23.86 MB / 0.6138 GB, free: 1.699 MB / 0.5261 GB " [Timeout remaining time 660] 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: 4.272769454866648]