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.001521/0.001521, allocations: 77.7 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001828/0.001828, allocations: 157.9 kB / 23.01 MB, free: 4.945 MB / 14.72 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.681/1.681, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8408/0.8408, allocations: 101.3 MB / 361.1 MB, free: 9.543 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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 3.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 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 62.53 kB / 0.5356 GB, free: 5.227 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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 3.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 FrontEnd - Absyn->SCode: time 0.1863/0.1884, allocations: 85.88 MB / 0.6195 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07926/0.2676, allocations: 65.03 MB / 0.683 GB, free: 356 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4496/0.7173, allocations: 17.54 MB / 0.7001 GB, free: 17.18 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002763/0.72, allocations: 91.81 kB / 0.7002 GB, free: 17.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002433/0.7224, allocations: 0.8226 MB / 0.701 GB, free: 17.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01057/0.733, allocations: 3.038 MB / 0.704 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004633/0.7376, allocations: 1.688 MB / 0.7056 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006717/0.7444, allocations: 4.067 MB / 0.7096 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002263/0.7466, allocations: 1.137 MB / 0.7107 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005792/0.7524, allocations: 1.875 MB / 0.7125 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003102/0.7555, allocations: 1.169 MB / 0.7137 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003766/0.7559, allocations: 173.3 kB / 0.7138 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003178/0.7591, allocations: 1.154 MB / 0.715 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003833/0.7595, allocations: 395.9 kB / 0.7153 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001218/0.7607, allocations: 0.7203 MB / 0.7161 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005983/0.7667, allocations: 3.115 MB / 0.7191 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.7667, allocations: 0 / 0.7191 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.924e-06/0.7667, allocations: 0 / 0.7191 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.991e-05/0.7667, allocations: 0 / 0.7191 GB, free: 16.15 MB / 0.5919 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.004122/0.7708, allocations: 2.01 MB / 0.7211 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.7709, allocations: 13.38 kB / 0.7211 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002318/0.7732, allocations: 448 kB / 0.7215 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002698/0.7759, allocations: 1.518 MB / 0.723 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.059e-05/0.776, allocations: 77.28 kB / 0.7231 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/0.7761, allocations: 104.1 kB / 0.7232 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002639/0.7788, allocations: 1.414 MB / 0.7245 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.717e-05/0.7788, allocations: 3.969 kB / 0.7245 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/0.7789, allocations: 43.97 kB / 0.7246 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.437e-05/0.779, allocations: 29.56 kB / 0.7246 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003134/0.7821, allocations: 1.096 MB / 0.7257 GB, free: 14.25 MB / 0.5919 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.008141/0.7902, allocations: 5.402 MB / 0.731 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003199/0.7934, allocations: 0.7749 MB / 0.7317 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000579/0.794, allocations: 264.3 kB / 0.732 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005268/0.7945, allocations: 166.2 kB / 0.7321 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.7946, allocations: 41.78 kB / 0.7322 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=48): time 2.685e-06/0.7946, allocations: 0 / 0.7322 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48): time 0.004787/0.7994, allocations: 1.238 MB / 0.7334 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.7994, allocations: 58.66 kB / 0.7334 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/0.8012, allocations: 1.221 MB / 0.7346 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.901e-05/0.8013, allocations: 33.89 kB / 0.7346 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004966/0.8018, allocations: 0.7117 MB / 0.7353 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.802, allocations: 184.3 kB / 0.7355 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002901/0.8023, allocations: 173.8 kB / 0.7357 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 6.119e-05/0.8023, allocations: 334.5 kB / 0.736 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009518/0.8033, allocations: 368.9 kB / 0.7364 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/0.8045, allocations: 0.9887 MB / 0.7373 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/0.8061, allocations: 0.8848 MB / 0.7382 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/0.8061, allocations: 1.938 kB / 0.7382 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002898/0.809, allocations: 1.165 MB / 0.7393 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.8091, allocations: 13.66 kB / 0.7393 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.8091, allocations: 6.875 kB / 0.7393 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008737/0.81, allocations: 219.9 kB / 0.7396 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007737/0.8107, allocations: 196.4 kB / 0.7397 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007612/0.8115, allocations: 0.7169 MB / 0.7404 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.8129, allocations: 175 kB / 0.7406 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.813, allocations: 46.38 kB / 0.7407 GB, free: 7.043 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (84): * Single equations (assignments): 83 * 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.0006171/0.8137, allocations: 357.5 kB / 0.741 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000219/0.8139, allocations: 130.8 kB / 0.7411 GB, free: 6.723 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/0.8162, allocations: 1.135 MB / 0.7422 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-05/0.8162, allocations: 9.5 kB / 0.7422 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.8162, allocations: 0 / 0.7422 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.8162, allocations: 2.953 kB / 0.7422 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004805/0.821, allocations: 2.187 MB / 0.7444 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.657e-06/0.821, allocations: 8 kB / 0.7444 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003473/0.8214, allocations: 83.77 kB / 0.7445 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007078/0.8221, allocations: 213.5 kB / 0.7447 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.906e-05/0.8221, allocations: 19.25 kB / 0.7447 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001146/0.8233, allocations: 0.7611 MB / 0.7454 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.8233, allocations: 9.719 kB / 0.7454 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003207/0.8265, allocations: 1.193 MB / 0.7466 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005775/0.827, allocations: 244.3 kB / 0.7468 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/0.8272, allocations: 12.41 kB / 0.7468 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007777/0.828, allocations: 67.52 kB / 0.7469 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.8281, allocations: 51.7 kB / 0.747 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.933e-05/0.8282, allocations: 29.89 kB / 0.747 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001301/0.8295, allocations: 0.853 MB / 0.7478 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8295, allocations: 0 / 0.7478 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001672/0.8311, allocations: 482.5 kB / 0.7483 GB, free: 3.133 MB / 0.5919 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.0007127/0.8318, allocations: 453.3 kB / 0.7487 GB, free: 2.914 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001954/0.8338, allocations: 0.8221 MB / 0.7495 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.8338, allocations: 3.844 kB / 0.7495 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001201/0.835, allocations: 426.2 kB / 0.7499 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001888/0.8369, allocations: 474.2 kB / 0.7504 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003574/0.8405, allocations: 2.262 MB / 0.7526 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004761/0.8409, allocations: 0.5876 MB / 0.7532 GB, free: 500 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007451/0.8417, allocations: 218 kB / 0.7534 GB, free: 388 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/0.8419, allocations: 103.6 kB / 0.7535 GB, free: 364 kB / 0.5919 GB Notification: Performance of SimCode: time 6.82e-07/0.8419, allocations: 0 / 0.7535 GB, free: 364 kB / 0.5919 GB Notification: Performance of Templates: time 0.04251/0.8844, allocations: 25.02 MB / 0.7779 GB, free: 12.82 MB / 0.6231 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=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.190670221927576] Failed to read output from testmodel.py, exit status != 0: 0.8931017700815573 0.908216984 0.138195559 Calling exit ...