Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.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_y_etaPL,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_y_etaPL",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.0009116/0.0009118, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.491/0.491, allocations: 90.91 MB / 99.34 MB, free: 2.18 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.428/1.428, allocations: 221.5 MB / 343.2 MB, free: 1.613 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.0009362/0.0009362, allocations: 105.2 kB / 415.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.677e-05/1.68e-05, allocations: 0 / 494.6 MB, free: 52.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1488, allocations: 72.31 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.121/1.27, allocations: 376.4 MB / 0.9212 GB, free: 104 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/1.27, allocations: 87.64 kB / 0.9213 GB, free: 103.9 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.306/4.576, allocations: 0.8488 GB / 1.77 GB, free: 90.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.693e-06/4.576, allocations: 0 / 1.77 GB, free: 90.13 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001467/4.576, allocations: 39.03 kB / 1.77 GB, free: 90.13 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003492/4.58, allocations: 1.714 MB / 1.772 GB, free: 89.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/4.58, allocations: 13.84 kB / 1.772 GB, free: 89.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008407/4.581, allocations: 242.5 kB / 1.772 GB, free: 89.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00289/4.584, allocations: 1.71 MB / 1.774 GB, free: 89.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.109e-05/4.584, allocations: 32.12 kB / 1.774 GB, free: 89.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/4.584, allocations: 60.19 kB / 1.774 GB, free: 89.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001174/4.585, allocations: 0.7018 MB / 1.774 GB, free: 89.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/4.586, allocations: 0.881 MB / 1.775 GB, free: 88.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/4.587, allocations: 3 kB / 1.775 GB, free: 88.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.247e-05/4.587, allocations: 3.656 kB / 1.775 GB, free: 88.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.724e-05/4.587, allocations: 43.97 kB / 1.775 GB, free: 88.95 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.005213/4.592, allocations: 4.512 MB / 1.78 GB, free: 87.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000769/4.593, allocations: 0.4956 MB / 1.78 GB, free: 87.11 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003098/4.593, allocations: 256 kB / 1.781 GB, free: 87.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004858/4.593, allocations: 0.8321 MB / 1.781 GB, free: 86.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/4.594, allocations: 48.58 kB / 1.781 GB, free: 86.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=60): time 2.955e-06/4.594, allocations: 0 / 1.781 GB, free: 86.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=60): time 0.001292/4.595, allocations: 0.5974 MB / 1.782 GB, free: 86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/4.595, allocations: 62.59 kB / 1.782 GB, free: 85.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/4.596, allocations: 0.8844 MB / 1.783 GB, free: 85.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.492e-05/4.596, allocations: 29.33 kB / 1.783 GB, free: 85.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003889/4.596, allocations: 0.6292 MB / 1.784 GB, free: 85.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/4.597, allocations: 204 kB / 1.784 GB, free: 85.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/4.597, allocations: 0 / 1.784 GB, free: 85.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.503e-05/4.597, allocations: 333 kB / 1.784 GB, free: 85.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/4.597, allocations: 194.6 kB / 1.784 GB, free: 85.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003884/4.597, allocations: 412.4 kB / 1.785 GB, free: 84.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005507/4.598, allocations: 280.5 kB / 1.785 GB, free: 84.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/4.598, allocations: 3.938 kB / 1.785 GB, free: 84.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003819/4.602, allocations: 1.142 MB / 1.786 GB, free: 84.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002604/4.602, allocations: 1.324 MB / 1.787 GB, free: 83.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/4.602, allocations: 2.906 kB / 1.787 GB, free: 83.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004458/4.602, allocations: 130.9 kB / 1.787 GB, free: 83.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005577/4.603, allocations: 154.3 kB / 1.788 GB, free: 83.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005631/4.604, allocations: 0.7035 MB / 1.788 GB, free: 82.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/4.605, allocations: 122.2 kB / 1.788 GB, free: 82.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.897e-05/4.605, allocations: 33.98 kB / 1.788 GB, free: 82.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/4.605, allocations: 7 kB / 1.788 GB, free: 82.86 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003612/4.609, allocations: 0.9941 MB / 1.789 GB, free: 82.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/4.609, allocations: 1.469 kB / 1.789 GB, free: 82.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003474/4.609, allocations: 128.7 kB / 1.79 GB, free: 82.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005293/4.609, allocations: 160.4 kB / 1.79 GB, free: 82.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004977/4.61, allocations: 0.7016 MB / 1.79 GB, free: 82.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/4.611, allocations: 111.5 kB / 1.79 GB, free: 82.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.454e-05/4.611, allocations: 31.75 kB / 1.79 GB, free: 82.27 MB / 0.6198 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi.QEva_flow:VARIABLE(unit = "W" ) "Actual cooling heat flow rate removed from fluid 2" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002368/4.611, allocations: 125 kB / 1.791 GB, free: 82.17 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001104/4.612, allocations: 0.5995 MB / 1.791 GB, free: 82.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/4.613, allocations: 123.9 kB / 1.791 GB, free: 82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/4.614, allocations: 0.7184 MB / 1.792 GB, free: 81.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/4.614, allocations: 7.375 kB / 1.792 GB, free: 81.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/4.614, allocations: 0 / 1.792 GB, free: 81.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000889/4.615, allocations: 0.6361 MB / 1.793 GB, free: 81.74 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005488/4.62, allocations: 2.341 MB / 1.795 GB, free: 81.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/4.62, allocations: 7.469 kB / 1.795 GB, free: 81.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004876/4.621, allocations: 119.6 kB / 1.795 GB, free: 81.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003827/4.621, allocations: 129.3 kB / 1.795 GB, free: 81.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.341e-05/4.621, allocations: 13.39 kB / 1.795 GB, free: 81.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004856/4.622, allocations: 0.6855 MB / 1.796 GB, free: 80.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/4.622, allocations: 5.062 kB / 1.796 GB, free: 80.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004511/4.626, allocations: 1.716 MB / 1.798 GB, free: 80.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008734/4.627, allocations: 312.4 kB / 1.798 GB, free: 80.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/4.627, allocations: 12.03 kB / 1.798 GB, free: 80.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007823/4.628, allocations: 64.94 kB / 1.798 GB, free: 80.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/4.628, allocations: 50.88 kB / 1.798 GB, free: 80.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.891e-05/4.628, allocations: 38.2 kB / 1.798 GB, free: 80.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001147/4.63, allocations: 0.6801 MB / 1.799 GB, free: 79.99 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/4.63, allocations: 0 / 1.799 GB, free: 79.99 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002486/4.632, allocations: 0.7677 MB / 1.799 GB, free: 79.86 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.005802/4.638, allocations: 3.706 MB / 1.803 GB, free: 77.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001625/4.64, allocations: 0.8956 MB / 1.804 GB, free: 77.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/4.64, allocations: 1.906 kB / 1.804 GB, free: 77.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004585/4.64, allocations: 311.7 kB / 1.804 GB, free: 77.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002783/4.643, allocations: 0.5471 MB / 1.805 GB, free: 77.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004031/4.647, allocations: 2.008 MB / 1.807 GB, free: 77.21 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005192/4.647, allocations: 1.198 MB / 1.808 GB, free: 76.51 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001354/4.649, allocations: 336.5 kB / 1.808 GB, free: 76.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004859/4.649, allocations: 481.2 kB / 1.809 GB, free: 76.49 MB / 0.6198 GB Notification: Performance of SimCode: time 9.32e-07/4.649, allocations: 1.406 kB / 1.809 GB, free: 76.49 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07106/4.72, allocations: 38.5 MB / 1.846 GB, free: 74.76 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/4.721, allocations: 161.5 kB / 1.846 GB, free: 74.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.137/7.858, allocations: 7.938 kB / 1.846 GB, free: 74.57 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_y_etaPL.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)