Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.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.Carnot_y_etaPL,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_y_etaPL",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.001751/0.001751, allocations: 100.1 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.002341/0.002341, allocations: 177.3 kB / 15.95 MB, free: 216 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.343/2.343, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.22/1.22, allocations: 132.2 MB / 423.2 MB, free: 2.176 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003983/0.0003984, allocations: 8 kB / 0.5033 GB, free: 4.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7861/0.7865, allocations: 81.57 MB / 0.583 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.1261/0.9127, allocations: 62.95 MB / 0.6444 GB, free: 1.52 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03201/0.9448, allocations: 10.98 MB / 0.6552 GB, free: 6.523 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004128/0.949, allocations: 55.56 kB / 0.6552 GB, free: 6.469 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005404/0.9545, allocations: 0.7423 MB / 0.6559 GB, free: 5.723 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.018/0.9726, allocations: 2.29 MB / 0.6582 GB, free: 3.426 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008738/0.9814, allocations: 1.52 MB / 0.6596 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0102/0.9916, allocations: 2.506 MB / 0.6621 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003671/0.9953, allocations: 1.041 MB / 0.6631 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00476/1, allocations: 1.156 MB / 0.6642 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002767/1.003, allocations: 0.7661 MB / 0.665 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003797/1.003, allocations: 56 kB / 0.665 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004542/1.008, allocations: 0.8504 MB / 0.6659 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000583/1.009, allocations: 266.9 kB / 0.6661 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001127/1.01, allocations: 356.9 kB / 0.6665 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005304/1.015, allocations: 2.026 MB / 0.6684 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/1.015, allocations: 0 / 0.6684 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.166e-06/1.015, allocations: 0 / 0.6684 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.824e-05/1.015, allocations: 0 / 0.6684 GB, free: 8.875 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.006841/1.022, allocations: 1.783 MB / 0.6702 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.803e-05/1.022, allocations: 12.03 kB / 0.6702 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004758/1.023, allocations: 147.9 kB / 0.6703 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/1.024, allocations: 237.9 kB / 0.6706 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005507/1.03, allocations: 1.385 MB / 0.6719 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/1.03, allocations: 85.92 kB / 0.672 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002954/1.03, allocations: 100 kB / 0.6721 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003933/1.034, allocations: 1.1 MB / 0.6732 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.712e-05/1.034, allocations: 0 / 0.6732 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001835/1.034, allocations: 44 kB / 0.6732 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.674e-05/1.035, allocations: 27.98 kB / 0.6732 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00388/1.038, allocations: 0.9251 MB / 0.6741 GB, free: 2.875 MB / 0.4981 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.01369/1.052, allocations: 4.954 MB / 0.679 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002752/1.055, allocations: 0.6552 MB / 0.6796 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001182/1.056, allocations: 0.8316 MB / 0.6804 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.79e-05/1.056, allocations: 39.12 kB / 0.6805 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=62): time 3.777e-06/1.056, allocations: 0 / 0.6805 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=62): time 0.01508/1.071, allocations: 1.893 MB / 0.6823 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.033e-05/1.071, allocations: 59.97 kB / 0.6824 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004262/1.076, allocations: 1.245 MB / 0.6836 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002568/1.076, allocations: 37.7 kB / 0.6836 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001081/1.077, allocations: 0.5988 MB / 0.6842 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005438/1.078, allocations: 228.8 kB / 0.6844 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/1.078, allocations: 12 kB / 0.6844 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002478/1.078, allocations: 334 kB / 0.6848 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001493/1.08, allocations: 297.8 kB / 0.685 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/1.081, allocations: 0.4912 MB / 0.6855 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/1.083, allocations: 367 kB / 0.6859 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/1.083, allocations: 0 / 0.6859 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.008395/1.091, allocations: 1.398 MB / 0.6872 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007513/1.092, allocations: 1.331 MB / 0.6885 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/1.092, allocations: 7.938 kB / 0.6885 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/1.093, allocations: 172.6 kB / 0.6887 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/1.094, allocations: 167.8 kB / 0.6889 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/1.095, allocations: 0.7318 MB / 0.6896 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002446/1.098, allocations: 174.9 kB / 0.6898 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002256/1.098, allocations: 35.98 kB / 0.6898 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/1.098, allocations: 4 kB / 0.6898 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007393/1.106, allocations: 1.246 MB / 0.691 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/1.106, allocations: 8.062 kB / 0.691 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009803/1.107, allocations: 164.7 kB / 0.6912 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/1.108, allocations: 167.7 kB / 0.6913 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/1.109, allocations: 0.7273 MB / 0.692 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002448/1.112, allocations: 159.2 kB / 0.6922 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/1.112, allocations: 32 kB / 0.6922 GB, free: 15.58 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.001495/1.113, allocations: 420.8 kB / 0.6926 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007126/1.114, allocations: 134.4 kB / 0.6928 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007802/1.122, allocations: 1.419 MB / 0.6941 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.258e-05/1.122, allocations: 4 kB / 0.6941 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.982e-05/1.122, allocations: 3.953 kB / 0.6941 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008569/1.131, allocations: 1.236 MB / 0.6954 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.015/1.146, allocations: 2.774 MB / 0.6981 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.162e-05/1.146, allocations: 4 kB / 0.6981 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/1.147, allocations: 123.8 kB / 0.6982 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001295/1.148, allocations: 160.8 kB / 0.6983 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001379/1.148, allocations: 23.98 kB / 0.6984 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001691/1.15, allocations: 0.7197 MB / 0.6991 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.584e-05/1.15, allocations: 7.984 kB / 0.6991 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01138/1.161, allocations: 2.062 MB / 0.7011 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001681/1.163, allocations: 347 kB / 0.7014 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007539/1.164, allocations: 16 kB / 0.7014 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002231/1.166, allocations: 95.91 kB / 0.7015 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002204/1.167, allocations: 52.27 kB / 0.7016 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/1.167, allocations: 39.97 kB / 0.7016 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003017/1.17, allocations: 0.8933 MB / 0.7025 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6.31e-07/1.17, allocations: 7.938 kB / 0.7025 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004432/1.174, allocations: 0.7057 MB / 0.7032 GB, free: 3.926 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.01408/1.188, allocations: 3.874 MB / 0.707 GB, free: 15.92 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005641/1.194, allocations: 1.168 MB / 0.7081 GB, free: 14.76 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/1.194, allocations: 0 / 0.7081 GB, free: 14.76 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001704/1.196, allocations: 403.3 kB / 0.7085 GB, free: 14.37 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006932/1.203, allocations: 0.7528 MB / 0.7092 GB, free: 13.63 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/1.216, allocations: 5.78 MB / 0.7149 GB, free: 7.691 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001778/1.218, allocations: 1.203 MB / 0.716 GB, free: 6.457 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002484/1.22, allocations: 298.5 kB / 0.7163 GB, free: 6.164 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001187/1.222, allocations: 0.511 MB / 0.7168 GB, free: 5.652 MB / 0.545 GB Notification: Performance of SimCode: time 2.194e-06/1.222, allocations: 0 / 0.7168 GB, free: 5.652 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1209/1.342, allocations: 41.8 MB / 0.7576 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002475/1.343, allocations: 241.5 kB / 0.7579 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.965/5.308, allocations: 0 / 0.7579 GB, free: 12.19 MB / 0.5919 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_y_etaPL.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1) Environment - environmentSimulation: