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.001248/0.001248, 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.001189/0.001189, 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 1.643/1.643, 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-master/package.mo): time 0.9494/0.9494, allocations: 135.2 MB / 426.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003842/0.0003843, allocations: 12 kB / 0.5069 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1449, allocations: 82.3 MB / 0.5873 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.3193/0.4642, allocations: 59.12 MB / 0.645 GB, free: 18.29 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01485/0.4791, allocations: 15.06 MB / 0.6597 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00182/0.481, allocations: 57.47 kB / 0.6598 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001732/0.4827, allocations: 0.6968 MB / 0.6604 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005511/0.4882, allocations: 2.303 MB / 0.6627 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003815/0.4921, allocations: 1.547 MB / 0.6642 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004558/0.4966, allocations: 2.283 MB / 0.6664 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00232/0.499, allocations: 1.026 MB / 0.6674 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003545/0.5025, allocations: 1.269 MB / 0.6687 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002249/0.5048, allocations: 0.7818 MB / 0.6694 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004784/0.5053, allocations: 61.56 kB / 0.6695 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003669/0.509, allocations: 0.9796 MB / 0.6705 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005439/0.5095, allocations: 243.9 kB / 0.6707 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001162/0.5107, allocations: 369.7 kB / 0.671 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004377/0.5151, allocations: 2.27 MB / 0.6733 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5151, allocations: 5.188 kB / 0.6733 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5151, allocations: 0 / 0.6733 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.542e-05/0.5152, allocations: 0 / 0.6733 GB, free: 1.117 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.00436/0.5196, allocations: 1.73 MB / 0.6749 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.5196, allocations: 10.44 kB / 0.675 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002862/0.5199, allocations: 153.5 kB / 0.6751 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002249/0.5222, allocations: 0.4972 MB / 0.6756 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002449/0.5246, allocations: 1.416 MB / 0.677 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003574/0.525, allocations: 149.7 kB / 0.6771 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.5251, allocations: 102.2 kB / 0.6772 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00244/0.5276, allocations: 1.312 MB / 0.6785 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.5276, allocations: 1 kB / 0.6785 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.753e-05/0.5277, allocations: 41.97 kB / 0.6785 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.34e-05/0.5278, allocations: 30.59 kB / 0.6786 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002566/0.5303, allocations: 1.151 MB / 0.6797 GB, free: 13.67 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.008108/0.5384, allocations: 7.221 MB / 0.6867 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003137/0.5416, allocations: 0.9047 MB / 0.6876 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001158/0.5428, allocations: 1.715 MB / 0.6893 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.5428, allocations: 42.72 kB / 0.6893 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=48): time 2.204e-06/0.5428, allocations: 0 / 0.6893 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48): time 0.004487/0.5473, allocations: 1.442 MB / 0.6908 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.5473, allocations: 56.44 kB / 0.6908 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00221/0.5496, allocations: 1.544 MB / 0.6923 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.459e-05/0.5496, allocations: 37.95 kB / 0.6923 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000538/0.5502, allocations: 0.6675 MB / 0.693 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/0.5503, allocations: 168.6 kB / 0.6932 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.5504, allocations: 10.72 kB / 0.6932 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.5505, allocations: 332.8 kB / 0.6935 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009469/0.5515, allocations: 392.8 kB / 0.6939 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.5526, allocations: 0.6544 MB / 0.6945 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009839/0.5536, allocations: 434.6 kB / 0.6949 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.5536, allocations: 6.25 kB / 0.6949 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002773/0.5564, allocations: 1.218 MB / 0.6961 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.5564, allocations: 10.38 kB / 0.6961 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.5564, allocations: 7.312 kB / 0.6961 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008305/0.5573, allocations: 224.6 kB / 0.6963 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007337/0.558, allocations: 201.1 kB / 0.6965 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008461/0.5589, allocations: 0.7279 MB / 0.6972 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/0.5605, allocations: 259.7 kB / 0.6975 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.447e-05/0.5605, allocations: 48.33 kB / 0.6975 GB, free: 1.559 MB / 0.5137 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 (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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0005249/0.5611, allocations: 356 kB / 0.6979 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/0.5613, allocations: 144.3 kB / 0.698 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002199/0.5635, allocations: 1.181 MB / 0.6992 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/0.5635, allocations: 10.94 kB / 0.6992 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.5635, allocations: 0 / 0.6992 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.5635, allocations: 10.66 kB / 0.6992 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004984/0.5685, allocations: 2.602 MB / 0.7017 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.5685, allocations: 1 kB / 0.7017 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003656/0.5689, allocations: 99.97 kB / 0.7018 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006959/0.5696, allocations: 214.2 kB / 0.702 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.097e-05/0.5697, allocations: 26.97 kB / 0.7021 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001241/0.5709, allocations: 0.7913 MB / 0.7028 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5709, allocations: 2.594 kB / 0.7028 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003114/0.5741, allocations: 1.376 MB / 0.7042 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005385/0.5746, allocations: 378.5 kB / 0.7045 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/0.5748, allocations: 16.94 kB / 0.7046 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009105/0.5757, allocations: 113.8 kB / 0.7047 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.548e-05/0.5758, allocations: 43.28 kB / 0.7047 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-05/0.5758, allocations: 29.41 kB / 0.7047 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001582/0.5774, allocations: 1.086 MB / 0.7058 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5774, allocations: 0 / 0.7058 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001234/0.5787, allocations: 429.8 kB / 0.7062 GB, free: 12.7 MB / 0.5294 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 (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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.004093/0.5828, allocations: 2.677 MB / 0.7088 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001893/0.5847, allocations: 0.862 MB / 0.7097 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.5847, allocations: 5.594 kB / 0.7097 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001196/0.5859, allocations: 478.1 kB / 0.7101 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002563/0.5885, allocations: 0.6993 MB / 0.7108 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00578/0.5943, allocations: 8.48 MB / 0.7191 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006169/0.5949, allocations: 1.199 MB / 0.7203 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0008626/0.5958, allocations: 271.2 kB / 0.7205 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006318/0.5964, allocations: 0.5451 MB / 0.721 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of SimCode: time 4.41e-07/0.5964, allocations: 0 / 0.721 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.426/2.022, allocations: 42.41 MB / 0.7625 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002745/2.022, allocations: 248.8 kB / 0.7627 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.186/5.208, allocations: 0 / 0.7627 GB, free: 7.129 MB / 0.5762 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/linux/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) Environment - environmentSimulation: