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.005432/0.005432, allocations: 106.9 kB / 15.74 MB, free: 5.582 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.001041/0.001041, allocations: 197.7 kB / 16.67 MB, free: 5.508 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.226/1.226, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7349/0.7349, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 63.52 kB / 0.5809 GB, free: 24.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1441, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.452/0.5961, allocations: 132.2 MB / 0.7882 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02721/0.6234, allocations: 23.2 MB / 0.8109 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004996/0.6284, allocations: 124.3 kB / 0.811 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00417/0.6326, allocations: 1.485 MB / 0.8125 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01104/0.6437, allocations: 4.097 MB / 0.8165 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005199/0.6489, allocations: 2.167 MB / 0.8186 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009563/0.6585, allocations: 6.54 MB / 0.825 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003985/0.6625, allocations: 2.365 MB / 0.8273 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00699/0.6696, allocations: 2.805 MB / 0.83 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003643/0.6732, allocations: 1.89 MB / 0.8319 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008146/0.674, allocations: 247 kB / 0.8321 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005287/0.6793, allocations: 1.945 MB / 0.834 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001086/0.6805, allocations: 0.5924 MB / 0.8346 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003122/0.6836, allocations: 1.458 MB / 0.836 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008676/0.6923, allocations: 4.387 MB / 0.8403 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.6923, allocations: 0 / 0.8403 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6923, allocations: 0 / 0.8403 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001296/0.6925, allocations: 4 kB / 0.8403 GB, free: 2.379 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.007714/0.7002, allocations: 3.183 MB / 0.8434 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.7003, allocations: 8.031 kB / 0.8434 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000548/0.7008, allocations: 227.7 kB / 0.8436 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004468/0.7053, allocations: 0.8357 MB / 0.8444 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00544/0.7108, allocations: 2.334 MB / 0.8467 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/0.7109, allocations: 123 kB / 0.8468 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003948/0.7114, allocations: 168 kB / 0.847 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004363/0.7157, allocations: 1.922 MB / 0.8489 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.217e-05/0.7158, allocations: 0 / 0.8489 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00019/0.716, allocations: 67.94 kB / 0.8489 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.977e-05/0.716, allocations: 39.98 kB / 0.849 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004347/0.7204, allocations: 1.792 MB / 0.8507 GB, free: 7.449 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.01274/0.7331, allocations: 8.959 MB / 0.8595 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003937/0.7371, allocations: 1.184 MB / 0.8606 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001004/0.7381, allocations: 466.1 kB / 0.8611 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/0.7392, allocations: 1.726 MB / 0.8628 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.7393, allocations: 50.5 kB / 0.8628 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.746e-06/0.7393, allocations: 0 / 0.8628 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.008137/0.7474, allocations: 2.315 MB / 0.8651 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.7475, allocations: 85.11 kB / 0.8651 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004701/0.7522, allocations: 2.512 MB / 0.8676 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001506/0.7524, allocations: 45.7 kB / 0.8676 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009241/0.7533, allocations: 1.034 MB / 0.8687 GB, free: 3.965 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002952/0.7536, allocations: 268.1 kB / 0.8689 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005025/0.7541, allocations: 262.5 kB / 0.8692 GB, free: 3.438 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.7543, allocations: 353.9 kB / 0.8695 GB, free: 3.086 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/0.7559, allocations: 0.5725 MB / 0.8701 GB, free: 2.512 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001961/0.7578, allocations: 0.9504 MB / 0.871 GB, free: 1.414 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002824/0.7607, allocations: 1.244 MB / 0.8722 GB, free: 64 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/0.7607, allocations: 3.938 kB / 0.8722 GB, free: 60 kB / 0.6231 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006179/0.7669, allocations: 2.017 MB / 0.8742 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.7669, allocations: 11.94 kB / 0.8742 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.7669, allocations: 9.406 kB / 0.8742 GB, free: 14 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001603/0.7686, allocations: 425.2 kB / 0.8746 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/0.7698, allocations: 279.6 kB / 0.8749 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002039/0.7718, allocations: 1.507 MB / 0.8763 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002654/0.7745, allocations: 370 kB / 0.8767 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/0.7747, allocations: 59.95 kB / 0.8767 GB, free: 11.33 MB / 0.6387 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.0008733/0.7756, allocations: 461.5 kB / 0.8772 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006274/0.7762, allocations: 248.8 kB / 0.8774 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003577/0.7798, allocations: 1.491 MB / 0.8789 GB, free: 9.117 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.237e-05/0.7798, allocations: 15.98 kB / 0.8789 GB, free: 9.102 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.7798, allocations: 0 / 0.8789 GB, free: 9.102 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.7798, allocations: 7.984 kB / 0.8789 GB, free: 9.094 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007705/0.7876, allocations: 3.605 MB / 0.8824 GB, free: 5.375 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/0.7876, allocations: 4 kB / 0.8824 GB, free: 5.371 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006236/0.7882, allocations: 136.1 kB / 0.8826 GB, free: 5.238 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001429/0.7897, allocations: 413.2 kB / 0.883 GB, free: 4.828 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.912e-05/0.7898, allocations: 23.98 kB / 0.883 GB, free: 4.805 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002388/0.7921, allocations: 1.571 MB / 0.8845 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.7922, allocations: 4 kB / 0.8845 GB, free: 3.18 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005744/0.7979, allocations: 1.939 MB / 0.8864 GB, free: 1.18 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/0.7991, allocations: 489.6 kB / 0.8869 GB, free: 0.6797 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006019/0.7997, allocations: 20 kB / 0.8869 GB, free: 0.6602 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001882/0.8016, allocations: 139.8 kB / 0.887 GB, free: 0.5234 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.886e-05/0.8017, allocations: 63.8 kB / 0.8871 GB, free: 472 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.8018, allocations: 39.97 kB / 0.8871 GB, free: 432 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003477/0.8053, allocations: 1.75 MB / 0.8888 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.573e-06/0.8053, allocations: 0 / 0.8888 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002525/0.8079, allocations: 0.6982 MB / 0.8895 GB, free: 13.97 MB / 0.6544 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.007678/0.8156, allocations: 2.987 MB / 0.8924 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004133/0.8197, allocations: 1.35 MB / 0.8938 GB, free: 9.57 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.8197, allocations: 0 / 0.8938 GB, free: 9.57 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002215/0.822, allocations: 0.6692 MB / 0.8944 GB, free: 8.902 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005994/0.828, allocations: 1.329 MB / 0.8957 GB, free: 7.633 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03385/0.8619, allocations: 16.53 MB / 0.9118 GB, free: 6.629 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001285/0.8632, allocations: 1.49 MB / 0.9133 GB, free: 5.102 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00183/0.865, allocations: 436.5 kB / 0.9137 GB, free: 4.672 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001254/0.8663, allocations: 0.8976 MB / 0.9146 GB, free: 3.773 MB / 0.67 GB Notification: Performance of SimCode: time 7.02e-07/0.8663, allocations: 4 kB / 0.9146 GB, free: 3.77 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1104/0.9767, allocations: 67.2 MB / 0.9802 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.16/16.13, allocations: 6.734 kB / 0.9802 GB, free: 1.125 MB / 0.7325 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)