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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009733/0.0009734, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5003/0.5003, allocations: 90.92 MB / 99.35 MB, free: 2.207 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 221.5 MB / 343.2 MB, free: 1.543 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 98.47 kB / 415.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.357e-05/2.368e-05, allocations: 4 kB / 494.6 MB, free: 52.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.147, allocations: 72.3 MB / 0.5536 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.105/1.252, allocations: 387.6 MB / 0.9321 GB, free: 92.89 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/1.252, allocations: 90.39 kB / 0.9322 GB, free: 92.85 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.47/3.722, allocations: 0.7788 GB / 1.711 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.674e-06/3.722, allocations: 0 / 1.711 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001524/3.722, allocations: 39.98 kB / 1.711 GB, free: 14.38 MB / 0.6198 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.004012/3.726, allocations: 1.751 MB / 1.713 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/3.726, allocations: 8.031 kB / 1.713 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002313/3.729, allocations: 473.6 kB / 1.713 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00338/3.732, allocations: 1.737 MB / 1.715 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003448/3.732, allocations: 109.9 kB / 1.715 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/3.733, allocations: 64 kB / 1.715 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001506/3.734, allocations: 0.8398 MB / 1.716 GB, free: 9.297 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001624/3.736, allocations: 1.037 MB / 1.717 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/3.736, allocations: 3.938 kB / 1.717 GB, free: 8.172 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-05/3.736, allocations: 8 kB / 1.717 GB, free: 8.164 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.883e-05/3.736, allocations: 41.98 kB / 1.717 GB, free: 8.121 MB / 0.6198 GB Warning: The model contains alias variables with conflicting start and/or 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.008081/3.744, allocations: 6.888 MB / 1.724 GB, free: 0.7539 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008455/3.745, allocations: 0.5474 MB / 1.724 GB, free: 204 kB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3699/4.115, allocations: 221.8 kB / 1.724 GB, free: 70.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001175/4.116, allocations: 1.564 MB / 1.726 GB, free: 68.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/4.116, allocations: 43.59 kB / 1.726 GB, free: 68.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 3.036e-06/4.116, allocations: 0 / 1.726 GB, free: 68.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.00294/4.119, allocations: 0.7807 MB / 1.727 GB, free: 68.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/4.119, allocations: 59.75 kB / 1.727 GB, free: 68.53 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001808/4.121, allocations: 0.9485 MB / 1.728 GB, free: 68.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.575e-05/4.121, allocations: 28.69 kB / 1.728 GB, free: 68.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005558/4.122, allocations: 0.6864 MB / 1.728 GB, free: 68.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/4.122, allocations: 164.6 kB / 1.729 GB, free: 68.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/4.122, allocations: 0 / 1.729 GB, free: 68.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.104e-05/4.122, allocations: 329.6 kB / 1.729 GB, free: 67.79 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004209/4.122, allocations: 240.5 kB / 1.729 GB, free: 67.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006488/4.123, allocations: 0.5283 MB / 1.73 GB, free: 67.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00192/4.125, allocations: 0.5078 MB / 1.73 GB, free: 67.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/4.125, allocations: 1.938 kB / 1.73 GB, free: 67.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002989/4.128, allocations: 1.061 MB / 1.731 GB, free: 67.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/4.128, allocations: 12 kB / 1.731 GB, free: 67.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/4.128, allocations: 8.531 kB / 1.731 GB, free: 67.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007693/4.129, allocations: 217.6 kB / 1.731 GB, free: 67.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007823/4.13, allocations: 190.8 kB / 1.732 GB, free: 67.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006891/4.13, allocations: 0.7458 MB / 1.732 GB, free: 66.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/4.132, allocations: 196.5 kB / 1.733 GB, free: 66.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/4.132, allocations: 47.48 kB / 1.733 GB, free: 66.78 MB / 0.6198 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi_b.chi.QCon_flow:VARIABLE(unit = "W" ) "Actual heating heat flow rate added to fluid 1" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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 {2 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002485/4.132, allocations: 124.8 kB / 1.733 GB, free: 66.67 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002541/4.135, allocations: 0.786 MB / 1.733 GB, free: 66.56 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/4.135, allocations: 119.9 kB / 1.734 GB, free: 66.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002341/4.137, allocations: 1.01 MB / 1.735 GB, free: 66.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/4.137, allocations: 8.328 kB / 1.735 GB, free: 66.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/4.137, allocations: 1.156 kB / 1.735 GB, free: 66.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/4.137, allocations: 6.906 kB / 1.735 GB, free: 66.42 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005289/4.143, allocations: 2.339 MB / 1.737 GB, free: 66.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/4.143, allocations: 2.656 kB / 1.737 GB, free: 66.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003614/4.143, allocations: 90.42 kB / 1.737 GB, free: 66.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006526/4.144, allocations: 221.2 kB / 1.737 GB, free: 66.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.639e-05/4.144, allocations: 7.688 kB / 1.737 GB, free: 66.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000542/4.144, allocations: 0.7341 MB / 1.738 GB, free: 65.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/4.144, allocations: 9.453 kB / 1.738 GB, free: 65.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003244/4.148, allocations: 1.264 MB / 1.739 GB, free: 65.19 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006132/4.148, allocations: 335.8 kB / 1.739 GB, free: 65.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/4.148, allocations: 3.938 kB / 1.739 GB, free: 65.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007949/4.149, allocations: 88.3 kB / 1.74 GB, free: 65.03 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.254e-05/4.149, allocations: 46.23 kB / 1.74 GB, free: 65.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.091e-05/4.149, allocations: 31.56 kB / 1.74 GB, free: 65.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0009281/4.15, allocations: 0.7131 MB / 1.74 GB, free: 64.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2e-07/4.15, allocations: 0 / 1.74 GB, free: 64.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001707/4.152, allocations: 0.4985 MB / 1.741 GB, free: 64.89 MB / 0.6198 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 40 * 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 {2 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.004939/4.157, allocations: 2.946 MB / 1.744 GB, free: 63.53 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001396/4.158, allocations: 0.6504 MB / 1.744 GB, free: 63.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/4.158, allocations: 2 kB / 1.744 GB, free: 63.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006097/4.159, allocations: 339.6 kB / 1.745 GB, free: 63.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002236/4.161, allocations: 427.8 kB / 1.745 GB, free: 63.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004677/4.166, allocations: 1.862 MB / 1.747 GB, free: 62.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/4.167, allocations: 1.192 MB / 1.748 GB, free: 62.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001123/4.168, allocations: 231.4 kB / 1.748 GB, free: 62.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006834/4.169, allocations: 0.5259 MB / 1.749 GB, free: 62.23 MB / 0.6198 GB Notification: Performance of SimCode: time 9.82e-07/4.169, allocations: 0 / 1.749 GB, free: 62.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06572/4.235, allocations: 35.5 MB / 1.783 GB, free: 61.06 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001603/4.235, allocations: 170.2 kB / 1.784 GB, free: 60.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.892/7.127, allocations: 0.8438 kB / 1.784 GB, free: 60.86 MB / 0.6198 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/linux/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)