Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.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.CarnotVerifyCOP,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP",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.001184/0.001184, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001184/0.001184, allocations: 192.3 kB / 16.25 MB, free: 6.629 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.207/1.207, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6963/0.6963, allocations: 132.2 MB / 422.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 62.97 kB / 0.5014 GB, free: 9.023 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1249, allocations: 80.2 MB / 0.5797 GB, free: 9.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.3199/0.4448, allocations: 131 MB / 0.7076 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0282/0.473, allocations: 23.02 MB / 0.7301 GB, free: 3.195 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004236/0.4773, allocations: 115.2 kB / 0.7302 GB, free: 3.148 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003629/0.481, allocations: 1.291 MB / 0.7314 GB, free: 2.371 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.009902/0.4909, allocations: 3.807 MB / 0.7352 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004831/0.4957, allocations: 1.986 MB / 0.7371 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007401/0.5031, allocations: 6.575 MB / 0.7435 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002594/0.5058, allocations: 2.348 MB / 0.7458 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005244/0.511, allocations: 2.771 MB / 0.7485 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002083/0.5131, allocations: 1.933 MB / 0.7504 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002828/0.5134, allocations: 252 kB / 0.7506 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003479/0.5169, allocations: 1.957 MB / 0.7526 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004553/0.5173, allocations: 0.5992 MB / 0.7531 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001235/0.5186, allocations: 1.462 MB / 0.7546 GB, free: 176 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004691/0.5233, allocations: 4.358 MB / 0.7588 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.5233, allocations: 0 / 0.7588 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5233, allocations: 0 / 0.7588 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.977e-05/0.5233, allocations: 0 / 0.7588 GB, free: 11.8 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.004612/0.528, allocations: 3.176 MB / 0.7619 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.528, allocations: 11.97 kB / 0.7619 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002189/0.5282, allocations: 227.7 kB / 0.7622 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003969/0.5322, allocations: 0.8434 MB / 0.763 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003496/0.5357, allocations: 2.286 MB / 0.7652 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008136/0.5365, allocations: 290.9 kB / 0.7655 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002117/0.5368, allocations: 160 kB / 0.7656 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003487/0.5403, allocations: 1.946 MB / 0.7675 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.877e-05/0.5403, allocations: 3.984 kB / 0.7675 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/0.5404, allocations: 67.94 kB / 0.7676 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/0.5405, allocations: 36 kB / 0.7676 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004083/0.5446, allocations: 1.807 MB / 0.7694 GB, free: 0.7227 MB / 0.5762 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.01012/0.5547, allocations: 9.011 MB / 0.7782 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003792/0.5585, allocations: 1.192 MB / 0.7794 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000965/0.5595, allocations: 454.2 kB / 0.7798 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009339/0.5604, allocations: 1.73 MB / 0.7815 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.5604, allocations: 50.42 kB / 0.7815 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.274e-06/0.5605, allocations: 0 / 0.7815 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.007475/0.5679, allocations: 2.319 MB / 0.7838 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.568, allocations: 85.11 kB / 0.7839 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003122/0.5711, allocations: 2.496 MB / 0.7863 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.935e-05/0.5712, allocations: 45.7 kB / 0.7864 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007207/0.5719, allocations: 1.041 MB / 0.7874 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002036/0.5721, allocations: 272.2 kB / 0.7876 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003635/0.5725, allocations: 250.6 kB / 0.7879 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.5726, allocations: 353.9 kB / 0.7882 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/0.5742, allocations: 0.5881 MB / 0.7888 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001793/0.576, allocations: 0.966 MB / 0.7897 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002568/0.5786, allocations: 1.257 MB / 0.791 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.5786, allocations: 8 kB / 0.791 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005464/0.584, allocations: 2.047 MB / 0.793 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.5841, allocations: 16.5 kB / 0.793 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.5841, allocations: 8 kB / 0.793 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001365/0.5855, allocations: 429.2 kB / 0.7934 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.5866, allocations: 291.6 kB / 0.7937 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/0.5884, allocations: 1.503 MB / 0.7952 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002416/0.5908, allocations: 430 kB / 0.7956 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.5909, allocations: 55.97 kB / 0.7956 GB, free: 4.418 MB / 0.6075 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 (112): * Single equations (assignments): 110 * 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,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0006056/0.5915, allocations: 473.4 kB / 0.7961 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003179/0.5919, allocations: 241 kB / 0.7963 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003085/0.5949, allocations: 1.493 MB / 0.7978 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/0.595, allocations: 11.98 kB / 0.7978 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.595, allocations: 4 kB / 0.7978 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.595, allocations: 11.97 kB / 0.7978 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006172/0.6012, allocations: 3.598 MB / 0.8013 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.6012, allocations: 4 kB / 0.8013 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005576/0.6018, allocations: 127.8 kB / 0.8014 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00122/0.603, allocations: 415.8 kB / 0.8018 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.566e-05/0.6031, allocations: 23.98 kB / 0.8018 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002197/0.6053, allocations: 1.573 MB / 0.8034 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.6053, allocations: 4 kB / 0.8034 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00495/0.6102, allocations: 1.931 MB / 0.8053 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006155/0.6109, allocations: 489.5 kB / 0.8057 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002734/0.6111, allocations: 16 kB / 0.8058 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001562/0.6127, allocations: 171.7 kB / 0.8059 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.075e-05/0.6128, allocations: 63.86 kB / 0.806 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.452e-05/0.6129, allocations: 40.06 kB / 0.806 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002313/0.6152, allocations: 1.753 MB / 0.8077 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.685e-06/0.6152, allocations: 0 / 0.8077 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001452/0.6167, allocations: 0.6827 MB / 0.8084 GB, free: 7.051 MB / 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 (63): * Single equations (assignments): 53 * 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,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005997/0.6227, allocations: 2.974 MB / 0.8113 GB, free: 4.02 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003644/0.6263, allocations: 1.401 MB / 0.8127 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.6263, allocations: 0 / 0.8127 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002027/0.6284, allocations: 0.668 MB / 0.8133 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00464/0.633, allocations: 1.342 MB / 0.8146 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03509/0.6681, allocations: 19.64 MB / 0.8338 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00084/0.669, allocations: 1.497 MB / 0.8353 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001622/0.6706, allocations: 434.3 kB / 0.8357 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009616/0.6716, allocations: 0.8976 MB / 0.8366 GB, free: 8.707 MB / 0.6544 GB Notification: Performance of SimCode: time 4.31e-07/0.6716, allocations: 0 / 0.8366 GB, free: 8.707 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.277/3.949, allocations: 67.32 MB / 0.9023 GB, free: 214 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000147/3.949, allocations: 259.2 kB / 0.9026 GB, free: 213.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.539/7.488, allocations: 0 / 0.9026 GB, free: 213.7 MB / 0.67 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)