Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Carnot_y_etaPL,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="IDEAS_dev_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.0008126/0.0008127, allocations: 100.2 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.0009045/0.0009045, 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 1.427/1.427, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.956/0.956, allocations: 135.2 MB / 426.2 MB, free: 14.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.0003791, allocations: 8 kB / 0.5069 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1998, allocations: 82.32 MB / 0.5873 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.4808/0.6806, allocations: 62.92 MB / 0.6487 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01733/0.698, allocations: 10.98 MB / 0.6594 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003178/0.7012, allocations: 54.06 kB / 0.6595 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002992/0.7042, allocations: 0.7422 MB / 0.6602 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008966/0.7132, allocations: 2.295 MB / 0.6625 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005514/0.7187, allocations: 1.515 MB / 0.6639 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007596/0.7264, allocations: 2.508 MB / 0.6664 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0033/0.7297, allocations: 1.042 MB / 0.6674 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004637/0.7344, allocations: 1.149 MB / 0.6685 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003027/0.7374, allocations: 0.7703 MB / 0.6693 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007062/0.7382, allocations: 55.62 kB / 0.6693 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005282/0.7435, allocations: 0.8544 MB / 0.6702 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001139/0.7447, allocations: 264.1 kB / 0.6704 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00192/0.7466, allocations: 356.4 kB / 0.6708 GB, free: 2 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006356/0.753, allocations: 2.024 MB / 0.6727 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.753, allocations: 0 / 0.6727 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.424e-06/0.753, allocations: 0 / 0.6727 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001161/0.7532, allocations: 1.406 kB / 0.6727 GB, free: 1.5 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.006751/0.7599, allocations: 1.792 MB / 0.6745 GB, free: 340 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.47e-05/0.76, allocations: 9.516 kB / 0.6745 GB, free: 340 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007582/0.7608, allocations: 147 kB / 0.6746 GB, free: 240 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001245/0.762, allocations: 244.1 kB / 0.6749 GB, free: 144 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003552/0.7656, allocations: 1.381 MB / 0.6762 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.318e-05/0.7657, allocations: 76.25 kB / 0.6763 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001885/0.7659, allocations: 101.3 kB / 0.6764 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002632/0.7685, allocations: 1.11 MB / 0.6775 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/0.7686, allocations: 4.969 kB / 0.6775 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.776e-05/0.7687, allocations: 37.19 kB / 0.6775 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.891e-05/0.7687, allocations: 29.83 kB / 0.6775 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002411/0.7711, allocations: 0.9247 MB / 0.6785 GB, free: 14.39 MB / 0.5137 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.009284/0.7804, allocations: 4.951 MB / 0.6833 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.7822, allocations: 0.6575 MB / 0.6839 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008556/0.7831, allocations: 0.8278 MB / 0.6847 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.7831, allocations: 39.44 kB / 0.6848 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=62): time 2.946e-06/0.7831, allocations: 0 / 0.6848 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of matching and sorting (n=62): time 0.008764/0.7919, allocations: 1.889 MB / 0.6866 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.792, allocations: 59.23 kB / 0.6867 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002855/0.7949, allocations: 1.245 MB / 0.6879 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002672/0.7952, allocations: 42.95 kB / 0.6879 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007134/0.7959, allocations: 0.6051 MB / 0.6885 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003788/0.7963, allocations: 218 kB / 0.6887 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.056e-05/0.7963, allocations: 14.53 kB / 0.6887 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.7965, allocations: 338 kB / 0.6891 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008587/0.7974, allocations: 299.1 kB / 0.6894 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009934/0.7984, allocations: 0.4915 MB / 0.6898 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009172/0.7993, allocations: 359.4 kB / 0.6902 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.7993, allocations: 1 kB / 0.6902 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005834/0.8052, allocations: 1.395 MB / 0.6915 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008179/0.806, allocations: 1.337 MB / 0.6928 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.8061, allocations: 2.984 kB / 0.6928 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.8071, allocations: 168 kB / 0.693 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009254/0.808, allocations: 171.5 kB / 0.6932 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/0.8092, allocations: 0.7219 MB / 0.6939 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001996/0.8112, allocations: 171.9 kB / 0.694 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/0.8113, allocations: 31.44 kB / 0.6941 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.8113, allocations: 7.891 kB / 0.6941 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004935/0.8163, allocations: 1.257 MB / 0.6953 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.8163, allocations: 3.5 kB / 0.6953 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007208/0.8171, allocations: 166.7 kB / 0.6955 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007519/0.8178, allocations: 163.6 kB / 0.6956 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009548/0.8188, allocations: 0.729 MB / 0.6963 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/0.8208, allocations: 158 kB / 0.6965 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/0.8209, allocations: 31.56 kB / 0.6965 GB, free: 3.438 MB / 0.5137 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.001208/0.8221, allocations: 424.7 kB / 0.6969 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004406/0.8226, allocations: 131.9 kB / 0.697 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005297/0.8279, allocations: 1.417 MB / 0.6984 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.493e-05/0.8279, allocations: 7.406 kB / 0.6984 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.8279, allocations: 2.391 kB / 0.6984 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004684/0.8326, allocations: 1.239 MB / 0.6996 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008976/0.8417, allocations: 2.783 MB / 0.7024 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/0.8417, allocations: 2.906 kB / 0.7024 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005785/0.8423, allocations: 121.6 kB / 0.7025 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007011/0.843, allocations: 156.9 kB / 0.7026 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.541e-05/0.8431, allocations: 24.3 kB / 0.7027 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009206/0.844, allocations: 0.7237 MB / 0.7034 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.844, allocations: 3.594 kB / 0.7034 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006515/0.8505, allocations: 2.06 MB / 0.7054 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/0.8519, allocations: 352.2 kB / 0.7057 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002257/0.8522, allocations: 21.11 kB / 0.7057 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.8532, allocations: 89.03 kB / 0.7058 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.8534, allocations: 58.8 kB / 0.7059 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.09e-05/0.8535, allocations: 28.52 kB / 0.7059 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001969/0.8555, allocations: 0.9006 MB / 0.7068 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3e-07/0.8555, allocations: 0 / 0.7068 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004334/0.8598, allocations: 0.7144 MB / 0.7075 GB, free: 13.49 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.008502/0.8683, allocations: 3.87 MB / 0.7113 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003292/0.8717, allocations: 1.166 MB / 0.7124 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.334e-05/0.8717, allocations: 2.625 kB / 0.7124 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.8728, allocations: 409 kB / 0.7128 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004342/0.8771, allocations: 0.7448 MB / 0.7135 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007376/0.8845, allocations: 5.785 MB / 0.7192 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008669/0.8854, allocations: 1.2 MB / 0.7203 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00162/0.8871, allocations: 310.5 kB / 0.7206 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006943/0.8878, allocations: 0.5109 MB / 0.7211 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of SimCode: time 1.433e-06/0.8878, allocations: 0 / 0.7211 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08438/0.9722, allocations: 41.8 MB / 0.762 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/0.9724, allocations: 238.6 kB / 0.7622 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.899/3.872, allocations: 0 / 0.7622 GB, free: 8.16 MB / 0.5762 GB (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_y_etaPL.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1) Environment - environmentSimulation: