Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="IDEAS_dev_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.008677/0.008677, allocations: 106.9 kB / 15.74 MB, free: 6.035 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.001776/0.001777, allocations: 196 kB / 16.67 MB, free: 5.969 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.407/1.407, 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-master/package.mo): time 1.006/1.006, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 63.91 kB / 0.5851 GB, free: 3.867 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4538/0.4552, allocations: 80.92 MB / 0.6642 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1288/0.584, allocations: 132.2 MB / 0.7932 GB, free: 13 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03452/0.6186, allocations: 23.19 MB / 0.8159 GB, free: 5.75 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004512/0.6231, allocations: 123.2 kB / 0.816 GB, free: 5.629 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004157/0.6273, allocations: 1.494 MB / 0.8175 GB, free: 4.125 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01128/0.6387, allocations: 4.087 MB / 0.8214 GB, free: 20 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006097/0.6448, allocations: 2.166 MB / 0.8236 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.009992/0.6548, allocations: 6.547 MB / 0.83 GB, free: 7.312 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003347/0.6582, allocations: 2.363 MB / 0.8323 GB, free: 4.887 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006028/0.6642, allocations: 2.801 MB / 0.835 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003413/0.6676, allocations: 1.886 MB / 0.8368 GB, free: 192 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005198/0.6682, allocations: 248 kB / 0.8371 GB, free: 15.94 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004451/0.6726, allocations: 1.942 MB / 0.839 GB, free: 14 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007432/0.6734, allocations: 0.5992 MB / 0.8396 GB, free: 13.4 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002219/0.6756, allocations: 1.45 MB / 0.841 GB, free: 11.94 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.007601/0.6832, allocations: 4.39 MB / 0.8453 GB, free: 7.539 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.6833, allocations: 4 kB / 0.8453 GB, free: 7.535 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.973e-06/0.6833, allocations: 0 / 0.8453 GB, free: 7.535 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.971e-05/0.6833, allocations: 0 / 0.8453 GB, free: 7.535 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.006637/0.69, allocations: 3.172 MB / 0.8484 GB, free: 4.277 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.054e-05/0.6901, allocations: 12.03 kB / 0.8484 GB, free: 4.266 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002955/0.6904, allocations: 223.8 kB / 0.8486 GB, free: 4.035 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004594/0.695, allocations: 0.8357 MB / 0.8494 GB, free: 3.195 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004915/0.6999, allocations: 2.342 MB / 0.8517 GB, free: 0.7812 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/0.7001, allocations: 123 kB / 0.8518 GB, free: 0.6602 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003021/0.7004, allocations: 164 kB / 0.852 GB, free: 0.5 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004128/0.7045, allocations: 1.926 MB / 0.8538 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.578e-05/0.7046, allocations: 8 kB / 0.8539 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001579/0.7047, allocations: 60 kB / 0.8539 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.066e-05/0.7048, allocations: 40 kB / 0.854 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005049/0.7098, allocations: 1.784 MB / 0.8557 GB, free: 12.62 MB / 0.6856 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.01609/0.7259, allocations: 8.969 MB / 0.8645 GB, free: 3.047 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004488/0.7305, allocations: 1.207 MB / 0.8656 GB, free: 1.824 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00119/0.7317, allocations: 465.3 kB / 0.8661 GB, free: 1.363 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.337/1.069, allocations: 1.721 MB / 0.8678 GB, free: 186.2 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.558e-05/1.069, allocations: 40.56 kB / 0.8678 GB, free: 186.2 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=76): time 3.606e-06/1.069, allocations: 0.5 kB / 0.8678 GB, free: 186.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.009691/1.079, allocations: 2.325 MB / 0.8701 GB, free: 185.9 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/1.079, allocations: 88.92 kB / 0.8701 GB, free: 185.8 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004957/1.084, allocations: 2.502 MB / 0.8726 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002189/1.084, allocations: 45.14 kB / 0.8726 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009186/1.085, allocations: 1.037 MB / 0.8736 GB, free: 184.2 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003016/1.085, allocations: 271.6 kB / 0.8739 GB, free: 184.1 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004606/1.086, allocations: 259.3 kB / 0.8742 GB, free: 184 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 7.28e-05/1.086, allocations: 347.4 kB / 0.8745 GB, free: 183.6 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001833/1.087, allocations: 0.5751 MB / 0.875 GB, free: 183.5 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002059/1.09, allocations: 0.9502 MB / 0.876 GB, free: 182.9 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00345/1.093, allocations: 1.239 MB / 0.8772 GB, free: 182.3 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.236e-05/1.093, allocations: 2.812 kB / 0.8772 GB, free: 182.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007626/1.101, allocations: 2.022 MB / 0.8792 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/1.101, allocations: 13.03 kB / 0.8792 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/1.101, allocations: 7 kB / 0.8792 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001644/1.102, allocations: 420 kB / 0.8796 GB, free: 181.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/1.104, allocations: 284.5 kB / 0.8799 GB, free: 181.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002197/1.106, allocations: 1.506 MB / 0.8813 GB, free: 180.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003453/1.109, allocations: 368.3 kB / 0.8817 GB, free: 180.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002012/1.11, allocations: 62.64 kB / 0.8817 GB, free: 180.2 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.001086/1.111, allocations: 468 kB / 0.8822 GB, free: 179.9 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007206/1.111, allocations: 243.3 kB / 0.8824 GB, free: 179.8 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004003/1.115, allocations: 1.484 MB / 0.8839 GB, free: 179.1 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.528e-05/1.115, allocations: 13.7 kB / 0.8839 GB, free: 179.1 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/1.115, allocations: 0 / 0.8839 GB, free: 179.1 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/1.115, allocations: 12.58 kB / 0.8839 GB, free: 179.1 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008958/1.124, allocations: 3.602 MB / 0.8874 GB, free: 176.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.289e-05/1.124, allocations: 2.562 kB / 0.8874 GB, free: 176.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006284/1.125, allocations: 131.3 kB / 0.8875 GB, free: 176.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001568/1.127, allocations: 412 kB / 0.8879 GB, free: 176.5 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-05/1.127, allocations: 30.5 kB / 0.888 GB, free: 176.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002535/1.129, allocations: 1.57 MB / 0.8895 GB, free: 175.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/1.129, allocations: 7.406 kB / 0.8895 GB, free: 175.1 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006328/1.136, allocations: 1.94 MB / 0.8914 GB, free: 174 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001144/1.137, allocations: 480.4 kB / 0.8918 GB, free: 173.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003588/1.137, allocations: 27.36 kB / 0.8919 GB, free: 173.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001727/1.139, allocations: 135.1 kB / 0.892 GB, free: 173.5 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/1.139, allocations: 61.36 kB / 0.8921 GB, free: 173.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.893e-05/1.139, allocations: 42.03 kB / 0.8921 GB, free: 173.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003138/1.142, allocations: 1.753 MB / 0.8938 GB, free: 172.5 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.91e-07/1.142, allocations: 0 / 0.8938 GB, free: 172.5 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002222/1.145, allocations: 0.6832 MB / 0.8945 GB, free: 172.4 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.007253/1.152, allocations: 3 MB / 0.8974 GB, free: 170.6 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004198/1.156, allocations: 1.35 MB / 0.8987 GB, free: 170 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/1.156, allocations: 1.375 kB / 0.8987 GB, free: 170 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002379/1.159, allocations: 0.6599 MB / 0.8994 GB, free: 169.7 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006377/1.165, allocations: 1.324 MB / 0.9007 GB, free: 169 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03323/1.198, allocations: 16.53 MB / 0.9168 GB, free: 157.4 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008185/1.199, allocations: 1.492 MB / 0.9183 GB, free: 155.8 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0021/1.201, allocations: 440 kB / 0.9187 GB, free: 155.4 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/1.202, allocations: 0.9015 MB / 0.9196 GB, free: 154.5 MB / 0.6856 GB Notification: Performance of SimCode: time 1.002e-06/1.202, allocations: 4 kB / 0.9196 GB, free: 154.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09979/1.302, allocations: 67.2 MB / 0.9852 GB, free: 88.07 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.67/17.97, allocations: 15.8 kB / 0.9852 GB, free: 88.05 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)