Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) 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: "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IDEAS_dev_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.001118/0.001118, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.306/1.306, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9068/0.9068, allocations: 135.1 MB / 425.5 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 59.66 kB / 0.5054 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1332, allocations: 80.93 MB / 0.5845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.3384/0.4717, allocations: 132.2 MB / 0.7136 GB, free: 13.94 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03097/0.5027, allocations: 23.2 MB / 0.7362 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00493/0.5077, allocations: 124.1 kB / 0.7363 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004659/0.5124, allocations: 1.488 MB / 0.7378 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01329/0.5257, allocations: 4.081 MB / 0.7418 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006531/0.5323, allocations: 2.149 MB / 0.7439 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008867/0.5412, allocations: 6.529 MB / 0.7503 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003879/0.5451, allocations: 2.359 MB / 0.7526 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006351/0.5514, allocations: 2.76 MB / 0.7553 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003444/0.5549, allocations: 1.878 MB / 0.7571 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007957/0.5557, allocations: 252 kB / 0.7573 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004973/0.5607, allocations: 1.934 MB / 0.7592 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001045/0.5618, allocations: 0.607 MB / 0.7598 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003229/0.565, allocations: 1.454 MB / 0.7612 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00808/0.5731, allocations: 4.343 MB / 0.7655 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.5731, allocations: 0 / 0.7655 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5732, allocations: 4 kB / 0.7655 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001207/0.5733, allocations: 0 / 0.7655 GB, free: 3.52 MB / 0.5762 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.006616/0.5799, allocations: 3.188 MB / 0.7686 GB, free: 252 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.58, allocations: 8.031 kB / 0.7686 GB, free: 244 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003393/0.5803, allocations: 220.3 kB / 0.7688 GB, free: 12 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004622/0.5849, allocations: 0.8436 MB / 0.7696 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004572/0.5895, allocations: 2.194 MB / 0.7718 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001026/0.5906, allocations: 290.9 kB / 0.772 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000375/0.591, allocations: 163.9 kB / 0.7722 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004605/0.5956, allocations: 1.942 MB / 0.7741 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.972e-05/0.5956, allocations: 0 / 0.7741 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001948/0.5958, allocations: 63.98 kB / 0.7742 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.191e-05/0.5959, allocations: 43.94 kB / 0.7742 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005529/0.6014, allocations: 1.827 MB / 0.776 GB, free: 8.504 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.01357/0.615, allocations: 9.081 MB / 0.7849 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004411/0.6194, allocations: 1.189 MB / 0.786 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/0.6206, allocations: 462.8 kB / 0.7865 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001117/0.6217, allocations: 1.723 MB / 0.7881 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.6218, allocations: 46.25 kB / 0.7882 GB, free: 11 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 2.855e-06/0.6218, allocations: 3.938 kB / 0.7882 GB, free: 11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.009124/0.6309, allocations: 2.339 MB / 0.7905 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.631, allocations: 85.11 kB / 0.7906 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004474/0.6355, allocations: 2.544 MB / 0.793 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001294/0.6356, allocations: 45.7 kB / 0.7931 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009156/0.6366, allocations: 1.034 MB / 0.7941 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002795/0.6368, allocations: 276.1 kB / 0.7944 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004671/0.6373, allocations: 258.6 kB / 0.7946 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.6374, allocations: 353.8 kB / 0.7949 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001883/0.6393, allocations: 0.5842 MB / 0.7955 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002209/0.6416, allocations: 0.9738 MB / 0.7965 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003186/0.6448, allocations: 1.257 MB / 0.7977 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/0.6448, allocations: 4 kB / 0.7977 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006893/0.6517, allocations: 2.048 MB / 0.7997 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.6517, allocations: 11.98 kB / 0.7997 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.6517, allocations: 8 kB / 0.7997 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001829/0.6536, allocations: 0.4894 MB / 0.8002 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.6549, allocations: 283.6 kB / 0.8005 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002196/0.6571, allocations: 1.517 MB / 0.8019 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002857/0.6599, allocations: 397.1 kB / 0.8023 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.6601, allocations: 63.95 kB / 0.8024 GB, free: 12.02 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.0008516/0.661, allocations: 457.9 kB / 0.8028 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006171/0.6616, allocations: 252.8 kB / 0.8031 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003842/0.6654, allocations: 1.489 MB / 0.8045 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/0.6655, allocations: 8 kB / 0.8045 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.6655, allocations: 4 kB / 0.8045 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.6655, allocations: 7.969 kB / 0.8045 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007915/0.6734, allocations: 3.629 MB / 0.8081 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.6735, allocations: 4 kB / 0.8081 GB, free: 6.051 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000641/0.6741, allocations: 128.2 kB / 0.8082 GB, free: 5.926 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001686/0.6758, allocations: 498.9 kB / 0.8087 GB, free: 5.434 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.069e-05/0.6759, allocations: 23.98 kB / 0.8087 GB, free: 5.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002646/0.6785, allocations: 1.59 MB / 0.8103 GB, free: 3.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.6786, allocations: 4 kB / 0.8103 GB, free: 3.766 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006269/0.6848, allocations: 1.939 MB / 0.8121 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001218/0.6861, allocations: 493.6 kB / 0.8126 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006785/0.6868, allocations: 19.98 kB / 0.8126 GB, free: 1.242 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002199/0.689, allocations: 139.8 kB / 0.8128 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.6891, allocations: 59.86 kB / 0.8128 GB, free: 1.047 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.6892, allocations: 39.97 kB / 0.8129 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003706/0.6929, allocations: 1.797 MB / 0.8146 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6929, allocations: 0 / 0.8146 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002261/0.6952, allocations: 0.6944 MB / 0.8153 GB, free: 14.51 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.007669/0.7029, allocations: 2.988 MB / 0.8182 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004508/0.7074, allocations: 1.397 MB / 0.8196 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/0.7074, allocations: 4 kB / 0.8196 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002446/0.7099, allocations: 0.6782 MB / 0.8202 GB, free: 9.379 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006722/0.7166, allocations: 1.341 MB / 0.8216 GB, free: 8.074 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03975/0.7564, allocations: 19.23 MB / 0.8403 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001486/0.7579, allocations: 1.493 MB / 0.8418 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002424/0.7604, allocations: 436.2 kB / 0.8422 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001338/0.7617, allocations: 0.9054 MB / 0.8431 GB, free: 500 kB / 0.6544 GB Notification: Performance of SimCode: time 6.71e-07/0.7617, allocations: 0 / 0.8431 GB, free: 500 kB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3398/1.102, allocations: 68.48 MB / 0.91 GB, free: 205.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.9, allocations: 1.406 kB / 0.91 GB, free: 205.5 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)