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.006018/0.006018, allocations: 103.6 kB / 15.73 MB, free: 6.035 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.00144/0.00144, allocations: 195.6 kB / 16.67 MB, free: 5.969 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9639/0.9639, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 67.91 kB / 0.5851 GB, free: 3.824 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4624/0.4638, allocations: 80.91 MB / 0.6642 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.0712/0.535, allocations: 70.44 MB / 0.7329 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02625/0.5613, allocations: 18.91 MB / 0.7514 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002722/0.5641, allocations: 63.62 kB / 0.7515 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003005/0.5671, allocations: 0.8268 MB / 0.7523 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008176/0.5754, allocations: 2.852 MB / 0.7551 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004564/0.58, allocations: 1.656 MB / 0.7567 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006205/0.5862, allocations: 4.026 MB / 0.7606 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002907/0.5891, allocations: 1.473 MB / 0.7621 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005191/0.5944, allocations: 1.8 MB / 0.7638 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002532/0.5969, allocations: 1.179 MB / 0.765 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006103/0.5975, allocations: 179.9 kB / 0.7651 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004147/0.6017, allocations: 1.404 MB / 0.7665 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007423/0.6025, allocations: 398.6 kB / 0.7669 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001996/0.6045, allocations: 0.9138 MB / 0.7678 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007483/0.612, allocations: 3.108 MB / 0.7708 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.612, allocations: 4 kB / 0.7708 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of FrontEnd: time 5.6e-06/0.6121, allocations: 0 / 0.7708 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.51e-05/0.6122, allocations: 7.922 kB / 0.7708 GB, free: 3.973 MB / 0.5919 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.007242/0.6194, allocations: 2.03 MB / 0.7728 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.119e-05/0.6195, allocations: 12.03 kB / 0.7728 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004945/0.62, allocations: 152.6 kB / 0.773 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002671/0.6227, allocations: 449.5 kB / 0.7734 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004457/0.6272, allocations: 1.543 MB / 0.7749 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.6273, allocations: 82.03 kB / 0.775 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002558/0.6276, allocations: 104 kB / 0.7751 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003111/0.6307, allocations: 1.317 MB / 0.7764 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/0.6308, allocations: 7.875 kB / 0.7764 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.6309, allocations: 51.92 kB / 0.7764 GB, free: 14 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.262e-05/0.6309, allocations: 24 kB / 0.7764 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002994/0.6339, allocations: 1.108 MB / 0.7775 GB, free: 12.86 MB / 0.6075 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.01003/0.6439, allocations: 7.485 MB / 0.7848 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003257/0.6472, allocations: 0.8102 MB / 0.7856 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000623/0.6479, allocations: 286 kB / 0.7859 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001361/0.6493, allocations: 1.722 MB / 0.7876 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.6493, allocations: 35 kB / 0.7876 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 2.324e-06/0.6493, allocations: 0 / 0.7876 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.005148/0.6545, allocations: 1.342 MB / 0.7889 GB, free: 248 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.6545, allocations: 59.83 kB / 0.789 GB, free: 172 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002729/0.6573, allocations: 1.545 MB / 0.7905 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001147/0.6574, allocations: 41.7 kB / 0.7905 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006168/0.658, allocations: 0.6652 MB / 0.7912 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.6582, allocations: 173.6 kB / 0.7914 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003041/0.6585, allocations: 166.5 kB / 0.7915 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.6586, allocations: 341.9 kB / 0.7918 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.6597, allocations: 361.8 kB / 0.7922 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/0.6609, allocations: 0.6663 MB / 0.7928 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001919/0.6628, allocations: 0.8828 MB / 0.7937 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.6629, allocations: 0 / 0.7937 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003093/0.666, allocations: 1.197 MB / 0.7949 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.666, allocations: 8 kB / 0.7949 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/0.666, allocations: 8 kB / 0.7949 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.6671, allocations: 228.6 kB / 0.7951 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007884/0.6679, allocations: 179.8 kB / 0.7953 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001042/0.6689, allocations: 0.7239 MB / 0.796 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/0.6707, allocations: 214.7 kB / 0.7962 GB, free: 8.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/0.6708, allocations: 39.98 kB / 0.7962 GB, free: 8.461 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (84): * Single equations (assignments): 83 * 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.0007248/0.6716, allocations: 357.6 kB / 0.7966 GB, free: 8.102 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004746/0.672, allocations: 154.1 kB / 0.7967 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002898/0.6749, allocations: 1.141 MB / 0.7978 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.48e-05/0.675, allocations: 4 kB / 0.7978 GB, free: 6.781 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.675, allocations: 8 kB / 0.7978 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.675, allocations: 3.984 kB / 0.7978 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006104/0.6811, allocations: 2.51 MB / 0.8003 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.6812, allocations: 3.938 kB / 0.8003 GB, free: 4.176 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003917/0.6816, allocations: 96 kB / 0.8004 GB, free: 4.082 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007914/0.6824, allocations: 204.6 kB / 0.8006 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.623e-05/0.6824, allocations: 19.98 kB / 0.8006 GB, free: 3.859 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/0.6838, allocations: 0.7709 MB / 0.8013 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.6838, allocations: 0 / 0.8013 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003589/0.6874, allocations: 1.207 MB / 0.8025 GB, free: 1.82 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007071/0.6881, allocations: 350.9 kB / 0.8029 GB, free: 1.457 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000281/0.6884, allocations: 12 kB / 0.8029 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009754/0.6894, allocations: 71.92 kB / 0.8029 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.711e-05/0.6895, allocations: 44.44 kB / 0.803 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-05/0.6896, allocations: 23.98 kB / 0.803 GB, free: 1.309 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001938/0.6915, allocations: 1.09 MB / 0.8041 GB, free: 228 kB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6916, allocations: 4 kB / 0.8041 GB, free: 224 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001379/0.6929, allocations: 443.4 kB / 0.8045 GB, free: 15.79 MB / 0.6387 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.005032/0.698, allocations: 2.115 MB / 0.8066 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002483/0.7005, allocations: 0.852 MB / 0.8074 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.7005, allocations: 0 / 0.8074 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00138/0.7019, allocations: 448 kB / 0.8078 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003848/0.7058, allocations: 0.7352 MB / 0.8085 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01961/0.7254, allocations: 10.46 MB / 0.8188 GB, free: 0.7852 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008845/0.7263, allocations: 1.176 MB / 0.8199 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001164/0.7275, allocations: 260.2 kB / 0.8201 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007872/0.7283, allocations: 0.5539 MB / 0.8207 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of SimCode: time 8.32e-07/0.7283, allocations: 0 / 0.8207 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08372/0.812, allocations: 44.46 MB / 0.8641 GB, free: 2.785 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.11/14.92, allocations: 7.938 kB / 0.8641 GB, free: 2.777 MB / 0.6856 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)