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.001009/0.001009, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008033/0.008034, allocations: 172.2 kB / 16.27 MB, free: 6.652 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.23/1.23, allocations: 223.3 MB / 240.3 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.728/0.728, allocations: 132.3 MB / 423.7 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000298/0.0002981, allocations: 9.25 kB / 0.5041 GB, free: 3.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3532, allocations: 81.57 MB / 0.5837 GB, free: 4.07 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1132/0.4665, allocations: 129.3 MB / 0.71 GB, free: 14.72 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03141/0.4979, allocations: 23.03 MB / 0.7325 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004191/0.5022, allocations: 111.2 kB / 0.7326 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004107/0.5063, allocations: 1.208 MB / 0.7338 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01087/0.5172, allocations: 3.775 MB / 0.7375 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005092/0.5223, allocations: 1.958 MB / 0.7394 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01008/0.5324, allocations: 8.276 MB / 0.7475 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00416/0.5366, allocations: 1.92 MB / 0.7494 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005367/0.542, allocations: 2.309 MB / 0.7516 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003438/0.5454, allocations: 1.784 MB / 0.7534 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008119/0.5463, allocations: 92 kB / 0.7535 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004486/0.5508, allocations: 1.711 MB / 0.7551 GB, free: 400 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008125/0.5516, allocations: 445.7 kB / 0.7556 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00248/0.5541, allocations: 1.299 MB / 0.7568 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006739/0.5609, allocations: 4.147 MB / 0.7609 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5609, allocations: 0 / 0.7609 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.784e-06/0.5609, allocations: 0 / 0.7609 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001128/0.561, allocations: 0 / 0.7609 GB, free: 10.48 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: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.005684/0.5667, allocations: 2.678 MB / 0.7635 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.5668, allocations: 12.03 kB / 0.7635 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004396/0.5672, allocations: 220 kB / 0.7637 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004532/0.5718, allocations: 0.9606 MB / 0.7647 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004886/0.5767, allocations: 2.268 MB / 0.7669 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001046/0.5777, allocations: 318.8 kB / 0.7672 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003882/0.5782, allocations: 160 kB / 0.7673 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004857/0.583, allocations: 1.985 MB / 0.7693 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.784e-05/0.5831, allocations: 0 / 0.7693 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001932/0.5833, allocations: 71.94 kB / 0.7693 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.19e-05/0.5833, allocations: 36 kB / 0.7694 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005034/0.5884, allocations: 1.917 MB / 0.7712 GB, free: 15.63 MB / 0.6075 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.01384/0.6022, allocations: 9.106 MB / 0.7801 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004447/0.6067, allocations: 1.309 MB / 0.7814 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001159/0.6079, allocations: 489.4 kB / 0.7819 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001185/0.6091, allocations: 1.722 MB / 0.7836 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.6092, allocations: 42.5 kB / 0.7836 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 2.895e-06/0.6092, allocations: 0 / 0.7836 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.008955/0.6181, allocations: 2.518 MB / 0.7861 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.6182, allocations: 89.05 kB / 0.7861 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004503/0.6227, allocations: 2.54 MB / 0.7886 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000129/0.6229, allocations: 41.7 kB / 0.7887 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009219/0.6238, allocations: 1.042 MB / 0.7897 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002734/0.6241, allocations: 272.2 kB / 0.7899 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.6242, allocations: 85.67 kB / 0.79 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.6244, allocations: 353.9 kB / 0.7904 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001901/0.6263, allocations: 0.6311 MB / 0.791 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002175/0.6285, allocations: 1.005 MB / 0.792 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003155/0.6316, allocations: 1.331 MB / 0.7933 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.6317, allocations: 7.938 kB / 0.7933 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006983/0.6387, allocations: 2.2 MB / 0.7954 GB, free: 5.457 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.6387, allocations: 12.03 kB / 0.7954 GB, free: 5.445 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.6387, allocations: 11.94 kB / 0.7954 GB, free: 5.434 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001924/0.6407, allocations: 0.4971 MB / 0.7959 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/0.642, allocations: 307.5 kB / 0.7962 GB, free: 4.629 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002248/0.6442, allocations: 1.557 MB / 0.7977 GB, free: 3.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003202/0.6474, allocations: 477.9 kB / 0.7982 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001888/0.6477, allocations: 59.97 kB / 0.7983 GB, free: 2.492 MB / 0.6231 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.001036/0.6487, allocations: 461.5 kB / 0.7987 GB, free: 2.031 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000532/0.6492, allocations: 248.9 kB / 0.7989 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003875/0.6531, allocations: 1.551 MB / 0.8004 GB, free: 244 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/0.6532, allocations: 8 kB / 0.8005 GB, free: 236 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.6532, allocations: 0 / 0.8005 GB, free: 236 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.6532, allocations: 7.984 kB / 0.8005 GB, free: 228 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007978/0.6612, allocations: 3.705 MB / 0.8041 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.6612, allocations: 0 / 0.8041 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006215/0.6618, allocations: 140.2 kB / 0.8042 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001702/0.6635, allocations: 0.5029 MB / 0.8047 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.206e-05/0.6636, allocations: 31.92 kB / 0.8047 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002741/0.6664, allocations: 1.643 MB / 0.8063 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.6664, allocations: 7.938 kB / 0.8063 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006294/0.6727, allocations: 2.08 MB / 0.8084 GB, free: 7.879 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/0.674, allocations: 0.5054 MB / 0.8089 GB, free: 7.352 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005311/0.6745, allocations: 24 kB / 0.8089 GB, free: 7.328 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002025/0.6766, allocations: 191.7 kB / 0.8091 GB, free: 7.141 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.6767, allocations: 67.8 kB / 0.8091 GB, free: 7.074 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.6768, allocations: 35.97 kB / 0.8092 GB, free: 7.039 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003146/0.68, allocations: 1.801 MB / 0.8109 GB, free: 5.234 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.3e-07/0.68, allocations: 0 / 0.8109 GB, free: 5.234 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002016/0.682, allocations: 0.6827 MB / 0.8116 GB, free: 4.551 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.0073/0.6893, allocations: 3.129 MB / 0.8147 GB, free: 1.371 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.2349/0.9242, allocations: 1.426 MB / 0.816 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/0.9243, allocations: 1.125 kB / 0.816 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002876/0.9272, allocations: 0.7306 MB / 0.8168 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007381/0.9346, allocations: 1.324 MB / 0.8181 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03981/0.9744, allocations: 20.22 MB / 0.8378 GB, free: 202.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007726/0.9752, allocations: 1.491 MB / 0.8393 GB, free: 201.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001967/0.9772, allocations: 439 kB / 0.8397 GB, free: 201.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009506/0.9781, allocations: 0.9131 MB / 0.8406 GB, free: 201 MB / 0.6387 GB Notification: Performance of SimCode: time 5.21e-07/0.9781, allocations: 3.938 kB / 0.8406 GB, free: 201 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7419/1.72, allocations: 69.14 MB / 0.9081 GB, free: 139.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/1.72, allocations: 272.1 kB / 0.9084 GB, free: 139.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.41/5.131, allocations: 4 kB / 0.9084 GB, free: 139.1 MB / 0.6387 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)