Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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_TEva_2ndLaw,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",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.001015/0.001015, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001012/0.001012, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.279/1.279, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9084/0.9084, allocations: 135.1 MB / 425.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 68.42 kB / 0.505 GB, free: 5.57 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1353, allocations: 80.93 MB / 0.584 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.3001/0.4355, allocations: 69.84 MB / 0.6522 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01916/0.4547, allocations: 18.77 MB / 0.6705 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00356/0.4583, allocations: 61.56 kB / 0.6706 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002522/0.4609, allocations: 0.7057 MB / 0.6713 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007879/0.4688, allocations: 2.652 MB / 0.6739 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004003/0.4728, allocations: 1.519 MB / 0.6753 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006125/0.479, allocations: 4.059 MB / 0.6793 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002449/0.4814, allocations: 1.448 MB / 0.6807 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004245/0.4857, allocations: 1.78 MB / 0.6825 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002311/0.488, allocations: 1.215 MB / 0.6836 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004501/0.4885, allocations: 177.1 kB / 0.6838 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003317/0.4918, allocations: 1.424 MB / 0.6852 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005717/0.4924, allocations: 396.5 kB / 0.6856 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001583/0.494, allocations: 0.9185 MB / 0.6865 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004987/0.499, allocations: 3.106 MB / 0.6895 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.499, allocations: 3.938 kB / 0.6895 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.583e-06/0.499, allocations: 1.562 kB / 0.6895 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.499e-05/0.4991, allocations: 0 / 0.6895 GB, free: 3.586 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.00449/0.5036, allocations: 2.035 MB / 0.6915 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.5036, allocations: 9 kB / 0.6915 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001804/0.5038, allocations: 154.1 kB / 0.6917 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002393/0.5062, allocations: 447.5 kB / 0.6921 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002596/0.5088, allocations: 1.501 MB / 0.6936 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003841/0.5092, allocations: 137.1 kB / 0.6937 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.5094, allocations: 107.4 kB / 0.6938 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002579/0.5119, allocations: 1.296 MB / 0.6951 GB, free: 320 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.512, allocations: 3.938 kB / 0.6951 GB, free: 316 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.5121, allocations: 43.03 kB / 0.6951 GB, free: 284 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.072e-05/0.5121, allocations: 29.91 kB / 0.6951 GB, free: 280 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002749/0.5149, allocations: 1.103 MB / 0.6962 GB, free: 15.87 MB / 0.5294 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.00855/0.5235, allocations: 7.138 MB / 0.7032 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003282/0.5268, allocations: 0.7999 MB / 0.704 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005929/0.5274, allocations: 286 kB / 0.7042 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/0.5285, allocations: 1.735 MB / 0.7059 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.5286, allocations: 37.72 kB / 0.706 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 2.665e-06/0.5286, allocations: 0 / 0.706 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.0049/0.5335, allocations: 1.335 MB / 0.7073 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.5335, allocations: 57.62 kB / 0.7073 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002158/0.5357, allocations: 1.52 MB / 0.7088 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.339e-05/0.5358, allocations: 38.05 kB / 0.7088 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005313/0.5363, allocations: 0.6658 MB / 0.7095 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.5365, allocations: 169.8 kB / 0.7097 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000277/0.5368, allocations: 164.3 kB / 0.7098 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.5369, allocations: 334.2 kB / 0.7101 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009738/0.5378, allocations: 362.9 kB / 0.7105 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/0.539, allocations: 0.6352 MB / 0.7111 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001731/0.5408, allocations: 0.8503 MB / 0.7119 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.5408, allocations: 2.844 kB / 0.7119 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004281/0.5451, allocations: 1.334 MB / 0.7132 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.5451, allocations: 7.812 kB / 0.7132 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.5451, allocations: 10.58 kB / 0.7133 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008529/0.546, allocations: 217.4 kB / 0.7135 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007537/0.5468, allocations: 187.9 kB / 0.7136 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008028/0.5476, allocations: 0.7226 MB / 0.7143 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/0.5493, allocations: 231.5 kB / 0.7146 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-05/0.5494, allocations: 48.59 kB / 0.7146 GB, free: 2.746 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0004677/0.5498, allocations: 345.9 kB / 0.7149 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/0.5501, allocations: 148.8 kB / 0.7151 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002322/0.5524, allocations: 1.154 MB / 0.7162 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.211e-05/0.5524, allocations: 10.94 kB / 0.7162 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.5524, allocations: 3.984 kB / 0.7162 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.5525, allocations: 0.9688 kB / 0.7162 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005075/0.5575, allocations: 2.51 MB / 0.7187 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.5575, allocations: 3.938 kB / 0.7187 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/0.5579, allocations: 83.52 kB / 0.7188 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007145/0.5586, allocations: 209.6 kB / 0.719 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.557e-05/0.5587, allocations: 18.33 kB / 0.719 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001252/0.56, allocations: 0.7689 MB / 0.7197 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.56, allocations: 3.906 kB / 0.7197 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003254/0.5632, allocations: 1.206 MB / 0.7209 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004759/0.5637, allocations: 349.9 kB / 0.7212 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000192/0.5639, allocations: 13.75 kB / 0.7213 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009882/0.5649, allocations: 93.36 kB / 0.7213 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.376e-05/0.565, allocations: 43.52 kB / 0.7214 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-05/0.5651, allocations: 27.36 kB / 0.7214 GB, free: 14.05 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001522/0.5666, allocations: 1.073 MB / 0.7225 GB, free: 13.47 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.51e-07/0.5666, allocations: 0 / 0.7225 GB, free: 13.47 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001225/0.5678, allocations: 433.8 kB / 0.7229 GB, free: 13.37 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004321/0.5722, allocations: 2.12 MB / 0.7249 GB, free: 11.52 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00221/0.5744, allocations: 0.8651 MB / 0.7258 GB, free: 10.66 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5744, allocations: 0 / 0.7258 GB, free: 10.66 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001272/0.5757, allocations: 447 kB / 0.7262 GB, free: 10.23 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002978/0.5787, allocations: 0.7378 MB / 0.7269 GB, free: 9.508 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02825/0.6069, allocations: 11.67 MB / 0.7383 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006537/0.6076, allocations: 1.172 MB / 0.7395 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001104/0.6087, allocations: 259.9 kB / 0.7397 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007138/0.6095, allocations: 0.55 MB / 0.7403 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of SimCode: time 8.12e-07/0.6095, allocations: 0 / 0.7403 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.733/1.342, allocations: 42.75 MB / 0.782 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003224/1.343, allocations: 275.4 kB / 0.7823 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.062/4.404, allocations: 0 / 0.7823 GB, free: 0.668 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)