Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.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: "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007678/0.007678, allocations: 96.7 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001941/0.001941, allocations: 194.8 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7797/0.7797, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 63.58 kB / 0.5809 GB, free: 1.129 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1581, allocations: 80.2 MB / 0.6592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1309/0.289, allocations: 132.2 MB / 0.7883 GB, free: 9.395 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03197/0.3211, allocations: 23.19 MB / 0.8109 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004382/0.3255, allocations: 123.2 kB / 0.8111 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004364/0.3299, allocations: 1.498 MB / 0.8125 GB, free: 0.5156 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.3677/0.6976, allocations: 4.077 MB / 0.8165 GB, free: 42.62 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005453/0.7031, allocations: 2.169 MB / 0.8186 GB, free: 42.62 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01079/0.7139, allocations: 6.54 MB / 0.825 GB, free: 42.62 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004331/0.7183, allocations: 2.362 MB / 0.8273 GB, free: 42.32 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007141/0.7254, allocations: 2.76 MB / 0.83 GB, free: 42.32 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00414/0.7296, allocations: 1.891 MB / 0.8319 GB, free: 41.99 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0009896/0.7306, allocations: 248.5 kB / 0.8321 GB, free: 41.99 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005799/0.7364, allocations: 1.931 MB / 0.834 GB, free: 41.99 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001181/0.7376, allocations: 0.5981 MB / 0.8346 GB, free: 41.89 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003335/0.741, allocations: 1.462 MB / 0.836 GB, free: 41.49 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007204/0.7482, allocations: 4.41 MB / 0.8403 GB, free: 40.9 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.7482, allocations: 3.938 kB / 0.8403 GB, free: 40.89 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.714e-06/0.7482, allocations: 0 / 0.8403 GB, free: 40.89 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.764e-05/0.7483, allocations: 0 / 0.8403 GB, free: 40.89 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.005353/0.7537, allocations: 3.274 MB / 0.8435 GB, free: 39.3 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.7537, allocations: 11.59 kB / 0.8435 GB, free: 39.3 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000227/0.754, allocations: 219.1 kB / 0.8437 GB, free: 39.25 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004117/0.7581, allocations: 0.854 MB / 0.8446 GB, free: 39.06 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003943/0.762, allocations: 2.337 MB / 0.8468 GB, free: 38.46 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.893e-05/0.7622, allocations: 127 kB / 0.847 GB, free: 38.46 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002075/0.7624, allocations: 156.6 kB / 0.8471 GB, free: 38.46 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003558/0.7659, allocations: 1.93 MB / 0.849 GB, free: 38.23 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.248e-05/0.766, allocations: 5.688 kB / 0.849 GB, free: 38.23 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001414/0.7661, allocations: 65.16 kB / 0.8491 GB, free: 38.23 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.765e-05/0.7662, allocations: 40.39 kB / 0.8491 GB, free: 38.23 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004129/0.7703, allocations: 1.8 MB / 0.8509 GB, free: 38.18 MB / 0.6387 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.01055/0.7809, allocations: 9.019 MB / 0.8597 GB, free: 33.81 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0039/0.7848, allocations: 1.2 MB / 0.8608 GB, free: 33.74 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009655/0.7858, allocations: 454.5 kB / 0.8613 GB, free: 33.71 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007284/0.7865, allocations: 1.729 MB / 0.863 GB, free: 31.74 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.7865, allocations: 38.8 kB / 0.863 GB, free: 31.7 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 3.277e-06/0.7865, allocations: 0 / 0.863 GB, free: 31.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.007973/0.7945, allocations: 2.35 MB / 0.8653 GB, free: 31.26 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.7946, allocations: 84.52 kB / 0.8654 GB, free: 31.16 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003501/0.7981, allocations: 2.531 MB / 0.8678 GB, free: 30.61 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001288/0.7982, allocations: 46.61 kB / 0.8679 GB, free: 30.58 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006521/0.7989, allocations: 1.055 MB / 0.8689 GB, free: 30.21 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002147/0.7991, allocations: 286.6 kB / 0.8692 GB, free: 30 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003685/0.7995, allocations: 260 kB / 0.8694 GB, free: 29.94 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.067e-05/0.7995, allocations: 348.1 kB / 0.8698 GB, free: 29.62 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001524/0.8011, allocations: 0.5703 MB / 0.8703 GB, free: 29.5 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001738/0.8028, allocations: 0.9541 MB / 0.8713 GB, free: 28.96 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00255/0.8054, allocations: 1.258 MB / 0.8725 GB, free: 28.3 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.8054, allocations: 2.5 kB / 0.8725 GB, free: 28.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005875/0.8113, allocations: 2.035 MB / 0.8745 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.8113, allocations: 11.94 kB / 0.8745 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.8113, allocations: 8.469 kB / 0.8745 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001677/0.813, allocations: 493.5 kB / 0.875 GB, free: 27.08 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.8141, allocations: 278.9 kB / 0.8752 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001786/0.8159, allocations: 1.518 MB / 0.8767 GB, free: 25.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002668/0.8186, allocations: 370.8 kB / 0.8771 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/0.8188, allocations: 62.36 kB / 0.8771 GB, free: 25.5 MB / 0.6387 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0008361/0.8196, allocations: 464 kB / 0.8776 GB, free: 25.19 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004759/0.8201, allocations: 260.2 kB / 0.8778 GB, free: 25.05 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003103/0.8232, allocations: 1.499 MB / 0.8793 GB, free: 23.66 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.8232, allocations: 11.98 kB / 0.8793 GB, free: 23.64 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.8232, allocations: 7.938 kB / 0.8793 GB, free: 23.64 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.8233, allocations: 3.984 kB / 0.8793 GB, free: 23.63 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006374/0.8296, allocations: 3.608 MB / 0.8828 GB, free: 19.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.8297, allocations: 7.984 kB / 0.8828 GB, free: 19.95 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000536/0.8302, allocations: 126.3 kB / 0.883 GB, free: 19.84 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001484/0.8317, allocations: 489.1 kB / 0.8834 GB, free: 19.35 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.087e-05/0.8318, allocations: 23.92 kB / 0.8835 GB, free: 19.33 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002157/0.834, allocations: 1.592 MB / 0.885 GB, free: 17.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.834, allocations: 4 kB / 0.885 GB, free: 17.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005394/0.8394, allocations: 1.955 MB / 0.8869 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/0.8404, allocations: 0.495 MB / 0.8874 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003112/0.8407, allocations: 20 kB / 0.8874 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001528/0.8422, allocations: 131.8 kB / 0.8875 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.747e-05/0.8423, allocations: 67.08 kB / 0.8876 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.55e-05/0.8424, allocations: 39.97 kB / 0.8877 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002347/0.8448, allocations: 1.773 MB / 0.8894 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8448, allocations: 4 kB / 0.8894 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001639/0.8464, allocations: 0.6902 MB / 0.8901 GB, free: 12.48 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006236/0.8527, allocations: 3.019 MB / 0.893 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003684/0.8564, allocations: 1.356 MB / 0.8943 GB, free: 8.18 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.8564, allocations: 0 / 0.8943 GB, free: 8.18 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002087/0.8585, allocations: 0.6797 MB / 0.895 GB, free: 7.523 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005375/0.8639, allocations: 1.332 MB / 0.8963 GB, free: 6.258 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03151/0.8954, allocations: 16.73 MB / 0.9126 GB, free: 5.258 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/0.8966, allocations: 1.493 MB / 0.9141 GB, free: 3.734 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00184/0.8984, allocations: 430.9 kB / 0.9145 GB, free: 3.324 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001235/0.8997, allocations: 0.9053 MB / 0.9154 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of SimCode: time 2.655e-06/0.8997, allocations: 0 / 0.9154 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.739/3.638, allocations: 66.19 MB / 0.98 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.8/24.43, allocations: 0 / 0.98 GB, free: 1.238 MB / 0.7169 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)