Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.CarnotVerifyEtaCarnot,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",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.004878/0.004878, allocations: 102 kB / 15.73 MB, free: 6.477 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.00113/0.00113, allocations: 195.6 kB / 16.67 MB, free: 6.391 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.263/1.263, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6971/0.6971, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 70.5 kB / 0.5809 GB, free: 1.281 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1464, allocations: 80.2 MB / 0.6592 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1149/0.2613, allocations: 132.2 MB / 0.7883 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0293/0.2906, allocations: 23.19 MB / 0.8109 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004509/0.2952, allocations: 127.2 kB / 0.8111 GB, free: 2.102 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004356/0.2996, allocations: 1.533 MB / 0.8125 GB, free: 0.5586 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.3687/0.6684, allocations: 4.303 MB / 0.8168 GB, free: 42.32 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005197/0.6736, allocations: 2.165 MB / 0.8189 GB, free: 42.32 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01075/0.6843, allocations: 6.556 MB / 0.8253 GB, free: 42.32 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004082/0.6885, allocations: 2.37 MB / 0.8276 GB, free: 42.02 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007235/0.6957, allocations: 2.823 MB / 0.8303 GB, free: 42.01 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004263/0.7, allocations: 1.881 MB / 0.8322 GB, free: 41.69 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0007277/0.7007, allocations: 249 kB / 0.8324 GB, free: 41.69 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005371/0.7061, allocations: 1.943 MB / 0.8343 GB, free: 41.69 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000698/0.7068, allocations: 0.5934 MB / 0.8349 GB, free: 41.59 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002679/0.7095, allocations: 1.464 MB / 0.8363 GB, free: 41.18 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006972/0.7165, allocations: 4.387 MB / 0.8406 GB, free: 40.63 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.7165, allocations: 0 / 0.8406 GB, free: 40.63 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.956e-06/0.7166, allocations: 3.797 kB / 0.8406 GB, free: 40.63 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.44e-05/0.7166, allocations: 0 / 0.8406 GB, free: 40.63 MB / 0.6387 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.005733/0.7224, allocations: 3.187 MB / 0.8437 GB, free: 39.08 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.7224, allocations: 9.406 kB / 0.8437 GB, free: 39.08 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002544/0.7227, allocations: 224.1 kB / 0.8439 GB, free: 39.03 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00397/0.7267, allocations: 0.8333 MB / 0.8448 GB, free: 38.86 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004116/0.7308, allocations: 2.325 MB / 0.847 GB, free: 38.27 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.241e-05/0.7309, allocations: 133.1 kB / 0.8472 GB, free: 38.26 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002144/0.7311, allocations: 164.8 kB / 0.8473 GB, free: 38.25 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003603/0.7347, allocations: 1.922 MB / 0.8492 GB, free: 38.03 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/0.7348, allocations: 2.469 kB / 0.8492 GB, free: 38.03 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000146/0.7349, allocations: 63.19 kB / 0.8493 GB, free: 38.03 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-05/0.735, allocations: 39.12 kB / 0.8493 GB, free: 38.03 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00397/0.739, allocations: 1.806 MB / 0.8511 GB, free: 37.99 MB / 0.6387 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.0107/0.7497, allocations: 8.987 MB / 0.8598 GB, free: 33.64 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003724/0.7534, allocations: 1.2 MB / 0.861 GB, free: 33.56 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009766/0.7544, allocations: 464.8 kB / 0.8614 GB, free: 33.54 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007195/0.7551, allocations: 1.725 MB / 0.8631 GB, free: 31.56 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.7552, allocations: 40.81 kB / 0.8632 GB, free: 31.52 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 3.156e-06/0.7552, allocations: 0 / 0.8632 GB, free: 31.52 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.007683/0.7629, allocations: 2.339 MB / 0.8655 GB, free: 30.98 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.7629, allocations: 87.05 kB / 0.8655 GB, free: 30.89 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00352/0.7665, allocations: 2.528 MB / 0.868 GB, free: 30.26 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000145/0.7666, allocations: 50.61 kB / 0.8681 GB, free: 30.23 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006557/0.7673, allocations: 1.041 MB / 0.8691 GB, free: 29.88 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/0.7675, allocations: 273.8 kB / 0.8693 GB, free: 29.68 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003723/0.7679, allocations: 250.8 kB / 0.8696 GB, free: 29.62 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.429e-05/0.768, allocations: 344.5 kB / 0.8699 GB, free: 29.3 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001429/0.7694, allocations: 0.5726 MB / 0.8705 GB, free: 29.18 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001664/0.7711, allocations: 0.9548 MB / 0.8714 GB, free: 28.64 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002455/0.7735, allocations: 1.256 MB / 0.8726 GB, free: 28.17 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.7736, allocations: 6.281 kB / 0.8726 GB, free: 28.16 MB / 0.6387 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00557/0.7791, allocations: 2.018 MB / 0.8746 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.7792, allocations: 12.59 kB / 0.8746 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.7792, allocations: 8.438 kB / 0.8746 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001586/0.7808, allocations: 0.489 MB / 0.8751 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.7819, allocations: 279 kB / 0.8754 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001618/0.7835, allocations: 1.525 MB / 0.8768 GB, free: 25.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002542/0.786, allocations: 360.4 kB / 0.8772 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/0.7862, allocations: 62.72 kB / 0.8772 GB, free: 25.38 MB / 0.6387 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 (111): * Single equations (assignments): 109 * 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,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0008059/0.787, allocations: 460.4 kB / 0.8777 GB, free: 25.07 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004525/0.7874, allocations: 247.4 kB / 0.8779 GB, free: 24.88 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002941/0.7904, allocations: 1.493 MB / 0.8794 GB, free: 23.39 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/0.7904, allocations: 12 kB / 0.8794 GB, free: 23.38 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.7904, allocations: 0 / 0.8794 GB, free: 23.38 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.7904, allocations: 3.984 kB / 0.8794 GB, free: 23.38 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005949/0.7964, allocations: 3.612 MB / 0.8829 GB, free: 19.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.7964, allocations: 4 kB / 0.8829 GB, free: 19.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000531/0.797, allocations: 135.1 kB / 0.8831 GB, free: 19.57 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00135/0.7983, allocations: 490.8 kB / 0.8835 GB, free: 19.09 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.829e-05/0.7984, allocations: 31.92 kB / 0.8836 GB, free: 19.06 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001917/0.8003, allocations: 1.586 MB / 0.8851 GB, free: 17.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.8003, allocations: 5.562 kB / 0.8851 GB, free: 17.43 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00495/0.8053, allocations: 1.94 MB / 0.887 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/0.8063, allocations: 485.6 kB / 0.8875 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000271/0.8066, allocations: 20 kB / 0.8875 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/0.8081, allocations: 139.8 kB / 0.8876 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.15e-05/0.8082, allocations: 63.08 kB / 0.8877 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.73e-05/0.8083, allocations: 43.97 kB / 0.8877 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002299/0.8106, allocations: 1.769 MB / 0.8894 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8106, allocations: 0 / 0.8894 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001697/0.8123, allocations: 0.6905 MB / 0.8901 GB, free: 12.25 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 (62): * Single equations (assignments): 52 * 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,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005858/0.8181, allocations: 3.009 MB / 0.8931 GB, free: 9.273 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003432/0.8216, allocations: 1.343 MB / 0.8944 GB, free: 7.973 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.8216, allocations: 7.125 kB / 0.8944 GB, free: 7.969 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001878/0.8235, allocations: 0.6808 MB / 0.895 GB, free: 7.305 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005138/0.8286, allocations: 1.327 MB / 0.8963 GB, free: 6.047 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03107/0.8597, allocations: 16.66 MB / 0.9126 GB, free: 5.086 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/0.861, allocations: 1.493 MB / 0.9141 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001926/0.863, allocations: 433.6 kB / 0.9145 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001305/0.8643, allocations: 0.8976 MB / 0.9154 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of SimCode: time 7.71e-07/0.8643, allocations: 0 / 0.9154 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1045/0.9688, allocations: 66.18 MB / 0.98 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.83/15.8, allocations: 3.938 kB / 0.98 GB, free: 1.078 MB / 0.7169 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)