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.005091/0.005091, allocations: 98.86 kB / 15.73 MB, free: 6.043 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.001362/0.001362, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.471/1.471, 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-master/package.mo): time 1.003/1.003, allocations: 135.6 MB / 426.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 71.88 kB / 0.5857 GB, free: 3.238 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3656, allocations: 81.01 MB / 0.6649 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.137/0.5027, allocations: 132.2 MB / 0.794 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0332/0.5359, allocations: 23.19 MB / 0.8166 GB, free: 5.066 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003997/0.54, allocations: 119.3 kB / 0.8167 GB, free: 4.949 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003804/0.5438, allocations: 1.486 MB / 0.8182 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01048/0.5543, allocations: 4.099 MB / 0.8222 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005036/0.5593, allocations: 2.162 MB / 0.8243 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00925/0.5686, allocations: 6.549 MB / 0.8307 GB, free: 6.625 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003455/0.5721, allocations: 2.367 MB / 0.833 GB, free: 4.199 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006376/0.5785, allocations: 2.757 MB / 0.8357 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002655/0.5811, allocations: 1.892 MB / 0.8375 GB, free: 15.54 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003886/0.5815, allocations: 248 kB / 0.8378 GB, free: 15.3 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004267/0.5858, allocations: 1.938 MB / 0.8397 GB, free: 13.36 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000601/0.5864, allocations: 0.5953 MB / 0.8403 GB, free: 12.77 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001622/0.5881, allocations: 1.462 MB / 0.8417 GB, free: 11.3 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006081/0.5942, allocations: 4.404 MB / 0.846 GB, free: 6.879 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.5942, allocations: 7.938 kB / 0.846 GB, free: 6.871 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5942, allocations: 0 / 0.846 GB, free: 6.871 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.082e-05/0.5942, allocations: 0 / 0.846 GB, free: 6.871 MB / 0.67 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.005662/0.5999, allocations: 3.274 MB / 0.8492 GB, free: 3.508 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.5999, allocations: 8.031 kB / 0.8492 GB, free: 3.5 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002797/0.6002, allocations: 231.7 kB / 0.8494 GB, free: 3.262 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004554/0.6048, allocations: 0.8528 MB / 0.8502 GB, free: 2.406 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004349/0.6091, allocations: 2.337 MB / 0.8525 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.6093, allocations: 123 kB / 0.8526 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002466/0.6095, allocations: 160 kB / 0.8528 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004275/0.6138, allocations: 1.922 MB / 0.8547 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.364e-05/0.6139, allocations: 4 kB / 0.8547 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001646/0.614, allocations: 67.94 kB / 0.8547 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.459e-05/0.6141, allocations: 40 kB / 0.8548 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005026/0.6191, allocations: 1.799 MB / 0.8565 GB, free: 11.82 MB / 0.6856 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.01315/0.6323, allocations: 9.01 MB / 0.8653 GB, free: 2.211 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004701/0.637, allocations: 1.216 MB / 0.8665 GB, free: 0.9805 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/0.6382, allocations: 458 kB / 0.867 GB, free: 0.5273 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2734/0.9117, allocations: 1.719 MB / 0.8686 GB, free: 185 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.9117, allocations: 46.67 kB / 0.8687 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=76): time 3.306e-06/0.9118, allocations: 0 / 0.8687 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.009505/0.9213, allocations: 2.346 MB / 0.871 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.9213, allocations: 85.33 kB / 0.8711 GB, free: 184.5 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004291/0.9256, allocations: 2.524 MB / 0.8735 GB, free: 183.6 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001204/0.9258, allocations: 46.11 kB / 0.8736 GB, free: 183.6 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007454/0.9265, allocations: 1.056 MB / 0.8746 GB, free: 182.9 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/0.9267, allocations: 290.8 kB / 0.8749 GB, free: 182.7 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004072/0.9271, allocations: 260.2 kB / 0.8751 GB, free: 182.6 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.374e-05/0.9272, allocations: 345.6 kB / 0.8755 GB, free: 182.3 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001785/0.929, allocations: 0.5711 MB / 0.876 GB, free: 182.1 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002016/0.931, allocations: 0.9571 MB / 0.8769 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003163/0.9342, allocations: 1.242 MB / 0.8782 GB, free: 180.9 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/0.9342, allocations: 2.875 kB / 0.8782 GB, free: 180.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006907/0.9411, allocations: 2.032 MB / 0.8801 GB, free: 180.3 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.026e-05/0.9412, allocations: 8.281 kB / 0.8802 GB, free: 180.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.9412, allocations: 7.531 kB / 0.8802 GB, free: 180.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001836/0.9431, allocations: 497 kB / 0.8806 GB, free: 180.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.9443, allocations: 280.1 kB / 0.8809 GB, free: 180.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001961/0.9462, allocations: 1.517 MB / 0.8824 GB, free: 179 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00268/0.9489, allocations: 372.7 kB / 0.8827 GB, free: 178.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/0.9491, allocations: 58.53 kB / 0.8828 GB, free: 178.9 MB / 0.6856 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.0007595/0.9498, allocations: 471.1 kB / 0.8832 GB, free: 178.6 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003959/0.9502, allocations: 261.2 kB / 0.8835 GB, free: 178.4 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003556/0.9538, allocations: 1.49 MB / 0.8849 GB, free: 177.7 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/0.9538, allocations: 13.89 kB / 0.885 GB, free: 177.7 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.9539, allocations: 0.9375 kB / 0.885 GB, free: 177.7 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.9539, allocations: 11.64 kB / 0.885 GB, free: 177.7 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006956/0.9608, allocations: 3.616 MB / 0.8885 GB, free: 175.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.9609, allocations: 2.188 kB / 0.8885 GB, free: 175.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006339/0.9615, allocations: 132.2 kB / 0.8886 GB, free: 175.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001684/0.9632, allocations: 497.1 kB / 0.8891 GB, free: 175 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.98e-05/0.9633, allocations: 26.23 kB / 0.8891 GB, free: 175 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002532/0.9658, allocations: 1.588 MB / 0.8907 GB, free: 173.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.9658, allocations: 3.125 kB / 0.8907 GB, free: 173.6 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006115/0.972, allocations: 1.959 MB / 0.8926 GB, free: 172.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009077/0.9729, allocations: 0.4966 MB / 0.8931 GB, free: 172.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004817/0.9734, allocations: 19.69 kB / 0.8931 GB, free: 172 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001855/0.9752, allocations: 135.1 kB / 0.8932 GB, free: 172 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.9753, allocations: 61.64 kB / 0.8933 GB, free: 171.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.441e-05/0.9755, allocations: 43.31 kB / 0.8933 GB, free: 171.9 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003053/0.9785, allocations: 1.773 MB / 0.8951 GB, free: 171 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.8e-07/0.9785, allocations: 0 / 0.8951 GB, free: 171 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001908/0.9804, allocations: 0.6929 MB / 0.8957 GB, free: 170.9 MB / 0.6856 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.00721/0.9877, allocations: 3.018 MB / 0.8987 GB, free: 169.1 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004064/0.9917, allocations: 1.356 MB / 0.9 GB, free: 168.5 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.9918, allocations: 5.188 kB / 0.9 GB, free: 168.5 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00237/0.9941, allocations: 0.6744 MB / 0.9007 GB, free: 168.2 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006448/1.001, allocations: 1.33 MB / 0.902 GB, free: 167.5 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02969/1.03, allocations: 16.73 MB / 0.9183 GB, free: 155.4 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006689/1.031, allocations: 1.49 MB / 0.9198 GB, free: 153.9 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001679/1.033, allocations: 432.5 kB / 0.9202 GB, free: 153.5 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009341/1.034, allocations: 0.9015 MB / 0.9211 GB, free: 152.6 MB / 0.6856 GB Notification: Performance of SimCode: time 7.71e-07/1.034, allocations: 0 / 0.9211 GB, free: 152.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09427/1.128, allocations: 66.22 MB / 0.9857 GB, free: 87.13 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.33/17.46, allocations: 11.53 kB / 0.9857 GB, free: 87.12 MB / 0.6856 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)