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.007955/0.007955, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001961/0.001961, allocations: 197.9 kB / 16.67 MB, free: 5.973 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7613/0.7613, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 71.86 kB / 0.5809 GB, free: 8.074 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.3906, allocations: 80.21 MB / 0.6592 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.136/0.5267, allocations: 132.2 MB / 0.7883 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03569/0.5624, allocations: 23.2 MB / 0.8109 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004958/0.5674, allocations: 127.2 kB / 0.811 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004508/0.572, allocations: 1.486 MB / 0.8125 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01171/0.5837, allocations: 4.095 MB / 0.8165 GB, free: 4.645 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005677/0.5894, allocations: 2.17 MB / 0.8186 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009657/0.5991, allocations: 6.539 MB / 0.825 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00453/0.6036, allocations: 2.359 MB / 0.8273 GB, free: 9.523 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007031/0.6107, allocations: 2.751 MB / 0.83 GB, free: 6.77 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003711/0.6144, allocations: 1.886 MB / 0.8318 GB, free: 4.875 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0008532/0.6152, allocations: 248 kB / 0.8321 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005096/0.6203, allocations: 1.946 MB / 0.834 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001043/0.6214, allocations: 0.5954 MB / 0.8345 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002864/0.6243, allocations: 1.458 MB / 0.836 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008532/0.6328, allocations: 4.402 MB / 0.8403 GB, free: 12.21 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.6328, allocations: 4 kB / 0.8403 GB, free: 12.2 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6328, allocations: 0 / 0.8403 GB, free: 12.2 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001255/0.633, allocations: 0 / 0.8403 GB, free: 12.2 MB / 0.67 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.007446/0.6404, allocations: 3.266 MB / 0.8435 GB, free: 8.848 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.6405, allocations: 12.03 kB / 0.8435 GB, free: 8.836 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002914/0.6408, allocations: 223.8 kB / 0.8437 GB, free: 8.605 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004436/0.6452, allocations: 0.8528 MB / 0.8445 GB, free: 7.75 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004752/0.65, allocations: 2.352 MB / 0.8468 GB, free: 5.324 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.6501, allocations: 131 kB / 0.8469 GB, free: 5.195 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002371/0.6504, allocations: 160 kB / 0.8471 GB, free: 5.039 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004096/0.6545, allocations: 1.926 MB / 0.849 GB, free: 3.047 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.2e-05/0.6545, allocations: 11.88 kB / 0.849 GB, free: 3.035 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/0.6547, allocations: 64 kB / 0.849 GB, free: 2.973 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.239e-05/0.6547, allocations: 36 kB / 0.8491 GB, free: 2.938 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004695/0.6594, allocations: 1.776 MB / 0.8508 GB, free: 1.16 MB / 0.67 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.01317/0.6726, allocations: 8.995 MB / 0.8596 GB, free: 7.566 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004366/0.677, allocations: 1.202 MB / 0.8608 GB, free: 6.352 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/0.6781, allocations: 457.4 kB / 0.8612 GB, free: 5.898 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001433/0.6796, allocations: 1.73 MB / 0.8629 GB, free: 3.781 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.6796, allocations: 38.56 kB / 0.8629 GB, free: 3.734 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=76): time 2.705e-06/0.6796, allocations: 0 / 0.8629 GB, free: 3.734 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.009044/0.6887, allocations: 2.34 MB / 0.8652 GB, free: 1.344 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.574e-05/0.6888, allocations: 89.09 kB / 0.8653 GB, free: 1.238 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3017/0.9905, allocations: 2.497 MB / 0.8677 GB, free: 188.9 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.00023/0.9908, allocations: 46.77 kB / 0.8678 GB, free: 188.9 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008282/0.9916, allocations: 1.043 MB / 0.8688 GB, free: 188.2 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002748/0.9919, allocations: 285.4 kB / 0.8691 GB, free: 188.2 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004487/0.9923, allocations: 261.4 kB / 0.8693 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.532e-05/0.9924, allocations: 349.1 kB / 0.8697 GB, free: 187.8 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001801/0.9942, allocations: 0.5738 MB / 0.8702 GB, free: 187.6 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002069/0.9963, allocations: 0.9514 MB / 0.8711 GB, free: 187 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003039/0.9994, allocations: 1.25 MB / 0.8724 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.9994, allocations: 2.594 kB / 0.8724 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006778/1.006, allocations: 2.032 MB / 0.8744 GB, free: 185.8 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/1.006, allocations: 11.31 kB / 0.8744 GB, free: 185.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/1.006, allocations: 10.09 kB / 0.8744 GB, free: 185.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00171/1.008, allocations: 417.7 kB / 0.8748 GB, free: 185.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/1.009, allocations: 281.3 kB / 0.875 GB, free: 185.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/1.011, allocations: 1.506 MB / 0.8765 GB, free: 184.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002689/1.014, allocations: 377.5 kB / 0.8769 GB, free: 184.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001625/1.014, allocations: 60.91 kB / 0.8769 GB, free: 184.4 MB / 0.6856 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.0008073/1.015, allocations: 455.6 kB / 0.8774 GB, free: 184.1 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003614/1.015, allocations: 257.9 kB / 0.8776 GB, free: 184 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003274/1.019, allocations: 1.492 MB / 0.8791 GB, free: 183.4 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.057e-05/1.019, allocations: 16.39 kB / 0.8791 GB, free: 183.4 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-05/1.019, allocations: 1.469 kB / 0.8791 GB, free: 183.4 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/1.019, allocations: 5.109 kB / 0.8791 GB, free: 183.4 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006542/1.025, allocations: 3.601 MB / 0.8826 GB, free: 181.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/1.025, allocations: 7.812 kB / 0.8826 GB, free: 181.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000576/1.026, allocations: 128.7 kB / 0.8827 GB, free: 181.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001352/1.027, allocations: 428 kB / 0.8831 GB, free: 181.8 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.839e-05/1.027, allocations: 21.67 kB / 0.8832 GB, free: 181.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00226/1.03, allocations: 1.571 MB / 0.8847 GB, free: 180.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.03, allocations: 7.656 kB / 0.8847 GB, free: 180.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005746/1.035, allocations: 1.951 MB / 0.8866 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009807/1.036, allocations: 0.4894 MB / 0.8871 GB, free: 178.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002972/1.037, allocations: 18.97 kB / 0.8871 GB, free: 178.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001522/1.038, allocations: 139.3 kB / 0.8872 GB, free: 178.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.224e-05/1.038, allocations: 60.81 kB / 0.8873 GB, free: 178.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-05/1.038, allocations: 42.48 kB / 0.8873 GB, free: 178.8 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002694/1.041, allocations: 1.745 MB / 0.889 GB, free: 177.9 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.9e-07/1.041, allocations: 0 / 0.889 GB, free: 177.9 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001847/1.043, allocations: 0.7022 MB / 0.8897 GB, free: 177.8 MB / 0.6856 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.006657/1.05, allocations: 3.005 MB / 0.8927 GB, free: 176 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003893/1.054, allocations: 1.347 MB / 0.894 GB, free: 175.4 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/1.054, allocations: 1.375 kB / 0.894 GB, free: 175.4 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00222/1.056, allocations: 0.6633 MB / 0.8946 GB, free: 175.1 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005727/1.062, allocations: 1.329 MB / 0.8959 GB, free: 174.4 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03/1.092, allocations: 16.63 MB / 0.9122 GB, free: 165 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007127/1.092, allocations: 1.483 MB / 0.9136 GB, free: 164 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001699/1.094, allocations: 435.3 kB / 0.914 GB, free: 163.8 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008806/1.095, allocations: 0.9019 MB / 0.9149 GB, free: 162.9 MB / 0.6856 GB Notification: Performance of SimCode: time 8.72e-07/1.095, allocations: 0 / 0.9149 GB, free: 162.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09246/1.187, allocations: 65.89 MB / 0.9793 GB, free: 97.82 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.43/18.62, allocations: 3.984 kB / 0.9793 GB, free: 97.81 MB / 0.6856 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)