Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IDEAS_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.004853/0.004853, allocations: 102.2 kB / 15.73 MB, free: 6.031 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.001044/0.001044, allocations: 194.4 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.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7329/0.7329, allocations: 132.2 MB / 422.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 71.88 kB / 0.5809 GB, free: 8.035 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3958, allocations: 80.19 MB / 0.6592 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06153/0.4573, allocations: 70.45 MB / 0.728 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02397/0.4813, allocations: 18.91 MB / 0.7464 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003018/0.4844, allocations: 71.56 kB / 0.7465 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002553/0.487, allocations: 0.8228 MB / 0.7473 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008059/0.4951, allocations: 2.846 MB / 0.7501 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004025/0.4991, allocations: 1.655 MB / 0.7517 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005123/0.5043, allocations: 4.037 MB / 0.7556 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002178/0.5065, allocations: 1.473 MB / 0.7571 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003809/0.5103, allocations: 1.797 MB / 0.7588 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00201/0.5123, allocations: 1.18 MB / 0.76 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004341/0.5127, allocations: 176 kB / 0.7602 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003095/0.5159, allocations: 1.416 MB / 0.7615 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005618/0.5164, allocations: 390.6 kB / 0.7619 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001521/0.518, allocations: 0.9216 MB / 0.7628 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004752/0.5227, allocations: 3.112 MB / 0.7658 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.5227, allocations: 0 / 0.7658 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.754e-06/0.5227, allocations: 0 / 0.7658 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.42e-05/0.5228, allocations: 4 kB / 0.7659 GB, free: 8.598 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.004723/0.5276, allocations: 2.038 MB / 0.7678 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.5276, allocations: 12.03 kB / 0.7679 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002922/0.5279, allocations: 152.6 kB / 0.768 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002374/0.5303, allocations: 449.4 kB / 0.7684 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003201/0.5335, allocations: 1.543 MB / 0.7699 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.309e-05/0.5336, allocations: 78.03 kB / 0.77 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001948/0.5338, allocations: 108 kB / 0.7701 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002613/0.5365, allocations: 1.313 MB / 0.7714 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/0.5365, allocations: 7.938 kB / 0.7714 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.5366, allocations: 51.88 kB / 0.7715 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/0.5366, allocations: 24 kB / 0.7715 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002554/0.5392, allocations: 1.089 MB / 0.7725 GB, free: 1.508 MB / 0.5919 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.008754/0.548, allocations: 7.509 MB / 0.7799 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003/0.551, allocations: 0.8113 MB / 0.7807 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005473/0.5515, allocations: 278 kB / 0.7809 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001153/0.5527, allocations: 1.726 MB / 0.7826 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.5527, allocations: 39 kB / 0.7827 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 2.385e-06/0.5528, allocations: 0 / 0.7827 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.004306/0.5571, allocations: 1.334 MB / 0.784 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.5571, allocations: 55.84 kB / 0.784 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002258/0.5594, allocations: 1.549 MB / 0.7855 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.977e-05/0.5594, allocations: 37.7 kB / 0.7856 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005404/0.56, allocations: 0.6769 MB / 0.7862 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.5602, allocations: 165.6 kB / 0.7864 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002707/0.5604, allocations: 178.4 kB / 0.7865 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.5606, allocations: 337.9 kB / 0.7869 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008858/0.5614, allocations: 361.8 kB / 0.7872 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.5626, allocations: 0.6624 MB / 0.7879 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001626/0.5642, allocations: 0.8829 MB / 0.7887 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.5642, allocations: 7.938 kB / 0.7887 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002668/0.5669, allocations: 1.186 MB / 0.7899 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.5669, allocations: 8 kB / 0.7899 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.5669, allocations: 11.98 kB / 0.7899 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007958/0.5677, allocations: 212.7 kB / 0.7901 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007345/0.5685, allocations: 191.7 kB / 0.7903 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007888/0.5693, allocations: 0.7278 MB / 0.791 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.5707, allocations: 210.7 kB / 0.7912 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.5708, allocations: 43.98 kB / 0.7912 GB, free: 13.07 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.0004837/0.5713, allocations: 349.6 kB / 0.7916 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002744/0.5716, allocations: 158 kB / 0.7917 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002194/0.5738, allocations: 1.137 MB / 0.7928 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.5738, allocations: 7.984 kB / 0.7928 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.5738, allocations: 96 / 0.7928 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.405e-06/0.5738, allocations: 7.922 kB / 0.7929 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004789/0.5786, allocations: 2.522 MB / 0.7953 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.892e-06/0.5787, allocations: 0 / 0.7953 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003594/0.579, allocations: 83.89 kB / 0.7954 GB, free: 8.742 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006749/0.5797, allocations: 216.7 kB / 0.7956 GB, free: 8.527 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.309e-05/0.5798, allocations: 19.98 kB / 0.7956 GB, free: 8.508 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/0.5809, allocations: 0.7708 MB / 0.7964 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.5809, allocations: 4.031 kB / 0.7964 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003098/0.5841, allocations: 1.203 MB / 0.7976 GB, free: 6.465 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005528/0.5846, allocations: 346.9 kB / 0.7979 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002565/0.5849, allocations: 12 kB / 0.7979 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009219/0.5858, allocations: 75.91 kB / 0.798 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.286e-05/0.5859, allocations: 44.44 kB / 0.798 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.747e-05/0.586, allocations: 27.98 kB / 0.798 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001804/0.5878, allocations: 1.082 MB / 0.7991 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5878, allocations: 0 / 0.7991 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001279/0.5891, allocations: 447.4 kB / 0.7995 GB, free: 4.434 MB / 0.6231 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.004329/0.5934, allocations: 2.109 MB / 0.8016 GB, free: 2.293 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002031/0.5955, allocations: 0.8563 MB / 0.8024 GB, free: 1.438 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.5955, allocations: 3.938 kB / 0.8024 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001204/0.5967, allocations: 443.6 kB / 0.8028 GB, free: 1 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003021/0.5997, allocations: 0.7525 MB / 0.8036 GB, free: 292 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01703/0.6168, allocations: 10.44 MB / 0.8138 GB, free: 5.469 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008074/0.6176, allocations: 1.172 MB / 0.8149 GB, free: 4.266 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009749/0.6186, allocations: 265.7 kB / 0.8152 GB, free: 4.016 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007446/0.6194, allocations: 0.5422 MB / 0.8157 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of SimCode: time 7.91e-07/0.6194, allocations: 4 kB / 0.8157 GB, free: 3.469 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07657/0.6959, allocations: 44.45 MB / 0.8591 GB, free: 7.543 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/13.75, allocations: 14.38 kB / 0.8591 GB, free: 7.531 MB / 0.6856 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)