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.0008891/0.0008891, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.0009807/0.0009807, allocations: 170 kB / 23.27 MB, free: 1.223 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.9478/0.9478, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.7876/0.7876, allocations: 154.9 MB / 415.1 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.754e-06/1.754e-06, allocations: 0 / 0.5211 GB, free: 1.523 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.621e-05/1.796e-05, allocations: 7.297 kB / 0.5211 GB, free: 1.52 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.0173/0.01732, allocations: 18.32 MB / 0.539 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01175/0.02907, allocations: 7.025 MB / 0.5459 GB, free: 8.164 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00244/0.03151, allocations: 95.19 kB / 0.546 GB, free: 8.07 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.03259, allocations: 446 kB / 0.5464 GB, free: 7.633 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003657/0.03625, allocations: 1.727 MB / 0.5481 GB, free: 5.91 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002721/0.03897, allocations: 1.585 MB / 0.5496 GB, free: 4.332 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00393/0.0429, allocations: 3.991 MB / 0.5535 GB, free: 332 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001354/0.04425, allocations: 1.187 MB / 0.5547 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002661/0.04691, allocations: 1.983 MB / 0.5566 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.04803, allocations: 0.9775 MB / 0.5576 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001978/0.04822, allocations: 168 kB / 0.5577 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.04926, allocations: 0.6596 MB / 0.5584 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002617/0.04952, allocations: 395.3 kB / 0.5588 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0006753/0.0502, allocations: 0.5923 MB / 0.5593 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001851/0.05205, allocations: 1.643 MB / 0.5609 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.05205, allocations: 4.922 kB / 0.5609 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.71e-07/0.05205, allocations: 0 / 0.5609 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.05207, allocations: 0 / 0.5609 GB, free: 8.695 MB / 0.5261 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.002258/0.05432, allocations: 2.039 MB / 0.5629 GB, free: 6.609 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.05436, allocations: 12.03 kB / 0.5629 GB, free: 6.598 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.05551, allocations: 475 kB / 0.5634 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001608/0.05712, allocations: 1.517 MB / 0.5649 GB, free: 4.582 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.127e-05/0.05718, allocations: 82.03 kB / 0.565 GB, free: 4.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.0573, allocations: 104 kB / 0.5651 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.05854, allocations: 1.033 MB / 0.5661 GB, free: 3.207 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.05856, allocations: 4.812 kB / 0.5661 GB, free: 3.203 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.556e-05/0.05863, allocations: 44 kB / 0.5661 GB, free: 3.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.34e-05/0.05866, allocations: 30.41 kB / 0.5661 GB, free: 3.133 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006279/0.05929, allocations: 391.7 kB / 0.5665 GB, free: 2.754 MB / 0.5261 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.004874/0.06416, allocations: 6.074 MB / 0.5724 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009337/0.06509, allocations: 405.2 kB / 0.5728 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.0652, allocations: 105.1 kB / 0.5729 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.06532, allocations: 74.25 kB / 0.573 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.06534, allocations: 41.89 kB / 0.573 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=48): time 1.262e-06/0.06534, allocations: 0.625 kB / 0.573 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=48): time 0.001244/0.06659, allocations: 0.6842 MB / 0.5737 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.06661, allocations: 57 kB / 0.5738 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000768/0.06738, allocations: 1.016 MB / 0.5748 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.06741, allocations: 41.7 kB / 0.5748 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003975/0.06781, allocations: 0.7763 MB / 0.5756 GB, free: 9.297 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.084e-05/0.0679, allocations: 178.5 kB / 0.5757 GB, free: 9.121 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/0.06807, allocations: 180.9 kB / 0.5759 GB, free: 8.938 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.06819, allocations: 0.5004 MB / 0.5764 GB, free: 8.43 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.06835, allocations: 98.89 kB / 0.5765 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004497/0.0688, allocations: 0.8476 MB / 0.5773 GB, free: 7.234 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004556/0.06926, allocations: 0.5686 MB / 0.5779 GB, free: 6.527 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.06926, allocations: 0 / 0.5779 GB, free: 6.527 MB / 0.5417 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.000715/0.06998, allocations: 0.6589 MB / 0.5785 GB, free: 5.867 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.06999, allocations: 10.03 kB / 0.5785 GB, free: 5.859 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.07, allocations: 8 kB / 0.5785 GB, free: 5.852 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003631/0.07036, allocations: 176.9 kB / 0.5787 GB, free: 5.684 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003167/0.07068, allocations: 171.7 kB / 0.5789 GB, free: 5.516 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005241/0.0712, allocations: 0.8701 MB / 0.5797 GB, free: 4.613 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004177/0.07162, allocations: 123.5 kB / 0.5798 GB, free: 4.492 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.854e-05/0.07167, allocations: 43.95 kB / 0.5799 GB, free: 4.449 MB / 0.5417 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.0001983/0.07187, allocations: 208.3 kB / 0.5801 GB, free: 4.234 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.07199, allocations: 139.2 kB / 0.5802 GB, free: 4.098 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007612/0.07275, allocations: 0.7205 MB / 0.5809 GB, free: 3.379 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.956e-06/0.07276, allocations: 11.98 kB / 0.5809 GB, free: 3.367 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-06/0.07277, allocations: 7.938 kB / 0.5809 GB, free: 3.359 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.07277, allocations: 0 / 0.5809 GB, free: 3.359 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/0.07445, allocations: 1.508 MB / 0.5824 GB, free: 1.789 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.07445, allocations: 4 kB / 0.5824 GB, free: 1.785 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.0746, allocations: 75.89 kB / 0.5825 GB, free: 1.711 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003156/0.07492, allocations: 167.5 kB / 0.5826 GB, free: 1.543 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.07494, allocations: 19.92 kB / 0.5826 GB, free: 1.523 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004367/0.07538, allocations: 0.897 MB / 0.5835 GB, free: 0.5977 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.07538, allocations: 0 / 0.5835 GB, free: 0.5977 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009086/0.07629, allocations: 0.7928 MB / 0.5843 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002386/0.07652, allocations: 238.8 kB / 0.5845 GB, free: 15.53 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.567e-05/0.07659, allocations: 12 kB / 0.5845 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/0.07686, allocations: 43.97 kB / 0.5846 GB, free: 15.47 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.07691, allocations: 48.36 kB / 0.5846 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.07694, allocations: 23.98 kB / 0.5846 GB, free: 15.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004036/0.07734, allocations: 0.593 MB / 0.5852 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.1e-08/0.07734, allocations: 3.938 kB / 0.5852 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006201/0.07796, allocations: 395 kB / 0.5856 GB, free: 14.41 MB / 0.5573 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.0002595/0.07822, allocations: 222.8 kB / 0.5858 GB, free: 14.19 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004735/0.0787, allocations: 395.2 kB / 0.5862 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.0787, allocations: 0.625 kB / 0.5862 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003082/0.07901, allocations: 225 kB / 0.5864 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.08012, allocations: 479.6 kB / 0.5869 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.0823, allocations: 2.02 MB / 0.5888 GB, free: 11.03 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/0.08244, allocations: 241.3 kB / 0.5891 GB, free: 10.77 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000401/0.08284, allocations: 204.5 kB / 0.5893 GB, free: 10.57 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006303/0.08347, allocations: 489.8 kB / 0.5897 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of SimCode: time 4.31e-07/0.08348, allocations: 0 / 0.5897 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of Templates: time 0.0247/0.1082, allocations: 23.54 MB / 0.6127 GB, free: 3.117 MB / 0.573 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: 3.949347812216729]