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.00107/0.00107, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001148/0.001148, allocations: 195.1 kB / 16.14 MB, free: 6.656 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: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8243/0.8243, allocations: 135.1 MB / 425.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 67.39 kB / 0.5048 GB, free: 5.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1241, allocations: 80.93 MB / 0.5838 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.3016/0.4257, allocations: 131.3 MB / 0.7121 GB, free: 14.81 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02881/0.4546, allocations: 23.28 MB / 0.7348 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004531/0.4592, allocations: 114.7 kB / 0.7349 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003842/0.463, allocations: 1.209 MB / 0.7361 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009805/0.4729, allocations: 3.769 MB / 0.7398 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005354/0.4782, allocations: 1.956 MB / 0.7417 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008115/0.4864, allocations: 8.279 MB / 0.7498 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002733/0.4891, allocations: 1.976 MB / 0.7517 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004273/0.4934, allocations: 2.364 MB / 0.754 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002701/0.4961, allocations: 1.878 MB / 0.7558 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004214/0.4965, allocations: 120 kB / 0.756 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003831/0.5004, allocations: 1.746 MB / 0.7577 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005494/0.5009, allocations: 485.6 kB / 0.7581 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001668/0.5026, allocations: 1.333 MB / 0.7594 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004963/0.5076, allocations: 4.234 MB / 0.7636 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5076, allocations: 0 / 0.7636 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.72e-07/0.5076, allocations: 4 kB / 0.7636 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.077e-05/0.5077, allocations: 0 / 0.7636 GB, free: 5.293 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.005314/0.513, allocations: 3.194 MB / 0.7667 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.5131, allocations: 8.031 kB / 0.7667 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002282/0.5133, allocations: 228.3 kB / 0.7669 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004221/0.5175, allocations: 0.8395 MB / 0.7677 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003578/0.5211, allocations: 2.255 MB / 0.7699 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008893/0.522, allocations: 290.8 kB / 0.7702 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002046/0.5222, allocations: 167.9 kB / 0.7704 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003666/0.5259, allocations: 1.934 MB / 0.7723 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.5259, allocations: 4 kB / 0.7723 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/0.5261, allocations: 63.94 kB / 0.7723 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.67e-05/0.5261, allocations: 39.94 kB / 0.7724 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004386/0.5305, allocations: 1.831 MB / 0.7741 GB, free: 10.21 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.01039/0.5409, allocations: 9.026 MB / 0.783 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003985/0.5449, allocations: 1.207 MB / 0.7841 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009839/0.5459, allocations: 457.4 kB / 0.7846 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/0.5469, allocations: 1.726 MB / 0.7863 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.547, allocations: 42.31 kB / 0.7863 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 3.096e-06/0.547, allocations: 0 / 0.7863 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.007907/0.5549, allocations: 2.339 MB / 0.7886 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.5549, allocations: 85.11 kB / 0.7887 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003308/0.5583, allocations: 2.512 MB / 0.7911 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.918e-05/0.5584, allocations: 45.7 kB / 0.7912 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007684/0.5591, allocations: 1.049 MB / 0.7922 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/0.5593, allocations: 272.1 kB / 0.7924 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003879/0.5597, allocations: 258.6 kB / 0.7927 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.5599, allocations: 345.9 kB / 0.793 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/0.5615, allocations: 0.5881 MB / 0.7936 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/0.5634, allocations: 0.9699 MB / 0.7945 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002709/0.5661, allocations: 1.261 MB / 0.7958 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.507e-06/0.5661, allocations: 4 kB / 0.7958 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005782/0.5719, allocations: 2.048 MB / 0.7978 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.5719, allocations: 8 kB / 0.7978 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.5719, allocations: 8 kB / 0.7978 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001593/0.5735, allocations: 497.4 kB / 0.7983 GB, free: 100 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.5747, allocations: 291.5 kB / 0.7985 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001902/0.5766, allocations: 1.514 MB / 0.8 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002545/0.5792, allocations: 432.9 kB / 0.8004 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.5793, allocations: 59.97 kB / 0.8005 GB, free: 13.77 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.0006709/0.58, allocations: 458.9 kB / 0.8009 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003647/0.5804, allocations: 252.8 kB / 0.8012 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003344/0.5837, allocations: 1.505 MB / 0.8026 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.76e-05/0.5838, allocations: 15.97 kB / 0.8027 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5838, allocations: 3.938 kB / 0.8027 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.5838, allocations: 3.984 kB / 0.8027 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006665/0.5905, allocations: 3.614 MB / 0.8062 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.5905, allocations: 8.312 kB / 0.8062 GB, free: 7.797 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005888/0.5911, allocations: 127.8 kB / 0.8063 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001521/0.5926, allocations: 497.1 kB / 0.8068 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.876e-05/0.5927, allocations: 19.98 kB / 0.8068 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002289/0.595, allocations: 1.591 MB / 0.8084 GB, free: 5.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.595, allocations: 7.938 kB / 0.8084 GB, free: 5.512 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005278/0.6003, allocations: 1.931 MB / 0.8103 GB, free: 3.516 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007087/0.601, allocations: 493.5 kB / 0.8107 GB, free: 3.012 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003192/0.6013, allocations: 16 kB / 0.8108 GB, free: 2.996 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001736/0.6031, allocations: 179.6 kB / 0.8109 GB, free: 2.82 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.594e-05/0.6032, allocations: 63.8 kB / 0.811 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.849e-05/0.6032, allocations: 39.97 kB / 0.811 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002574/0.6058, allocations: 1.769 MB / 0.8127 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6058, allocations: 0 / 0.8127 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001594/0.6074, allocations: 0.6828 MB / 0.8134 GB, free: 268 kB / 0.6231 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.006411/0.6139, allocations: 2.972 MB / 0.8163 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003656/0.6175, allocations: 1.358 MB / 0.8176 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6175, allocations: 0 / 0.8176 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002121/0.6197, allocations: 0.6783 MB / 0.8183 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004919/0.6246, allocations: 1.261 MB / 0.8195 GB, free: 9.949 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03835/0.6629, allocations: 19.81 MB / 0.8389 GB, free: 4.645 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009431/0.6639, allocations: 1.493 MB / 0.8403 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001808/0.6657, allocations: 430.8 kB / 0.8408 GB, free: 2.699 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/0.6668, allocations: 0.8976 MB / 0.8416 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of SimCode: time 4.71e-07/0.6668, allocations: 0 / 0.8416 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.288/0.9548, allocations: 65.78 MB / 0.9059 GB, free: 205.5 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/0.955, allocations: 282.4 kB / 0.9061 GB, free: 205.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.273/4.228, allocations: 0 / 0.9061 GB, free: 205.2 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)