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.0009881/0.0009882, 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.00144/0.00144, allocations: 197 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.237/1.237, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8757/0.8757, allocations: 135.1 MB / 425.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 58.59 kB / 0.5054 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.133, allocations: 80.92 MB / 0.5845 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.3235/0.4565, allocations: 132.2 MB / 0.7136 GB, free: 14 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02946/0.486, allocations: 23.19 MB / 0.7362 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004031/0.4901, allocations: 123.8 kB / 0.7363 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003199/0.4933, allocations: 1.488 MB / 0.7378 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01009/0.5034, allocations: 4.088 MB / 0.7418 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004842/0.5083, allocations: 2.144 MB / 0.7439 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007101/0.5154, allocations: 6.525 MB / 0.7502 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003167/0.5186, allocations: 2.369 MB / 0.7525 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005326/0.5239, allocations: 2.745 MB / 0.7552 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002875/0.5268, allocations: 1.886 MB / 0.7571 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006075/0.5274, allocations: 248 kB / 0.7573 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004455/0.5319, allocations: 1.934 MB / 0.7592 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007561/0.5327, allocations: 0.607 MB / 0.7598 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002188/0.5348, allocations: 1.458 MB / 0.7612 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005598/0.5405, allocations: 4.331 MB / 0.7654 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.5405, allocations: 4 kB / 0.7654 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.183e-06/0.5405, allocations: 0 / 0.7654 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001034/0.5406, allocations: 0 / 0.7654 GB, free: 3.527 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.005496/0.5461, allocations: 3.192 MB / 0.7686 GB, free: 256 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.5461, allocations: 12.03 kB / 0.7686 GB, free: 244 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002146/0.5464, allocations: 220.3 kB / 0.7688 GB, free: 12 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004202/0.5506, allocations: 0.8472 MB / 0.7696 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003394/0.554, allocations: 2.202 MB / 0.7718 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009007/0.5549, allocations: 282.9 kB / 0.772 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001993/0.5551, allocations: 171.9 kB / 0.7722 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003537/0.5586, allocations: 1.934 MB / 0.7741 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.5587, allocations: 3.938 kB / 0.7741 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/0.5588, allocations: 68 kB / 0.7742 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.66e-05/0.5588, allocations: 39.94 kB / 0.7742 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004382/0.5632, allocations: 1.827 MB / 0.776 GB, free: 8.5 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.01187/0.5751, allocations: 9.081 MB / 0.7848 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004203/0.5793, allocations: 1.202 MB / 0.786 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/0.5804, allocations: 457.5 kB / 0.7865 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/0.5815, allocations: 1.722 MB / 0.7881 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.5816, allocations: 46.31 kB / 0.7882 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 2.575e-06/0.5816, allocations: 3.938 kB / 0.7882 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.008269/0.5898, allocations: 2.335 MB / 0.7905 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.5899, allocations: 85.11 kB / 0.7905 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00415/0.5941, allocations: 2.54 MB / 0.793 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001125/0.5942, allocations: 45.7 kB / 0.7931 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008428/0.595, allocations: 1.045 MB / 0.7941 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002434/0.5953, allocations: 268.2 kB / 0.7943 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004331/0.5957, allocations: 254.6 kB / 0.7946 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.5958, allocations: 345.9 kB / 0.7949 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/0.5976, allocations: 0.5881 MB / 0.7955 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002076/0.5997, allocations: 0.9699 MB / 0.7964 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002998/0.6027, allocations: 1.265 MB / 0.7977 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.8e-06/0.6027, allocations: 0 / 0.7977 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006693/0.6094, allocations: 2.052 MB / 0.7997 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.6095, allocations: 8 kB / 0.7997 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.6095, allocations: 8 kB / 0.7997 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001822/0.6113, allocations: 0.4934 MB / 0.8002 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.6125, allocations: 283.6 kB / 0.8004 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00213/0.6147, allocations: 1.511 MB / 0.8019 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002843/0.6175, allocations: 402.3 kB / 0.8023 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001631/0.6177, allocations: 59.97 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.0008704/0.6186, allocations: 461.8 kB / 0.8028 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006485/0.6192, allocations: 248.8 kB / 0.803 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003717/0.623, allocations: 1.495 MB / 0.8045 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/0.623, allocations: 11.98 kB / 0.8045 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.623, allocations: 0 / 0.8045 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/0.623, allocations: 7.922 kB / 0.8045 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00748/0.6305, allocations: 3.633 MB / 0.8081 GB, free: 6.051 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.6305, allocations: 384 / 0.8081 GB, free: 6.051 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005856/0.6311, allocations: 123.8 kB / 0.8082 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001577/0.6327, allocations: 490.5 kB / 0.8087 GB, free: 5.445 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.37e-05/0.6328, allocations: 27.98 kB / 0.8087 GB, free: 5.418 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002477/0.6353, allocations: 1.592 MB / 0.8102 GB, free: 3.777 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.6353, allocations: 8 kB / 0.8102 GB, free: 3.77 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005793/0.6411, allocations: 1.935 MB / 0.8121 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009869/0.6421, allocations: 497.5 kB / 0.8126 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005134/0.6426, allocations: 24 kB / 0.8126 GB, free: 1.238 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001861/0.6445, allocations: 143.8 kB / 0.8128 GB, free: 1.098 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.126e-05/0.6446, allocations: 55.81 kB / 0.8128 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.852e-05/0.6447, allocations: 43.97 kB / 0.8129 GB, free: 1 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003148/0.6478, allocations: 1.789 MB / 0.8146 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6479, allocations: 0 / 0.8146 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001963/0.6498, 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.007135/0.657, allocations: 2.988 MB / 0.8182 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00421/0.6612, allocations: 1.401 MB / 0.8196 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.6612, allocations: 0 / 0.8196 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002324/0.6635, allocations: 0.6822 MB / 0.8202 GB, free: 9.375 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006054/0.6696, 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.03388/0.7035, 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.001151/0.7047, allocations: 1.486 MB / 0.8418 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001929/0.7066, allocations: 432.6 kB / 0.8422 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001112/0.7077, allocations: 0.9053 MB / 0.8431 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of SimCode: time 4.71e-07/0.7078, allocations: 0 / 0.8431 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.838/5.546, allocations: 68.48 MB / 0.91 GB, free: 207.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.88/24.42, allocations: 4.656 kB / 0.91 GB, free: 207.1 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)