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.0009561/0.0009562, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009512/0.0009512, allocations: 196.6 kB / 16.14 MB, free: 6.695 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.189/1.189, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8463/0.8463, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 60.34 kB / 0.5048 GB, free: 5.707 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1249, allocations: 80.92 MB / 0.5838 GB, free: 4.953 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.3097/0.4346, allocations: 131.3 MB / 0.712 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0294/0.464, allocations: 23.28 MB / 0.7348 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004545/0.4686, allocations: 114.2 kB / 0.7349 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003723/0.4723, allocations: 1.211 MB / 0.7361 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01005/0.4824, allocations: 3.77 MB / 0.7397 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004816/0.4872, allocations: 1.957 MB / 0.7416 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008341/0.4956, allocations: 8.271 MB / 0.7497 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002913/0.4985, allocations: 1.975 MB / 0.7516 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004508/0.503, allocations: 2.368 MB / 0.754 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002912/0.506, allocations: 1.87 MB / 0.7558 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004677/0.5064, allocations: 120 kB / 0.7559 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00424/0.5107, allocations: 1.746 MB / 0.7576 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006376/0.5113, allocations: 485.6 kB / 0.7581 GB, free: 11 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001997/0.5133, allocations: 1.325 MB / 0.7594 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006217/0.5196, allocations: 4.23 MB / 0.7635 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.5196, allocations: 0 / 0.7635 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.62e-07/0.5196, allocations: 7.938 kB / 0.7635 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001117/0.5197, allocations: 4 kB / 0.7635 GB, free: 5.41 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.006164/0.5259, allocations: 3.18 MB / 0.7666 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.5259, allocations: 8.031 kB / 0.7666 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000233/0.5262, allocations: 223.8 kB / 0.7668 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004215/0.5304, allocations: 0.8395 MB / 0.7677 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004009/0.5344, allocations: 2.287 MB / 0.7699 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000874/0.5353, allocations: 286.9 kB / 0.7702 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002234/0.5355, allocations: 164 kB / 0.7703 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003771/0.5393, allocations: 1.938 MB / 0.7722 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/0.5393, allocations: 0 / 0.7722 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001582/0.5395, allocations: 67.94 kB / 0.7723 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.709e-05/0.5395, allocations: 36 kB / 0.7723 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004476/0.544, allocations: 1.815 MB / 0.7741 GB, free: 10.34 MB / 0.5919 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.01112/0.5552, allocations: 9.008 MB / 0.7829 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004027/0.5592, allocations: 1.187 MB / 0.784 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.5602, allocations: 469.3 kB / 0.7845 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001066/0.5613, allocations: 1.722 MB / 0.7862 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.5613, allocations: 46.25 kB / 0.7862 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 2.354e-06/0.5613, allocations: 0 / 0.7862 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.007925/0.5693, allocations: 2.316 MB / 0.7885 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.5693, allocations: 85.11 kB / 0.7886 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003452/0.5728, allocations: 2.5 MB / 0.791 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.536e-05/0.5729, allocations: 41.7 kB / 0.791 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000828/0.5737, allocations: 1.045 MB / 0.7921 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002297/0.574, allocations: 272.2 kB / 0.7923 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003941/0.5744, allocations: 258.6 kB / 0.7926 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.5745, allocations: 349.9 kB / 0.7929 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001637/0.5761, allocations: 0.588 MB / 0.7935 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001948/0.5781, allocations: 0.966 MB / 0.7944 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002786/0.5809, allocations: 1.265 MB / 0.7956 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.5809, allocations: 0 / 0.7956 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005944/0.5869, allocations: 2.048 MB / 0.7976 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.5869, allocations: 10.81 kB / 0.7977 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.5869, allocations: 8 kB / 0.7977 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001454/0.5884, allocations: 428.4 kB / 0.7981 GB, free: 364 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.5896, allocations: 287.6 kB / 0.7983 GB, free: 76 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001973/0.5915, allocations: 1.503 MB / 0.7998 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002572/0.5941, allocations: 430 kB / 0.8002 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/0.5943, allocations: 59.97 kB / 0.8003 GB, free: 14.04 MB / 0.6231 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.0006881/0.5949, allocations: 462.9 kB / 0.8007 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003597/0.5953, allocations: 249 kB / 0.801 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003359/0.5987, allocations: 1.497 MB / 0.8024 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/0.5987, allocations: 16 kB / 0.8024 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.5987, allocations: 4 kB / 0.8024 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.5987, allocations: 3.984 kB / 0.8024 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006706/0.6054, allocations: 3.6 MB / 0.806 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.884e-06/0.6055, allocations: 4 kB / 0.806 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006136/0.6061, allocations: 131.8 kB / 0.8061 GB, free: 7.957 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001351/0.6074, allocations: 413.4 kB / 0.8065 GB, free: 7.547 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-05/0.6075, allocations: 23.98 kB / 0.8065 GB, free: 7.523 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002349/0.6099, allocations: 1.576 MB / 0.808 GB, free: 5.898 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.6099, allocations: 7.938 kB / 0.8081 GB, free: 5.891 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005342/0.6152, allocations: 1.931 MB / 0.8099 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006679/0.6159, allocations: 485.6 kB / 0.8104 GB, free: 3.398 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003045/0.6162, allocations: 27.84 kB / 0.8104 GB, free: 3.371 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001681/0.6179, allocations: 167.8 kB / 0.8106 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.722e-05/0.618, allocations: 63.8 kB / 0.8107 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.001e-05/0.6181, allocations: 35.97 kB / 0.8107 GB, free: 3.109 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002686/0.6208, allocations: 1.753 MB / 0.8124 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6208, allocations: 0 / 0.8124 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001611/0.6224, allocations: 0.6827 MB / 0.8131 GB, free: 0.668 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.006767/0.6292, allocations: 2.981 MB / 0.816 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003693/0.6329, allocations: 1.362 MB / 0.8173 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6329, allocations: 0 / 0.8173 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002123/0.635, allocations: 0.6605 MB / 0.818 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005123/0.6402, allocations: 1.256 MB / 0.8192 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04018/0.6804, allocations: 19.64 MB / 0.8384 GB, free: 5.242 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.6814, allocations: 1.486 MB / 0.8398 GB, free: 3.723 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001883/0.6833, allocations: 440.5 kB / 0.8402 GB, free: 3.289 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/0.6845, allocations: 0.8937 MB / 0.8411 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of SimCode: time 2.144e-06/0.6845, allocations: 0 / 0.8411 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2864/0.9709, allocations: 65.49 MB / 0.9051 GB, free: 205.9 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/0.9711, allocations: 266.5 kB / 0.9053 GB, free: 205.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.16/4.131, allocations: 3.938 kB / 0.9053 GB, free: 205.6 MB / 0.67 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)