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.001038/0.001038, allocations: 108 kB / 15.6 MB, free: 132 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.001037/0.001037, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6944/0.6944, allocations: 132.2 MB / 422.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 68.7 kB / 0.5019 GB, free: 3.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3509, allocations: 80.2 MB / 0.5802 GB, free: 4.594 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1104/0.4614, allocations: 132.2 MB / 0.7093 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02668/0.4881, allocations: 23.2 MB / 0.7319 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003364/0.4915, allocations: 123.2 kB / 0.7321 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003459/0.495, allocations: 1.49 MB / 0.7335 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01117/0.5062, allocations: 4.092 MB / 0.7375 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005163/0.5114, allocations: 2.148 MB / 0.7396 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007921/0.5193, allocations: 6.516 MB / 0.746 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003584/0.5229, allocations: 2.367 MB / 0.7483 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005584/0.5285, allocations: 2.745 MB / 0.751 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003097/0.5316, allocations: 1.89 MB / 0.7528 GB, free: 268 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007927/0.5324, allocations: 248 kB / 0.7531 GB, free: 20 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004614/0.5371, allocations: 1.934 MB / 0.7549 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008836/0.538, allocations: 0.5992 MB / 0.7555 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002488/0.5405, allocations: 1.458 MB / 0.7569 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006757/0.5472, allocations: 4.335 MB / 0.7612 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.5472, allocations: 0 / 0.7612 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5473, allocations: 4 kB / 0.7612 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001202/0.5474, allocations: 4 kB / 0.7612 GB, free: 7.66 MB / 0.5919 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.006898/0.5543, allocations: 3.188 MB / 0.7643 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.5543, allocations: 8.031 kB / 0.7643 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003481/0.5547, allocations: 224 kB / 0.7645 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004306/0.559, allocations: 0.8395 MB / 0.7653 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003588/0.5626, allocations: 2.201 MB / 0.7675 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009273/0.5635, allocations: 290.8 kB / 0.7678 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002256/0.5638, allocations: 164 kB / 0.7679 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003683/0.5675, allocations: 1.934 MB / 0.7698 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.5675, allocations: 8 kB / 0.7698 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/0.5677, allocations: 67.94 kB / 0.7699 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.607e-05/0.5677, allocations: 36 kB / 0.7699 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004444/0.5721, allocations: 1.827 MB / 0.7717 GB, free: 12.64 MB / 0.6075 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.01149/0.5836, allocations: 9.086 MB / 0.7806 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004069/0.5877, allocations: 1.199 MB / 0.7818 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00103/0.5888, allocations: 457.4 kB / 0.7822 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/0.5898, allocations: 1.723 MB / 0.7839 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.5898, allocations: 50.44 kB / 0.7839 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.305e-06/0.5898, allocations: 0 / 0.7839 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.008064/0.5979, allocations: 2.334 MB / 0.7862 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.598, allocations: 89.11 kB / 0.7863 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003517/0.6015, allocations: 2.544 MB / 0.7888 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001017/0.6016, allocations: 45.64 kB / 0.7888 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007731/0.6024, allocations: 1.042 MB / 0.7898 GB, free: 8.965 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002328/0.6026, allocations: 268.2 kB / 0.7901 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003762/0.603, allocations: 262.5 kB / 0.7903 GB, free: 8.438 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.6031, allocations: 353.8 kB / 0.7907 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001715/0.6048, allocations: 0.5842 MB / 0.7912 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002012/0.6069, allocations: 0.9738 MB / 0.7922 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002939/0.6098, allocations: 1.261 MB / 0.7934 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.6098, allocations: 4 kB / 0.7934 GB, free: 5.004 MB / 0.6231 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00642/0.6163, allocations: 2.048 MB / 0.7954 GB, free: 2.938 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.6163, allocations: 8 kB / 0.7954 GB, free: 2.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.6163, allocations: 8 kB / 0.7954 GB, free: 2.922 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00169/0.618, allocations: 0.4893 MB / 0.7959 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/0.6192, allocations: 279.6 kB / 0.7962 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002148/0.6213, allocations: 1.514 MB / 0.7977 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002628/0.624, allocations: 394 kB / 0.798 GB, free: 204 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.6241, allocations: 63.97 kB / 0.7981 GB, free: 140 kB / 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.0007374/0.6249, allocations: 461.5 kB / 0.7985 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003698/0.6252, allocations: 248.9 kB / 0.7988 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003395/0.6286, allocations: 1.499 MB / 0.8002 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-05/0.6287, allocations: 15.98 kB / 0.8003 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.6287, allocations: 0 / 0.8003 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.6287, allocations: 7.984 kB / 0.8003 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006797/0.6355, allocations: 3.612 MB / 0.8038 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.6355, allocations: 11.94 kB / 0.8038 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005791/0.6361, allocations: 132.1 kB / 0.8039 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001464/0.6376, allocations: 487 kB / 0.8044 GB, free: 9.562 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.401e-05/0.6376, allocations: 27.97 kB / 0.8044 GB, free: 9.535 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002456/0.6401, allocations: 1.585 MB / 0.806 GB, free: 7.898 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.6401, allocations: 0 / 0.806 GB, free: 7.898 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005666/0.6458, allocations: 1.947 MB / 0.8079 GB, free: 5.891 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007224/0.6465, allocations: 485.6 kB / 0.8083 GB, free: 5.395 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002945/0.6468, allocations: 20 kB / 0.8084 GB, free: 5.375 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001594/0.6484, allocations: 151.8 kB / 0.8085 GB, free: 5.227 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.845e-05/0.6485, allocations: 51.88 kB / 0.8085 GB, free: 5.176 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.565e-05/0.6486, allocations: 43.95 kB / 0.8086 GB, free: 5.133 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002609/0.6512, allocations: 1.793 MB / 0.8103 GB, free: 3.336 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.553e-06/0.6512, allocations: 0 / 0.8103 GB, free: 3.336 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001597/0.6528, allocations: 0.6904 MB / 0.811 GB, free: 2.645 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.2105/0.8634, allocations: 3.001 MB / 0.8139 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004669/0.8681, allocations: 1.394 MB / 0.8153 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.8681, allocations: 1.75 kB / 0.8153 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002357/0.8705, allocations: 0.6683 MB / 0.816 GB, free: 215 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006028/0.8765, allocations: 1.33 MB / 0.8173 GB, free: 214.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03211/0.9086, allocations: 19.25 MB / 0.8361 GB, free: 204 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008401/0.9095, allocations: 1.485 MB / 0.8375 GB, free: 203.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002162/0.9117, allocations: 435.8 kB / 0.8379 GB, free: 203.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009047/0.9126, allocations: 0.9049 MB / 0.8388 GB, free: 202.4 MB / 0.6387 GB Notification: Performance of SimCode: time 1.182e-06/0.9126, allocations: 0 / 0.8388 GB, free: 202.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9606/1.873, allocations: 68.49 MB / 0.9057 GB, free: 140.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.17/17.04, allocations: 11.84 kB / 0.9057 GB, free: 140.7 MB / 0.6387 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)