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.001581/0.001581, allocations: 180.8 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5565/0.5565, allocations: 91.97 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.684/1.684, allocations: 223.2 MB / 354.3 MB, free: 12.16 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009236/0.0009237, allocations: 115.1 kB / 427.4 MB, free: 3.906 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004471/0.0004474, allocations: 12 kB / 0.4983 GB, free: 42.19 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1528, allocations: 72.31 MB / 0.5689 GB, free: 1.82 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.061/1.214, allocations: 388.3 MB / 0.9481 GB, free: 78.98 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/1.215, allocations: 93.52 kB / 0.9482 GB, free: 78.93 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.756/3.971, allocations: 0.7849 GB / 1.733 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of FrontEnd: time 5.731e-06/3.971, allocations: 4 kB / 1.733 GB, free: 8.715 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0003368/3.971, allocations: 43.98 kB / 1.733 GB, free: 8.672 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.007732/3.979, allocations: 2.038 MB / 1.735 GB, free: 6.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/3.979, allocations: 16.03 kB / 1.735 GB, free: 6.555 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006065/3.98, allocations: 152.4 kB / 1.735 GB, free: 6.398 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002807/3.982, allocations: 477.5 kB / 1.736 GB, free: 5.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006318/3.989, allocations: 1.737 MB / 1.737 GB, free: 4.141 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004487/3.989, allocations: 149.9 kB / 1.738 GB, free: 3.992 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004355/3.99, allocations: 108 kB / 1.738 GB, free: 3.887 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003893/3.994, allocations: 1.315 MB / 1.739 GB, free: 2.484 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.636e-05/3.994, allocations: 0 / 1.739 GB, free: 2.484 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002097/3.994, allocations: 44 kB / 1.739 GB, free: 2.441 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.862e-05/3.994, allocations: 41.98 kB / 1.739 GB, free: 2.402 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003254/3.997, allocations: 1.144 MB / 1.74 GB, free: 1.254 MB / 0.6198 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.4958/4.493, allocations: 6.996 MB / 1.747 GB, free: 58.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003283/4.496, allocations: 0.9076 MB / 1.748 GB, free: 58.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001122/4.497, allocations: 1.734 MB / 1.75 GB, free: 56.28 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/4.497, allocations: 37.88 kB / 1.75 GB, free: 56.24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=49): time 2.264e-06/4.497, allocations: 0 / 1.75 GB, free: 56.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49): time 0.005798/4.503, allocations: 1.499 MB / 1.751 GB, free: 56.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/4.503, allocations: 60 kB / 1.751 GB, free: 55.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002971/4.506, allocations: 1.367 MB / 1.752 GB, free: 55.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001334/4.506, allocations: 37.28 kB / 1.753 GB, free: 55.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005775/4.507, allocations: 0.6765 MB / 1.753 GB, free: 55.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/4.507, allocations: 171.3 kB / 1.753 GB, free: 55.51 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/4.507, allocations: 16.53 kB / 1.753 GB, free: 55.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.259e-05/4.507, allocations: 329.1 kB / 1.754 GB, free: 55.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009423/4.508, allocations: 379.3 kB / 1.754 GB, free: 55.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/4.509, allocations: 0.6788 MB / 1.755 GB, free: 54.85 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/4.511, allocations: 433.7 kB / 1.755 GB, free: 54.85 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.165e-05/4.511, allocations: 1.906 kB / 1.755 GB, free: 54.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003737/4.514, allocations: 1.214 MB / 1.756 GB, free: 54.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/4.514, allocations: 8.656 kB / 1.756 GB, free: 54.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/4.514, allocations: 8.031 kB / 1.756 GB, free: 54.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/4.516, allocations: 263.5 kB / 1.757 GB, free: 54.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008102/4.516, allocations: 193.8 kB / 1.757 GB, free: 54.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009335/4.517, allocations: 0.7743 MB / 1.757 GB, free: 54.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002171/4.52, allocations: 259.8 kB / 1.758 GB, free: 54.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/4.52, allocations: 42.64 kB / 1.758 GB, free: 54.16 MB / 0.6198 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 (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.001022/4.521, allocations: 359.7 kB / 1.758 GB, free: 54.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003094/4.521, allocations: 148.1 kB / 1.758 GB, free: 53.97 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002634/4.524, allocations: 1.201 MB / 1.759 GB, free: 53.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.631e-05/4.524, allocations: 11.67 kB / 1.759 GB, free: 53.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/4.524, allocations: 3.172 kB / 1.759 GB, free: 53.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/4.524, allocations: 7.094 kB / 1.759 GB, free: 53.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005515/4.529, allocations: 2.616 MB / 1.762 GB, free: 53.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.367e-06/4.529, allocations: 5.5 kB / 1.762 GB, free: 53.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003545/4.53, allocations: 82.86 kB / 1.762 GB, free: 53.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008893/4.531, allocations: 260.8 kB / 1.762 GB, free: 53.49 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.732e-05/4.531, allocations: 21.08 kB / 1.762 GB, free: 53.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007922/4.531, allocations: 0.7846 MB / 1.763 GB, free: 52.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/4.532, allocations: 0 / 1.763 GB, free: 52.96 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0035/4.535, allocations: 1.413 MB / 1.765 GB, free: 52.56 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009471/4.536, allocations: 374.6 kB / 1.765 GB, free: 52.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/4.536, allocations: 10.78 kB / 1.765 GB, free: 52.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009749/4.537, allocations: 112.4 kB / 1.765 GB, free: 52.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.197e-05/4.537, allocations: 40.27 kB / 1.765 GB, free: 52.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.753e-05/4.537, allocations: 29.48 kB / 1.765 GB, free: 52.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001839/4.539, allocations: 1.082 MB / 1.766 GB, free: 52.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.81e-07/4.539, allocations: 0.8125 kB / 1.766 GB, free: 52.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002117/4.541, allocations: 0.5043 MB / 1.767 GB, free: 52.26 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 () * Number of clocked 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.005828/4.547, allocations: 3.084 MB / 1.77 GB, free: 50.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002633/4.55, allocations: 0.8607 MB / 1.77 GB, free: 50.87 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/4.55, allocations: 1.062 kB / 1.77 GB, free: 50.87 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/4.551, allocations: 423.9 kB / 1.771 GB, free: 50.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003836/4.555, allocations: 0.6984 MB / 1.772 GB, free: 50.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02316/4.578, allocations: 13.25 MB / 1.784 GB, free: 43.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001279/4.579, allocations: 1.202 MB / 1.786 GB, free: 42.63 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001928/4.581, allocations: 262.1 kB / 1.786 GB, free: 42.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009483/4.582, allocations: 0.5511 MB / 1.786 GB, free: 42.61 MB / 0.6198 GB Notification: Performance of SimCode: time 9.648e-06/4.582, allocations: 0 / 1.786 GB, free: 42.61 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08896/4.671, allocations: 49.1 MB / 1.834 GB, free: 40.47 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001916/4.671, allocations: 243.1 kB / 1.835 GB, free: 40.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.876/8.547, allocations: 3.938 kB / 1.835 GB, free: 40.15 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)