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.0007451/0.0007451, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.004548/0.004548, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.22/1.22, allocations: 223.2 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7079/0.7079, allocations: 132.3 MB / 423.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002949/0.0002949, allocations: 8 kB / 0.5041 GB, free: 3.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3481, allocations: 81.57 MB / 0.5837 GB, free: 3.855 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.112/0.4602, allocations: 129.3 MB / 0.71 GB, free: 14.58 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03069/0.4909, allocations: 23.04 MB / 0.7325 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003962/0.4949, allocations: 111.2 kB / 0.7326 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0036/0.4985, allocations: 1.196 MB / 0.7338 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009973/0.5085, allocations: 3.771 MB / 0.7375 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004727/0.5133, allocations: 1.964 MB / 0.7394 GB, free: 468 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.009749/0.523, allocations: 8.272 MB / 0.7475 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003273/0.5263, allocations: 1.92 MB / 0.7494 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004645/0.531, allocations: 2.302 MB / 0.7516 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002838/0.5338, allocations: 1.792 MB / 0.7533 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005039/0.5344, allocations: 92 kB / 0.7534 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003902/0.5383, allocations: 1.711 MB / 0.7551 GB, free: 264 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004938/0.5388, allocations: 445.6 kB / 0.7555 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001527/0.5403, allocations: 1.292 MB / 0.7568 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004562/0.5449, allocations: 4.135 MB / 0.7608 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.5449, allocations: 4 kB / 0.7608 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5449, allocations: 0 / 0.7608 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.361e-05/0.5449, allocations: 0 / 0.7608 GB, free: 10.36 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.004431/0.5494, allocations: 2.685 MB / 0.7635 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.5494, allocations: 11.97 kB / 0.7635 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000255/0.5497, allocations: 223.8 kB / 0.7637 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004277/0.554, allocations: 0.9528 MB / 0.7646 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003875/0.5579, allocations: 2.29 MB / 0.7668 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000953/0.5588, allocations: 326.8 kB / 0.7672 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002224/0.5591, allocations: 156 kB / 0.7673 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003786/0.5629, allocations: 1.985 MB / 0.7692 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/0.5629, allocations: 7.938 kB / 0.7693 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/0.563, allocations: 60 kB / 0.7693 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.194e-05/0.5631, allocations: 40 kB / 0.7694 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004518/0.5676, allocations: 1.893 MB / 0.7712 GB, free: 15.51 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.01164/0.5793, allocations: 9.09 MB / 0.7801 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004271/0.5835, allocations: 1.302 MB / 0.7813 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/0.5847, allocations: 485.4 kB / 0.7818 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/0.5858, allocations: 1.73 MB / 0.7835 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.5858, allocations: 38.56 kB / 0.7835 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 2.635e-06/0.5858, allocations: 0 / 0.7835 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.00895/0.5948, allocations: 2.506 MB / 0.786 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.5949, allocations: 85.11 kB / 0.7861 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004278/0.5991, allocations: 2.516 MB / 0.7885 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001781/0.5993, allocations: 45.7 kB / 0.7886 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009505/0.6003, allocations: 1.045 MB / 0.7896 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003145/0.6006, allocations: 272.2 kB / 0.7898 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.6008, allocations: 85.67 kB / 0.7899 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.6009, allocations: 353.9 kB / 0.7903 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001882/0.6028, allocations: 0.631 MB / 0.7909 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002087/0.6049, allocations: 1.009 MB / 0.7919 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003074/0.608, allocations: 1.327 MB / 0.7932 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.608, allocations: 4 kB / 0.7932 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006807/0.6148, allocations: 2.188 MB / 0.7953 GB, free: 5.402 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.6149, allocations: 8 kB / 0.7953 GB, free: 5.395 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.6149, allocations: 12.03 kB / 0.7953 GB, free: 5.383 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001628/0.6165, allocations: 433.2 kB / 0.7957 GB, free: 4.953 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/0.6178, allocations: 311.5 kB / 0.796 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002228/0.6201, allocations: 1.538 MB / 0.7975 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003283/0.6234, allocations: 477.9 kB / 0.798 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002041/0.6236, allocations: 63.97 kB / 0.7981 GB, free: 2.527 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.0009453/0.6245, allocations: 465.5 kB / 0.7985 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000471/0.625, allocations: 252.8 kB / 0.7987 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003664/0.6287, allocations: 1.532 MB / 0.8002 GB, free: 280 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/0.6287, allocations: 11.98 kB / 0.8002 GB, free: 268 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.6287, allocations: 4 kB / 0.8002 GB, free: 264 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.577e-05/0.6288, allocations: 11.91 kB / 0.8003 GB, free: 252 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007724/0.6365, allocations: 3.69 MB / 0.8039 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.6365, allocations: 7.938 kB / 0.8039 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006211/0.6372, allocations: 132.2 kB / 0.804 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001514/0.6387, allocations: 441.2 kB / 0.8044 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.936e-05/0.6388, allocations: 23.98 kB / 0.8044 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002723/0.6415, allocations: 1.634 MB / 0.806 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.6415, allocations: 7.984 kB / 0.806 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006196/0.6477, allocations: 2.08 MB / 0.8081 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/0.6489, allocations: 0.5015 MB / 0.8086 GB, free: 7.484 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002931/0.6492, allocations: 19.98 kB / 0.8086 GB, free: 7.465 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001776/0.651, allocations: 199.7 kB / 0.8088 GB, free: 7.27 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.472e-05/0.6511, allocations: 55.81 kB / 0.8088 GB, free: 7.215 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.077e-05/0.6512, allocations: 47.95 kB / 0.8089 GB, free: 7.168 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002764/0.6539, allocations: 1.769 MB / 0.8106 GB, free: 5.395 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.654, allocations: 0 / 0.8106 GB, free: 5.395 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00175/0.6557, allocations: 0.6788 MB / 0.8113 GB, free: 4.715 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.006981/0.6627, allocations: 3.124 MB / 0.8143 GB, free: 1.539 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003947/0.6667, allocations: 1.444 MB / 0.8157 GB, free: 96 kB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.6667, allocations: 0 / 0.8157 GB, free: 96 kB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.2503/0.917, allocations: 0.7135 MB / 0.8164 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007407/0.9245, allocations: 1.314 MB / 0.8177 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04511/0.9696, allocations: 20.06 MB / 0.8373 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009192/0.9706, allocations: 1.482 MB / 0.8387 GB, free: 201.9 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002226/0.9728, allocations: 442.8 kB / 0.8392 GB, free: 201.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/0.9738, allocations: 0.9102 MB / 0.8401 GB, free: 201.1 MB / 0.6387 GB Notification: Performance of SimCode: time 9.92e-07/0.9738, allocations: 1.312 kB / 0.8401 GB, free: 201.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3493/1.323, allocations: 68.87 MB / 0.9073 GB, free: 139.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/1.323, allocations: 257.6 kB / 0.9076 GB, free: 139.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.504/4.827, allocations: 0 / 0.9076 GB, free: 139.6 MB / 0.6387 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)