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.001303/0.001303, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001675/0.001675, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.344/2.344, allocations: 223.2 MB / 239.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.241/1.241, allocations: 132.2 MB / 423.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006411/0.0006412, allocations: 20.48 kB / 0.5033 GB, free: 4.121 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7194/0.7201, allocations: 81.56 MB / 0.583 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1552/0.8754, allocations: 110.6 MB / 0.691 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.04073/0.9162, allocations: 19.93 MB / 0.7104 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006481/0.9228, allocations: 99.31 kB / 0.7105 GB, free: 13.63 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.007939/0.9308, allocations: 1.36 MB / 0.7119 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.02105/0.9519, allocations: 4.186 MB / 0.7159 GB, free: 8.07 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.009942/0.9619, allocations: 2.572 MB / 0.7185 GB, free: 5.57 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01025/0.9721, allocations: 3.909 MB / 0.7223 GB, free: 1.652 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003785/0.976, allocations: 1.727 MB / 0.724 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006374/0.9824, allocations: 2.024 MB / 0.7259 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003699/0.9861, allocations: 1.244 MB / 0.7271 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0006216/0.9868, allocations: 92 kB / 0.7272 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00584/0.9926, allocations: 1.338 MB / 0.7285 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009282/0.9936, allocations: 406.2 kB / 0.7289 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001983/0.9956, allocations: 0.555 MB / 0.7295 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008185/1.004, allocations: 3.106 MB / 0.7325 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/1.004, allocations: 0 / 0.7325 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.846e-06/1.004, allocations: 0 / 0.7325 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001356/1.004, allocations: 0 / 0.7325 GB, free: 7.102 MB / 0.5606 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.01078/1.015, allocations: 2.705 MB / 0.7351 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001098/1.015, allocations: 12.03 kB / 0.7352 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001272/1.016, allocations: 219.8 kB / 0.7354 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00852/1.025, allocations: 0.9529 MB / 0.7363 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00845/1.033, allocations: 2.09 MB / 0.7383 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001775/1.035, allocations: 326.8 kB / 0.7386 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006242/1.036, allocations: 160 kB / 0.7388 GB, free: 488 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007865/1.044, allocations: 1.958 MB / 0.7407 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.732e-05/1.044, allocations: 4 kB / 0.7407 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002785/1.044, allocations: 60 kB / 0.7408 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.088e-05/1.044, allocations: 40 kB / 0.7408 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009133/1.053, allocations: 1.893 MB / 0.7427 GB, free: 12.45 MB / 0.5762 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.01963/1.073, allocations: 9.16 MB / 0.7516 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004995/1.078, allocations: 1.335 MB / 0.7529 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001607/1.08, allocations: 1.719 MB / 0.7546 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/1.08, allocations: 46.52 kB / 0.7546 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 3.386e-06/1.08, allocations: 0 / 0.7546 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.009779/1.09, allocations: 2.478 MB / 0.7571 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/1.09, allocations: 85.11 kB / 0.7571 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0047/1.094, allocations: 2.551 MB / 0.7596 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001839/1.095, allocations: 45.7 kB / 0.7597 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009879/1.096, allocations: 1.053 MB / 0.7607 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003047/1.096, allocations: 268.2 kB / 0.761 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.075e-05/1.096, allocations: 20 kB / 0.761 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000174/1.096, allocations: 353.8 kB / 0.7613 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001912/1.098, allocations: 0.6193 MB / 0.7619 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002308/1.1, allocations: 1.005 MB / 0.7629 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001935/1.102, allocations: 0.6897 MB / 0.7636 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/1.102, allocations: 4 kB / 0.7636 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005575/1.108, allocations: 1.96 MB / 0.7655 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/1.108, allocations: 8 kB / 0.7655 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/1.108, allocations: 8 kB / 0.7655 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001799/1.11, allocations: 437.4 kB / 0.7659 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/1.111, allocations: 307.5 kB / 0.7662 GB, free: 3.039 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/1.114, allocations: 1.546 MB / 0.7677 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003562/1.117, allocations: 474 kB / 0.7682 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001865/1.117, allocations: 63.97 kB / 0.7682 GB, free: 0.9141 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 13,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.001074/1.118, allocations: 461.4 kB / 0.7687 GB, free: 464 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004676/1.119, allocations: 252.9 kB / 0.7689 GB, free: 208 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003963/1.123, allocations: 1.537 MB / 0.7704 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/1.123, allocations: 8 kB / 0.7704 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/1.123, allocations: 3.984 kB / 0.7704 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/1.123, allocations: 7.984 kB / 0.7704 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009095/1.132, allocations: 3.729 MB / 0.7741 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/1.132, allocations: 384 / 0.7741 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/1.133, allocations: 135.8 kB / 0.7742 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002487/1.136, allocations: 448.1 kB / 0.7746 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/1.136, allocations: 23.98 kB / 0.7747 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003416/1.139, allocations: 1.631 MB / 0.7763 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/1.139, allocations: 7.938 kB / 0.7763 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0106/1.15, allocations: 2.329 MB / 0.7785 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002864/1.153, allocations: 0.5248 MB / 0.779 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001187/1.154, allocations: 23.98 kB / 0.7791 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003597/1.158, allocations: 191.7 kB / 0.7793 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/1.158, allocations: 67.77 kB / 0.7793 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001843/1.158, allocations: 47.95 kB / 0.7794 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.006084/1.164, allocations: 1.789 MB / 0.7811 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.31e-07/1.164, allocations: 0 / 0.7811 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.005523/1.17, allocations: 0.6905 MB / 0.7818 GB, free: 2.637 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 15,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.01289/1.183, allocations: 4.168 MB / 0.7859 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00714/1.19, allocations: 1.428 MB / 0.7872 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/1.19, allocations: 0 / 0.7872 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003781/1.194, allocations: 0.7227 MB / 0.788 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0107/1.204, allocations: 1.254 MB / 0.7892 GB, free: 11 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01936/1.224, allocations: 10.85 MB / 0.7998 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001733/1.226, allocations: 1.533 MB / 0.8013 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003862/1.23, allocations: 430.5 kB / 0.8017 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001868/1.231, allocations: 0.8976 MB / 0.8026 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of SimCode: time 8.51e-07/1.231, allocations: 0 / 0.8026 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6748/1.906, allocations: 67.83 MB / 0.8688 GB, free: 176 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/1.907, allocations: 231 kB / 0.869 GB, free: 175.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.283/7.19, allocations: 3.234 kB / 0.869 GB, free: 175.7 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/linux/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) Environment - environmentSimulation: