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.005228/0.005228, allocations: 99.31 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.001135/0.001135, allocations: 186.3 kB / 16.67 MB, free: 5.977 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.24/1.24, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7218/0.7218, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 67.5 kB / 0.5809 GB, free: 1.113 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1465, allocations: 80.22 MB / 0.6592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1131/0.2597, allocations: 132.2 MB / 0.7883 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0296/0.2893, allocations: 23.19 MB / 0.8109 GB, free: 2.078 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004141/0.2935, allocations: 123.2 kB / 0.8111 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003555/0.2971, allocations: 1.49 MB / 0.8125 GB, free: 468 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.3673/0.6644, allocations: 4.087 MB / 0.8165 GB, free: 42.3 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005229/0.6696, allocations: 2.166 MB / 0.8186 GB, free: 42.29 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01044/0.6801, allocations: 6.541 MB / 0.825 GB, free: 42.29 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003562/0.6837, allocations: 2.364 MB / 0.8273 GB, free: 41.99 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006476/0.6902, allocations: 2.81 MB / 0.8301 GB, free: 41.98 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003041/0.6932, allocations: 1.886 MB / 0.8319 GB, free: 41.66 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004154/0.6936, allocations: 249.1 kB / 0.8321 GB, free: 41.66 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004297/0.698, allocations: 1.94 MB / 0.834 GB, free: 41.66 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005017/0.6985, allocations: 0.6049 MB / 0.8346 GB, free: 41.56 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001592/0.7001, allocations: 1.455 MB / 0.836 GB, free: 41.16 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005383/0.7055, allocations: 4.393 MB / 0.8403 GB, free: 40.6 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.7055, allocations: 3.062 kB / 0.8403 GB, free: 40.6 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7055, allocations: 0 / 0.8403 GB, free: 40.6 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.328e-05/0.7055, allocations: 0 / 0.8403 GB, free: 40.6 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.004811/0.7103, allocations: 3.19 MB / 0.8434 GB, free: 39.04 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.7104, allocations: 7.969 kB / 0.8435 GB, free: 39.04 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002345/0.7106, allocations: 217 kB / 0.8437 GB, free: 39 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003898/0.7145, allocations: 0.8423 MB / 0.8445 GB, free: 38.82 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003431/0.718, allocations: 2.318 MB / 0.8467 GB, free: 38.24 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.622e-05/0.7181, allocations: 126.2 kB / 0.8469 GB, free: 38.23 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001908/0.7183, allocations: 159.2 kB / 0.847 GB, free: 38.23 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00325/0.7215, allocations: 1.923 MB / 0.8489 GB, free: 38.01 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/0.7216, allocations: 7.781 kB / 0.8489 GB, free: 38.01 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/0.7217, allocations: 64.47 kB / 0.849 GB, free: 38.01 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.594e-05/0.7218, allocations: 37.78 kB / 0.849 GB, free: 38.01 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00375/0.7255, allocations: 1.8 MB / 0.8508 GB, free: 37.96 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.009179/0.7347, allocations: 8.994 MB / 0.8595 GB, free: 33.61 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003586/0.7383, allocations: 1.199 MB / 0.8607 GB, free: 33.53 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008674/0.7392, allocations: 462 kB / 0.8612 GB, free: 33.51 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000669/0.7399, allocations: 1.723 MB / 0.8628 GB, free: 31.54 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.7399, allocations: 40.88 kB / 0.8629 GB, free: 31.5 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 3.096e-06/0.7399, allocations: 0 / 0.8629 GB, free: 31.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.007021/0.7469, allocations: 2.339 MB / 0.8652 GB, free: 30.98 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.747, allocations: 94.53 kB / 0.8653 GB, free: 30.88 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002933/0.7499, allocations: 2.523 MB / 0.8677 GB, free: 30.25 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.875e-05/0.75, allocations: 50.73 kB / 0.8678 GB, free: 30.22 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006425/0.7507, allocations: 1.036 MB / 0.8688 GB, free: 29.87 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.7508, allocations: 271.2 kB / 0.869 GB, free: 29.68 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003541/0.7512, allocations: 255 kB / 0.8693 GB, free: 29.61 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.9e-05/0.7513, allocations: 352.4 kB / 0.8696 GB, free: 29.29 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001364/0.7526, allocations: 0.5733 MB / 0.8702 GB, free: 29.17 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001596/0.7542, allocations: 0.9536 MB / 0.8711 GB, free: 28.62 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002391/0.7566, allocations: 1.259 MB / 0.8723 GB, free: 28.16 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.7567, allocations: 2.875 kB / 0.8723 GB, free: 28.16 MB / 0.6387 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005204/0.7619, allocations: 2.015 MB / 0.8743 GB, free: 27.25 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.7619, allocations: 12.19 kB / 0.8743 GB, free: 27.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.7619, allocations: 9 kB / 0.8743 GB, free: 27.24 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001533/0.7635, allocations: 500 kB / 0.8748 GB, free: 26.99 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.7645, allocations: 278.5 kB / 0.8751 GB, free: 26.92 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00162/0.7662, allocations: 1.518 MB / 0.8765 GB, free: 25.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002455/0.7686, allocations: 361.1 kB / 0.8769 GB, free: 25.44 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/0.7688, allocations: 66.73 kB / 0.877 GB, free: 25.42 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.0008567/0.7696, allocations: 462.5 kB / 0.8774 GB, free: 25.11 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003596/0.77, allocations: 248.3 kB / 0.8776 GB, free: 24.96 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002851/0.7728, allocations: 1.494 MB / 0.8791 GB, free: 23.48 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/0.7729, allocations: 15.98 kB / 0.8791 GB, free: 23.46 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.7729, allocations: 0 / 0.8791 GB, free: 23.46 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.7729, allocations: 3.984 kB / 0.8791 GB, free: 23.46 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005821/0.7787, allocations: 3.609 MB / 0.8826 GB, free: 19.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.7787, allocations: 7.984 kB / 0.8826 GB, free: 19.78 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005316/0.7793, allocations: 130.8 kB / 0.8828 GB, free: 19.66 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001328/0.7806, allocations: 491.6 kB / 0.8832 GB, free: 19.18 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.279e-05/0.7807, allocations: 31.92 kB / 0.8833 GB, free: 19.15 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001949/0.7826, allocations: 1.585 MB / 0.8848 GB, free: 17.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.7827, allocations: 4 kB / 0.8848 GB, free: 17.52 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004831/0.7875, allocations: 1.942 MB / 0.8867 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008325/0.7883, allocations: 493.6 kB / 0.8872 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004976/0.7888, allocations: 20 kB / 0.8872 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001684/0.7905, allocations: 131.8 kB / 0.8873 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.296e-05/0.7906, allocations: 67.8 kB / 0.8874 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.648e-05/0.7907, allocations: 39.97 kB / 0.8874 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002742/0.7934, allocations: 1.773 MB / 0.8892 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.343e-06/0.7935, allocations: 4 kB / 0.8892 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001993/0.7955, allocations: 0.6937 MB / 0.8898 GB, free: 12.33 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.00591/0.8014, allocations: 2.991 MB / 0.8928 GB, free: 9.355 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0033/0.8047, allocations: 1.345 MB / 0.8941 GB, free: 8.055 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.8047, allocations: 0 / 0.8941 GB, free: 8.055 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001881/0.8066, allocations: 0.6848 MB / 0.8948 GB, free: 7.391 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005478/0.8121, allocations: 1.334 MB / 0.8961 GB, free: 6.121 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03168/0.8438, allocations: 16.65 MB / 0.9123 GB, free: 5.16 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001551/0.8454, allocations: 1.49 MB / 0.9138 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00208/0.8475, allocations: 435.2 kB / 0.9142 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001321/0.8488, allocations: 0.9009 MB / 0.9151 GB, free: 2.324 MB / 0.6544 GB Notification: Performance of SimCode: time 9.72e-07/0.8488, allocations: 0 / 0.9151 GB, free: 2.324 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1099/0.9587, allocations: 67.52 MB / 0.981 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.07/16.03, allocations: 5.969 kB / 0.981 GB, free: 15.82 MB / 0.7325 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)