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.0008546/0.0008546, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001001/0.001001, allocations: 172.7 kB / 15.95 MB, free: 208 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.478/1.478, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.089/1.089, allocations: 135.3 MB / 426.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003106/0.0003108, allocations: 9.5 kB / 0.5071 GB, free: 5.031 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1863, allocations: 82.31 MB / 0.5875 GB, free: 2.883 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.3877/0.574, allocations: 69.38 MB / 0.6552 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01417/0.5882, allocations: 11.94 MB / 0.6669 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00298/0.5912, allocations: 57.19 kB / 0.6669 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00285/0.5941, allocations: 0.5569 MB / 0.6675 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006902/0.6011, allocations: 1.891 MB / 0.6693 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003441/0.6045, allocations: 0.9724 MB / 0.6703 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007929/0.6125, allocations: 4.79 MB / 0.6749 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003445/0.6159, allocations: 1.023 MB / 0.6759 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004431/0.6204, allocations: 1.26 MB / 0.6772 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003209/0.6236, allocations: 1.067 MB / 0.6782 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005379/0.6242, allocations: 60.22 kB / 0.6783 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004189/0.6284, allocations: 0.9322 MB / 0.6792 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008599/0.6293, allocations: 276.4 kB / 0.6794 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001286/0.6306, allocations: 359.2 kB / 0.6798 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004238/0.6349, allocations: 2.084 MB / 0.6818 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.6349, allocations: 1.156 kB / 0.6818 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.448e-06/0.6349, allocations: 0 / 0.6818 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.696e-05/0.635, allocations: 3.938 kB / 0.6818 GB, free: 12.03 MB / 0.5137 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.005378/0.6404, allocations: 1.802 MB / 0.6836 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.6404, allocations: 9.344 kB / 0.6836 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005151/0.641, allocations: 151.1 kB / 0.6837 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/0.6422, allocations: 236.6 kB / 0.684 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003618/0.6458, allocations: 1.447 MB / 0.6854 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.996e-05/0.6459, allocations: 75.81 kB / 0.6854 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002491/0.6462, allocations: 105.1 kB / 0.6855 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002683/0.6489, allocations: 1.118 MB / 0.6866 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.601e-05/0.6489, allocations: 0.75 kB / 0.6866 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.6491, allocations: 42.12 kB / 0.6867 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.862e-05/0.6491, allocations: 24.94 kB / 0.6867 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002431/0.6516, allocations: 0.9217 MB / 0.6876 GB, free: 8.883 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.008952/0.6605, allocations: 4.912 MB / 0.6924 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/0.662, allocations: 0.6463 MB / 0.693 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007736/0.6628, allocations: 368.9 kB / 0.6934 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007546/0.6636, allocations: 0.8342 MB / 0.6942 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.6636, allocations: 38.47 kB / 0.6942 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=62): time 4.309e-06/0.6637, allocations: 0 / 0.6942 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of matching and sorting (n=62): time 0.007214/0.6709, allocations: 1.895 MB / 0.6961 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.671, allocations: 62.16 kB / 0.6961 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002668/0.6736, allocations: 1.201 MB / 0.6973 GB, free: 3 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001761/0.6738, allocations: 38.8 kB / 0.6974 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006557/0.6745, allocations: 0.6054 MB / 0.6979 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003401/0.6748, allocations: 215.4 kB / 0.6982 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/0.6749, allocations: 15.59 kB / 0.6982 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.6751, allocations: 331.2 kB / 0.6985 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007894/0.6759, allocations: 295.5 kB / 0.6988 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009299/0.6768, allocations: 0.4987 MB / 0.6993 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000827/0.6777, allocations: 362.9 kB / 0.6996 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.6777, allocations: 1.125 kB / 0.6996 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004799/0.6825, allocations: 1.402 MB / 0.701 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002086/0.6827, allocations: 195.5 kB / 0.7012 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.6828, allocations: 3.281 kB / 0.7012 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008807/0.6837, allocations: 164.9 kB / 0.7013 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007484/0.6844, allocations: 167.4 kB / 0.7015 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001118/0.6856, allocations: 0.7299 MB / 0.7022 GB, free: 0 / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/0.6874, allocations: 169.4 kB / 0.7023 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001343/0.6875, allocations: 36.2 kB / 0.7024 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.6875, allocations: 3.188 kB / 0.7024 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004408/0.6919, allocations: 1.25 MB / 0.7036 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.692, allocations: 3.938 kB / 0.7036 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006853/0.6927, allocations: 173 kB / 0.7038 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006379/0.6933, allocations: 162.4 kB / 0.7039 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008861/0.6942, allocations: 0.7206 MB / 0.7046 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.6959, allocations: 161.8 kB / 0.7048 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/0.696, allocations: 39.05 kB / 0.7048 GB, free: 14.48 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.001135/0.6972, allocations: 419.1 kB / 0.7052 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005778/0.6978, allocations: 134.4 kB / 0.7054 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005031/0.7028, allocations: 1.414 MB / 0.7067 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.113e-05/0.7029, allocations: 10.81 kB / 0.7067 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.7029, allocations: 1.375 kB / 0.7067 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004232/0.7071, allocations: 1.244 MB / 0.708 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008091/0.7152, allocations: 2.744 MB / 0.7106 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/0.7153, allocations: 5 kB / 0.7106 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005201/0.7158, allocations: 117.2 kB / 0.7108 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006366/0.7165, allocations: 161.5 kB / 0.7109 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-05/0.7166, allocations: 19.92 kB / 0.7109 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008745/0.7174, allocations: 0.7279 MB / 0.7116 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.7175, allocations: 3.031 kB / 0.7116 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005113/0.7226, allocations: 1.847 MB / 0.7134 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/0.7237, allocations: 346.8 kB / 0.7138 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004697/0.7242, allocations: 14.38 kB / 0.7138 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/0.7254, allocations: 91.88 kB / 0.7139 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.7255, allocations: 53.58 kB / 0.7139 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.663e-05/0.7256, allocations: 33.88 kB / 0.714 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001527/0.7272, allocations: 0.8592 MB / 0.7148 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.9e-07/0.7272, allocations: 0 / 0.7148 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002971/0.7302, allocations: 0.6994 MB / 0.7155 GB, free: 8.086 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.006469/0.7366, allocations: 2.726 MB / 0.7181 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002773/0.7394, allocations: 1.17 MB / 0.7193 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.7395, allocations: 0 / 0.7193 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009716/0.7404, allocations: 409 kB / 0.7197 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004586/0.7451, allocations: 0.7662 MB / 0.7204 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02345/0.7685, allocations: 8.328 MB / 0.7286 GB, free: 10.62 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009958/0.7696, allocations: 1.172 MB / 0.7297 GB, free: 9.426 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001914/0.7715, allocations: 302.9 kB / 0.73 GB, free: 9.129 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009634/0.7725, allocations: 0.511 MB / 0.7305 GB, free: 8.621 MB / 0.545 GB Notification: Performance of SimCode: time 1.673e-06/0.7725, allocations: 0 / 0.7305 GB, free: 8.621 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0792/0.8517, allocations: 41.89 MB / 0.7714 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/0.852, allocations: 247 kB / 0.7716 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.036/3.888, allocations: 0 / 0.7716 GB, free: 14.93 MB / 0.5919 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: