Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_8_0_0_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_8_0_0_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.374/2.374, allocations: 284.9 MB / 292.4 MB, free: 10.53 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001516/0.001516, allocations: 176.8 kB / 360.6 MB, free: 7.266 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.045/2.045, allocations: 205.3 MB / 0.6191 GB, free: 12.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001144/0.001143, allocations: 97.38 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.373e-05/2.368e-05, allocations: 4 kB / 0.8509 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7865/0.7865, allocations: 115.3 MB / 0.9634 GB, free: 78.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.239/1.026, allocations: 138.9 MB / 1.099 GB, free: 1.57 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/1.026, allocations: 91.33 kB / 1.099 GB, free: 1.484 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02359/1.05, allocations: 4.96 MB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.403e-06/1.05, allocations: 0.5938 kB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.224e-06/1.05, allocations: 1.531 kB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005256/1.05, allocations: 374.5 kB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/1.05, allocations: 12.03 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.6e-05/1.05, allocations: 77.17 kB / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/1.05, allocations: 250.9 kB / 1.105 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.541e-05/1.051, allocations: 151.2 kB / 1.105 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.07e-05/1.051, allocations: 155.1 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.295e-05/1.051, allocations: 155.2 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.895e-05/1.051, allocations: 104.3 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.397e-05/1.051, allocations: 75.28 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.271e-05/1.051, allocations: 153 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.518e-05/1.051, allocations: 151.2 kB / 1.106 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/1.051, allocations: 435.2 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/1.051, allocations: 171.8 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.593e-05/1.052, allocations: 80.7 kB / 1.106 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.968e-05/1.052, allocations: 75.94 kB / 1.106 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.377e-05/1.052, allocations: 110.7 kB / 1.106 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.763e-06/1.052, allocations: 0.6562 kB / 1.106 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 9.158e-05/1.052, allocations: 29.61 kB / 1.106 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.338e-05/1.052, allocations: 133.7 kB / 1.107 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/1.052, allocations: 93 kB / 1.107 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/1.052, allocations: 26.27 kB / 1.107 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.768e-05/1.052, allocations: 84.77 kB / 1.107 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/1.052, allocations: 12.78 kB / 1.107 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.063e-05/1.052, allocations: 0 / 1.107 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.00014/1.052, allocations: 310.8 kB / 1.107 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.977e-06/1.052, allocations: 0 / 1.107 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.148e-05/1.052, allocations: 26.56 kB / 1.107 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.481e-05/1.052, allocations: 79.88 kB / 1.107 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-05/1.052, allocations: 77.38 kB / 1.107 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.611e-05/1.053, allocations: 33.66 kB / 1.107 GB, free: 9 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.452e-05/1.053, allocations: 81.31 kB / 1.107 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.781e-05/1.053, allocations: 79.22 kB / 1.107 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.473e-05/1.053, allocations: 156.8 kB / 1.108 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.438e-05/1.053, allocations: 75.28 kB / 1.108 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.806e-05/1.053, allocations: 158.5 kB / 1.108 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/1.053, allocations: 80.06 kB / 1.108 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/1.053, allocations: 75.28 kB / 1.108 GB, free: 8.309 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001575/1.053, allocations: 259.3 kB / 1.108 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001061/1.053, allocations: 142.6 kB / 1.108 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.976e-05/1.053, allocations: 109 kB / 1.108 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.445e-05/1.054, allocations: 110.8 kB / 1.109 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.3e-05/1.054, allocations: 176.3 kB / 1.109 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-05/1.054, allocations: 188 kB / 1.109 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.718e-05/1.054, allocations: 180.2 kB / 1.109 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/1.054, allocations: 382.7 kB / 1.109 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-05/1.054, allocations: 105 kB / 1.11 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.05e-05/1.054, allocations: 116.9 kB / 1.11 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.277e-05/1.054, allocations: 180.3 kB / 1.11 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.84e-05/1.054, allocations: 176.3 kB / 1.11 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.282e-05/1.054, allocations: 180.2 kB / 1.11 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-05/1.055, allocations: 180.3 kB / 1.11 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/1.055, allocations: 308.1 kB / 1.111 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.35e-05/1.055, allocations: 182.3 kB / 1.111 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.771e-05/1.055, allocations: 188.2 kB / 1.111 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/1.055, allocations: 108.9 kB / 1.111 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.925e-05/1.055, allocations: 180.2 kB / 1.111 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.738e-05/1.055, allocations: 109 kB / 1.111 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.44e-05/1.055, allocations: 83.27 kB / 1.111 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.71e-07/1.055, allocations: 3.938 kB / 1.111 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006578/1.056, allocations: 95.91 kB / 1.112 GB, free: 4.43 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001301/1.057, allocations: 1.034 MB / 1.113 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.774e-05/1.058, allocations: 3.938 kB / 1.113 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/1.058, allocations: 4 kB / 1.113 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.204e-06/1.058, allocations: 0 / 1.113 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/1.058, allocations: 0.5263 MB / 1.113 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005508/1.058, allocations: 211.3 kB / 1.113 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/1.059, allocations: 0.6767 MB / 1.114 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.71e-05/1.059, allocations: 7.938 kB / 1.114 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.228e-05/1.059, allocations: 18.33 kB / 1.114 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of SimCode: time 7.61e-07/1.059, allocations: 0 / 1.114 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04438/1.103, allocations: 2.49 MB / 1.116 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003331/1.104, allocations: 189.9 kB / 1.117 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.403/3.507, allocations: 0 / 1.117 GB, free: 15.3 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_8.0.0_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1)