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.006568/0.006568, allocations: 102.2 kB / 15.73 MB, free: 6.469 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.001549/0.001549, allocations: 194 kB / 16.67 MB, free: 6.379 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.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7301/0.7301, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 66.7 kB / 0.5809 GB, free: 1.125 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1504, allocations: 80.2 MB / 0.6592 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1082/0.2586, allocations: 132.2 MB / 0.7882 GB, free: 9.422 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0295/0.2881, allocations: 23.2 MB / 0.8109 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005853/0.2941, allocations: 123.2 kB / 0.811 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00455/0.2986, allocations: 1.49 MB / 0.8125 GB, free: 0.543 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.3669/0.6656, allocations: 4.084 MB / 0.8165 GB, free: 42.34 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005233/0.6709, allocations: 2.168 MB / 0.8186 GB, free: 42.34 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01127/0.6822, allocations: 6.532 MB / 0.825 GB, free: 42.34 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003969/0.6862, allocations: 2.369 MB / 0.8273 GB, free: 42.04 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006896/0.6931, allocations: 2.812 MB / 0.83 GB, free: 42.03 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003774/0.6969, allocations: 1.881 MB / 0.8319 GB, free: 41.71 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004912/0.6974, allocations: 247.5 kB / 0.8321 GB, free: 41.71 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004596/0.702, allocations: 1.938 MB / 0.834 GB, free: 41.71 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005032/0.7025, allocations: 0.5959 MB / 0.8346 GB, free: 41.61 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001892/0.7044, allocations: 1.464 MB / 0.836 GB, free: 41.21 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00583/0.7103, allocations: 4.39 MB / 0.8403 GB, free: 40.66 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.7103, allocations: 0 / 0.8403 GB, free: 40.66 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7103, allocations: 1.219 kB / 0.8403 GB, free: 40.66 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.324e-05/0.7103, allocations: 0 / 0.8403 GB, free: 40.66 MB / 0.6387 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.005436/0.7158, allocations: 3.175 MB / 0.8434 GB, free: 39.11 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.7158, allocations: 8.906 kB / 0.8434 GB, free: 39.11 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002211/0.7161, allocations: 221.2 kB / 0.8436 GB, free: 39.06 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004103/0.7202, allocations: 0.8366 MB / 0.8444 GB, free: 38.89 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00403/0.7242, allocations: 2.337 MB / 0.8467 GB, free: 38.31 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.367e-05/0.7243, allocations: 126.9 kB / 0.8468 GB, free: 38.3 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002012/0.7245, allocations: 160.3 kB / 0.847 GB, free: 38.3 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003579/0.7281, allocations: 1.928 MB / 0.8489 GB, free: 38.08 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.214e-05/0.7282, allocations: 0 / 0.8489 GB, free: 38.08 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001393/0.7283, allocations: 68.94 kB / 0.8489 GB, free: 38.08 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/0.7283, allocations: 40.53 kB / 0.849 GB, free: 38.07 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004087/0.7324, allocations: 1.786 MB / 0.8507 GB, free: 38.04 MB / 0.6387 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.01018/0.7426, allocations: 8.969 MB / 0.8595 GB, free: 33.68 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003944/0.7466, allocations: 1.192 MB / 0.8606 GB, free: 33.61 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009865/0.7476, allocations: 460.3 kB / 0.8611 GB, free: 33.59 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007245/0.7483, allocations: 1.723 MB / 0.8628 GB, free: 31.61 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.7484, allocations: 44.94 kB / 0.8628 GB, free: 31.57 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 3.377e-06/0.7484, allocations: 0 / 0.8628 GB, free: 31.57 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.008221/0.7566, allocations: 2.331 MB / 0.8651 GB, free: 31.13 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.7566, allocations: 87.39 kB / 0.8652 GB, free: 31.04 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00341/0.7601, allocations: 2.497 MB / 0.8676 GB, free: 30.42 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001258/0.7602, allocations: 45.2 kB / 0.8676 GB, free: 30.39 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.00066/0.7609, allocations: 1.042 MB / 0.8687 GB, free: 30.02 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/0.7611, allocations: 271.8 kB / 0.8689 GB, free: 29.83 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003815/0.7615, allocations: 256.9 kB / 0.8692 GB, free: 29.77 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.823e-05/0.7615, allocations: 347 kB / 0.8695 GB, free: 29.45 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001563/0.7631, allocations: 0.569 MB / 0.87 GB, free: 29.34 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001832/0.765, allocations: 0.9561 MB / 0.871 GB, free: 28.79 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002664/0.7676, allocations: 1.252 MB / 0.8722 GB, free: 28.32 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.7677, allocations: 3.25 kB / 0.8722 GB, free: 28.32 MB / 0.6387 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005924/0.7736, allocations: 2.02 MB / 0.8742 GB, free: 27.49 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.7736, allocations: 12.69 kB / 0.8742 GB, free: 27.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.7736, allocations: 7.656 kB / 0.8742 GB, free: 27.48 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001472/0.7751, allocations: 430.4 kB / 0.8746 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.7762, allocations: 279.8 kB / 0.8749 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001793/0.778, allocations: 1.502 MB / 0.8763 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002512/0.7805, allocations: 358.8 kB / 0.8767 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.7807, allocations: 67.88 kB / 0.8768 GB, free: 25.71 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.0008422/0.7815, allocations: 458.4 kB / 0.8772 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003854/0.7819, allocations: 250.6 kB / 0.8774 GB, free: 25.27 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003068/0.785, allocations: 1.493 MB / 0.8789 GB, free: 23.91 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/0.785, allocations: 16 kB / 0.8789 GB, free: 23.9 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.785, allocations: 0 / 0.8789 GB, free: 23.9 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.785, allocations: 3.984 kB / 0.8789 GB, free: 23.89 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006159/0.7912, allocations: 3.591 MB / 0.8824 GB, free: 20.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.7912, allocations: 8.375 kB / 0.8824 GB, free: 20.23 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005459/0.7918, allocations: 130.4 kB / 0.8825 GB, free: 20.11 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001233/0.793, allocations: 416.9 kB / 0.8829 GB, free: 19.7 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.508e-05/0.7931, allocations: 27.92 kB / 0.883 GB, free: 19.67 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002121/0.7952, allocations: 1.567 MB / 0.8845 GB, free: 18.06 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.7952, allocations: 15.06 kB / 0.8845 GB, free: 18.05 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005156/0.8004, allocations: 1.933 MB / 0.8864 GB, free: 16.09 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009039/0.8013, allocations: 489.6 kB / 0.8869 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000258/0.8016, allocations: 20 kB / 0.8869 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/0.8031, allocations: 139.8 kB / 0.887 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.626e-05/0.8032, allocations: 63.06 kB / 0.8871 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.219e-05/0.8032, allocations: 43.95 kB / 0.8871 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002242/0.8055, allocations: 1.746 MB / 0.8888 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8055, allocations: 0 / 0.8888 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001697/0.8072, allocations: 0.6905 MB / 0.8895 GB, free: 12.89 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 (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.006115/0.8133, allocations: 2.998 MB / 0.8924 GB, free: 9.914 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003547/0.8169, allocations: 1.344 MB / 0.8937 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.8169, allocations: 0 / 0.8937 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002068/0.819, allocations: 0.6688 MB / 0.8944 GB, free: 7.965 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005333/0.8243, allocations: 1.332 MB / 0.8957 GB, free: 6.695 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02917/0.8535, allocations: 16.53 MB / 0.9118 GB, free: 5.852 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009142/0.8544, allocations: 1.482 MB / 0.9133 GB, free: 4.34 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001672/0.8561, allocations: 435.2 kB / 0.9137 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/0.8572, allocations: 0.8976 MB / 0.9146 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of SimCode: time 8.82e-07/0.8572, allocations: 0 / 0.9146 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1068/0.964, allocations: 67.2 MB / 0.9802 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.07/16.03, allocations: 8.047 kB / 0.9802 GB, free: 0.8203 MB / 0.7169 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)