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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 115.3 kB / 17.08 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 190.2 kB / 20.02 MB, free: 3.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.171/1.171, allocations: 173.4 MB / 471.3 MB, free: 6.828 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001961/0.001961, allocations: 72.11 kB / 0.649 GB, free: 22.81 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1565, allocations: 89.53 MB / 0.7364 GB, free: 3.66 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07459/0.2311, allocations: 70.56 MB / 0.8053 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0251/0.2563, allocations: 18.92 MB / 0.8238 GB, free: 9.887 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002295/0.2586, allocations: 71.56 kB / 0.8239 GB, free: 9.816 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002277/0.2609, allocations: 0.8228 MB / 0.8247 GB, free: 8.988 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007093/0.268, allocations: 2.834 MB / 0.8274 GB, free: 6.141 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003993/0.2721, allocations: 1.653 MB / 0.829 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00569/0.2778, allocations: 4.021 MB / 0.833 GB, free: 472 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002201/0.28, allocations: 1.453 MB / 0.8344 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004167/0.2842, allocations: 1.885 MB / 0.8362 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001865/0.2861, allocations: 1.159 MB / 0.8374 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002719/0.2863, allocations: 176 kB / 0.8375 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002849/0.2892, allocations: 1.404 MB / 0.8389 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003956/0.2896, allocations: 390.6 kB / 0.8393 GB, free: 9.957 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001042/0.2907, allocations: 0.9216 MB / 0.8402 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004407/0.2951, allocations: 3.119 MB / 0.8432 GB, free: 5.902 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2951, allocations: 0 / 0.8432 GB, free: 5.902 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2951, allocations: 0 / 0.8432 GB, free: 5.902 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.533e-05/0.2951, allocations: 0 / 0.8432 GB, free: 5.902 MB / 0.6544 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.003648/0.2988, allocations: 2.094 MB / 0.8453 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.2988, allocations: 8.031 kB / 0.8453 GB, free: 3.734 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002329/0.3012, allocations: 458.6 kB / 0.8457 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002807/0.304, allocations: 1.56 MB / 0.8472 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.423e-05/0.3041, allocations: 86.03 kB / 0.8473 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/0.3043, allocations: 104 kB / 0.8474 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002668/0.3069, allocations: 1.309 MB / 0.8487 GB, free: 64 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.307, allocations: 7.938 kB / 0.8487 GB, free: 56 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.3071, allocations: 44 kB / 0.8487 GB, free: 12 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.3e-05/0.3071, allocations: 27.98 kB / 0.8488 GB, free: 15.98 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002832/0.31, allocations: 1.097 MB / 0.8498 GB, free: 14.88 MB / 0.67 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.009564/0.3196, allocations: 7.517 MB / 0.8572 GB, free: 6.855 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003322/0.3229, allocations: 0.8092 MB / 0.858 GB, free: 6.043 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006621/0.3236, allocations: 285.9 kB / 0.8582 GB, free: 5.762 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001474/0.3251, allocations: 1.718 MB / 0.8599 GB, free: 3.652 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/0.3251, allocations: 39 kB / 0.86 GB, free: 3.605 MB / 0.67 GB Notification: Performance of pre-optimization done (n=48): time 2.214e-06/0.3251, allocations: 0 / 0.86 GB, free: 3.605 MB / 0.67 GB Notification: Performance of matching and sorting (n=48): time 0.00504/0.3302, allocations: 1.347 MB / 0.8613 GB, free: 2.23 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.3302, allocations: 59.83 kB / 0.8613 GB, free: 2.16 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00251/0.3328, allocations: 1.549 MB / 0.8628 GB, free: 0.6016 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.83e-05/0.3329, allocations: 41.7 kB / 0.8629 GB, free: 0.5547 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.3187/0.6515, allocations: 0.6717 MB / 0.8635 GB, free: 124.3 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/0.6518, allocations: 176.8 kB / 0.8637 GB, free: 124.3 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003569/0.6522, allocations: 175.8 kB / 0.8639 GB, free: 124.3 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.064e-05/0.6522, allocations: 337.7 kB / 0.8642 GB, free: 124 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.6533, allocations: 363.4 kB / 0.8645 GB, free: 124 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.6545, allocations: 0.6611 MB / 0.8652 GB, free: 123.6 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00171/0.6562, allocations: 0.8909 MB / 0.8661 GB, free: 123.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.6562, allocations: 2.281 kB / 0.8661 GB, free: 123.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002977/0.6592, allocations: 1.199 MB / 0.8672 GB, free: 123.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.6592, allocations: 9.234 kB / 0.8672 GB, free: 123.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.6592, allocations: 7.344 kB / 0.8672 GB, free: 123.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008883/0.6601, allocations: 217.5 kB / 0.8674 GB, free: 123.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007807/0.6609, allocations: 191.3 kB / 0.8676 GB, free: 123.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007436/0.6617, allocations: 0.7247 MB / 0.8683 GB, free: 122.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/0.6632, allocations: 218.6 kB / 0.8685 GB, free: 122.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.559e-05/0.6633, allocations: 41.45 kB / 0.8686 GB, free: 122.5 MB / 0.67 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.0005112/0.6638, allocations: 361.9 kB / 0.8689 GB, free: 122.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/0.664, allocations: 154.4 kB / 0.8691 GB, free: 122.1 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002408/0.6665, allocations: 1.143 MB / 0.8702 GB, free: 121.7 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/0.6665, allocations: 10.55 kB / 0.8702 GB, free: 121.7 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.6665, allocations: 1.188 kB / 0.8702 GB, free: 121.7 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.6665, allocations: 6.469 kB / 0.8702 GB, free: 121.7 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004908/0.6714, allocations: 2.504 MB / 0.8727 GB, free: 120.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.6715, allocations: 1.781 kB / 0.8727 GB, free: 120.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003409/0.6718, allocations: 88.08 kB / 0.8727 GB, free: 120.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007167/0.6725, allocations: 212.7 kB / 0.8729 GB, free: 120.5 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.801e-05/0.6726, allocations: 23.62 kB / 0.873 GB, free: 120.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001121/0.6737, allocations: 0.7718 MB / 0.8737 GB, free: 119.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6737, allocations: 0 / 0.8737 GB, free: 119.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003196/0.6769, allocations: 1.211 MB / 0.8749 GB, free: 119.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004683/0.6774, allocations: 361.2 kB / 0.8752 GB, free: 119.1 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/0.6776, allocations: 14.44 kB / 0.8753 GB, free: 119 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008465/0.6784, allocations: 71.58 kB / 0.8753 GB, free: 119 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.47e-05/0.6785, allocations: 45.73 kB / 0.8754 GB, free: 119 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.553e-05/0.6786, allocations: 29.83 kB / 0.8754 GB, free: 119 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001607/0.6802, allocations: 1.084 MB / 0.8765 GB, free: 118.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6802, allocations: 0 / 0.8765 GB, free: 118.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001185/0.6814, allocations: 450.3 kB / 0.8769 GB, free: 118.5 MB / 0.67 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.0009315/0.6823, allocations: 472.3 kB / 0.8773 GB, free: 118.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002388/0.6847, allocations: 0.8473 MB / 0.8782 GB, free: 118.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.6848, allocations: 0.9062 kB / 0.8782 GB, free: 118.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001444/0.6862, allocations: 443.9 kB / 0.8786 GB, free: 118 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00322/0.6894, allocations: 0.7452 MB / 0.8793 GB, free: 117.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003731/0.6932, allocations: 2.32 MB / 0.8816 GB, free: 116.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006294/0.6938, allocations: 1.158 MB / 0.8827 GB, free: 115.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000363/0.6942, allocations: 131.2 kB / 0.8828 GB, free: 115.8 MB / 0.67 GB Notification: Performance of SimCode: time 1.373e-06/0.6942, allocations: 0 / 0.8828 GB, free: 115.8 MB / 0.67 GB Notification: Performance of Templates: time 0.0335/0.7277, allocations: 34.23 MB / 0.9163 GB, free: 89.64 MB / 0.67 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.78465678403154] Failed to read output from testmodel.py, exit status != 0: 0.7333713558036834 0.741178527 0.44440486599999995 Calling exit ...