Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IBPSA_latest_IBPSA_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.004148/0.004148, allocations: 101.6 kB / 15.88 MB, free: 6.32 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.001098/0.001098, allocations: 195.5 kB / 16.79 MB, free: 6.246 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.124/1.124, allocations: 222.9 MB / 240.5 MB, free: 15.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6247/0.6247, allocations: 115.3 MB / 405.9 MB, free: 6.469 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 63.91 kB / 493 MB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2935, allocations: 76.17 MB / 0.5558 GB, free: 36.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05339/0.3469, allocations: 70.03 MB / 0.6242 GB, free: 14.53 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0221/0.3691, allocations: 19 MB / 0.6428 GB, free: 11.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002531/0.3716, allocations: 67.56 kB / 0.6428 GB, free: 11.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.3736, allocations: 0.6488 MB / 0.6435 GB, free: 10.76 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006417/0.38, allocations: 2.606 MB / 0.646 GB, free: 8.141 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003181/0.3832, allocations: 1.5 MB / 0.6475 GB, free: 6.652 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005362/0.3886, allocations: 5.005 MB / 0.6524 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001686/0.3903, allocations: 1.183 MB / 0.6535 GB, free: 428 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002663/0.3929, allocations: 1.509 MB / 0.655 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00136/0.3943, allocations: 1.151 MB / 0.6561 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001503/0.3945, allocations: 79.94 kB / 0.6562 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002292/0.3968, allocations: 1.239 MB / 0.6574 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002614/0.397, allocations: 290.7 kB / 0.6577 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00075/0.3978, allocations: 0.8199 MB / 0.6585 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002853/0.4007, allocations: 3.023 MB / 0.6614 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4007, allocations: 0 / 0.6614 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.62e-07/0.4007, allocations: 0 / 0.6614 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.852e-05/0.4007, allocations: 0 / 0.6614 GB, free: 8.285 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.003018/0.4037, allocations: 2.027 MB / 0.6634 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.4038, allocations: 11.97 kB / 0.6634 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001571/0.4039, allocations: 156.5 kB / 0.6636 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002178/0.4061, allocations: 454.1 kB / 0.664 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002194/0.4083, allocations: 1.497 MB / 0.6655 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000338/0.4087, allocations: 142 kB / 0.6656 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.4088, allocations: 104 kB / 0.6657 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002301/0.4111, allocations: 1.293 MB / 0.667 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.4111, allocations: 3.938 kB / 0.667 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.913e-05/0.4112, allocations: 44 kB / 0.667 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/0.4113, allocations: 24 kB / 0.667 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002409/0.4137, allocations: 1.108 MB / 0.6681 GB, free: 1.215 MB / 0.4981 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.007212/0.4209, allocations: 7.146 MB / 0.6751 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002873/0.4238, allocations: 0.8038 MB / 0.6759 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00053/0.4243, allocations: 285.9 kB / 0.6761 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001137/0.4255, allocations: 1.722 MB / 0.6778 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.4255, allocations: 42.94 kB / 0.6779 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=48): time 1.894e-06/0.4255, allocations: 0 / 0.6779 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48): time 0.004115/0.4296, allocations: 1.33 MB / 0.6792 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.4297, allocations: 55.84 kB / 0.6792 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002014/0.4317, allocations: 1.525 MB / 0.6807 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.421e-05/0.4318, allocations: 37.7 kB / 0.6807 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005038/0.4323, allocations: 0.6691 MB / 0.6814 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.4324, allocations: 165.6 kB / 0.6816 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002527/0.4327, allocations: 170.4 kB / 0.6817 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.4328, allocations: 337.9 kB / 0.682 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009125/0.4337, allocations: 365.8 kB / 0.6824 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.4349, allocations: 0.6354 MB / 0.683 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001643/0.4366, allocations: 0.8483 MB / 0.6838 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.4366, allocations: 4 kB / 0.6838 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00392/0.4405, allocations: 1.326 MB / 0.6851 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.4405, allocations: 8 kB / 0.6851 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.4406, allocations: 8.062 kB / 0.6852 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008062/0.4414, allocations: 216.6 kB / 0.6854 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00071/0.4421, allocations: 187.7 kB / 0.6855 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007833/0.4429, allocations: 0.7201 MB / 0.6862 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/0.4445, allocations: 234.7 kB / 0.6865 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.189e-05/0.4446, allocations: 51.95 kB / 0.6865 GB, free: 13.13 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.0005545/0.4451, allocations: 350.3 kB / 0.6869 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002608/0.4454, allocations: 142.2 kB / 0.687 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/0.4476, allocations: 1.149 MB / 0.6881 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/0.4477, allocations: 11.98 kB / 0.6881 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.4477, allocations: 3.938 kB / 0.6881 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.4477, allocations: 0 / 0.6881 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004816/0.4525, allocations: 2.502 MB / 0.6906 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.4525, allocations: 4 kB / 0.6906 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003336/0.4529, allocations: 91.75 kB / 0.6907 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006924/0.4536, allocations: 212.8 kB / 0.6909 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.209e-05/0.4536, allocations: 16.09 kB / 0.6909 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001153/0.4548, allocations: 0.7718 MB / 0.6916 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.251e-05/0.4548, allocations: 7.969 kB / 0.6916 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003046/0.4579, allocations: 1.203 MB / 0.6928 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005488/0.4584, allocations: 346.9 kB / 0.6931 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002104/0.4587, allocations: 16 kB / 0.6932 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009183/0.4596, allocations: 83.84 kB / 0.6932 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.33e-05/0.4597, allocations: 44.44 kB / 0.6933 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.473e-05/0.4597, allocations: 31.98 kB / 0.6933 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001671/0.4614, allocations: 1.074 MB / 0.6944 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4614, allocations: 0 / 0.6944 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001159/0.4626, allocations: 439.3 kB / 0.6948 GB, free: 4.496 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 (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.00408/0.4667, allocations: 2.119 MB / 0.6969 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001938/0.4686, allocations: 0.8173 MB / 0.6976 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.4686, allocations: 3.984 kB / 0.6977 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001169/0.4698, allocations: 443.5 kB / 0.6981 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002852/0.4727, allocations: 0.7 MB / 0.6988 GB, free: 416 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02486/0.4975, allocations: 11.68 MB / 0.7102 GB, free: 4.148 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007177/0.4983, allocations: 1.168 MB / 0.7113 GB, free: 2.949 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001057/0.4994, allocations: 263.9 kB / 0.7116 GB, free: 2.688 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006472/0.5, allocations: 0.5539 MB / 0.7121 GB, free: 2.133 MB / 0.545 GB Notification: Performance of SimCode: time 5.41e-07/0.5, allocations: 0 / 0.7121 GB, free: 2.133 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2509/0.7509, allocations: 41.66 MB / 0.7528 GB, free: 163 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/0.7511, allocations: 273 kB / 0.753 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.517/3.268, allocations: 1.031 kB / 0.753 GB, free: 162.6 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)