Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.652/1.652, allocations: 285.4 MB / 298 MB, free: 5.945 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.0009757/0.0009758, allocations: 184.8 kB / 366.4 MB, free: 2.07 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205.1 MB / 0.6248 GB, free: 7.703 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.0008096/0.0008096, allocations: 89.53 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.767e-05/4.769e-05, allocations: 4 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8212/0.8213, allocations: 115.3 MB / 0.971 GB, free: 77.97 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2169/1.038, allocations: 137.2 MB / 1.105 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/1.039, allocations: 75.94 kB / 1.105 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005983/1.039, allocations: 368.4 kB / 1.105 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.204e-06/1.039, allocations: 0 / 1.105 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.265e-06/1.039, allocations: 0 / 1.105 GB, free: 14.14 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003073/1.04, allocations: 313.6 kB / 1.106 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.981e-05/1.04, allocations: 8.031 kB / 1.106 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.92e-05/1.04, allocations: 32.38 kB / 1.106 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.513e-05/1.04, allocations: 0 / 1.106 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.962e-05/1.04, allocations: 163 kB / 1.106 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/1.04, allocations: 1.219 kB / 1.106 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/1.04, allocations: 8.656 kB / 1.106 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/1.04, allocations: 29.69 kB / 1.106 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/1.04, allocations: 3.938 kB / 1.106 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/1.04, allocations: 2.5 kB / 1.106 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/1.04, allocations: 0 / 1.106 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.3e-05/1.04, allocations: 4 kB / 1.106 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/1.04, allocations: 149.6 kB / 1.106 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.378e-05/1.04, allocations: 16.05 kB / 1.106 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.924e-05/1.04, allocations: 8.953 kB / 1.106 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/1.04, allocations: 0 / 1.106 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/1.04, allocations: 31.81 kB / 1.106 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/1.04, allocations: 0 / 1.106 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001312/1.041, allocations: 47.47 kB / 1.106 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/1.041, allocations: 55.41 kB / 1.106 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.96e-05/1.041, allocations: 85 kB / 1.106 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/1.041, allocations: 25.7 kB / 1.106 GB, free: 13 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.729e-05/1.041, allocations: 84.12 kB / 1.106 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/1.041, allocations: 0 / 1.106 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/1.041, allocations: 1.156 kB / 1.106 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001417/1.041, allocations: 310.8 kB / 1.107 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.348e-06/1.041, allocations: 0.875 kB / 1.107 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.159e-06/1.041, allocations: 4 kB / 1.107 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.371e-05/1.041, allocations: 1.219 kB / 1.107 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.041, allocations: 0 / 1.107 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.814e-05/1.041, allocations: 51.92 kB / 1.107 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/1.041, allocations: 8 kB / 1.107 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/1.041, allocations: 0 / 1.107 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/1.041, allocations: 0 / 1.107 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.366e-05/1.041, allocations: 0 / 1.107 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/1.041, allocations: 0 / 1.107 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.312e-05/1.041, allocations: 9.203 kB / 1.107 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/1.041, allocations: 0 / 1.107 GB, free: 12.53 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 (1): * Single equations (assignments): 1 * 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 8.432e-05/1.041, allocations: 104.3 kB / 1.107 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.196e-06/1.041, allocations: 4.984 kB / 1.107 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.263e-05/1.041, allocations: 3.125 kB / 1.107 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/1.041, allocations: 0 / 1.107 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/1.041, allocations: 4.656 kB / 1.107 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/1.041, allocations: 0 / 1.107 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/1.041, allocations: 146.9 kB / 1.107 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.041, allocations: 0 / 1.107 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.413e-05/1.042, allocations: 2.25 kB / 1.107 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/1.042, allocations: 4.672 kB / 1.107 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/1.042, allocations: 4 kB / 1.107 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/1.042, allocations: 0.7188 kB / 1.107 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1.042, allocations: 2.062 kB / 1.107 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.41e-05/1.042, allocations: 68.2 kB / 1.107 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.294e-05/1.042, allocations: 77.11 kB / 1.107 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/1.042, allocations: 7.953 kB / 1.107 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.462e-06/1.042, allocations: 0 / 1.107 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.633e-05/1.042, allocations: 0 / 1.107 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/1.042, allocations: 0.5625 kB / 1.107 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.315e-05/1.042, allocations: 77.97 kB / 1.107 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2e-07/1.042, allocations: 0 / 1.107 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002075/1.042, allocations: 0 / 1.107 GB, free: 11.96 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 (1): * Single equations (assignments): 1 * 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.0003363/1.042, allocations: 0.5957 MB / 1.108 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.035e-05/1.042, allocations: 8 kB / 1.108 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.042, allocations: 0 / 1.108 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.632e-06/1.042, allocations: 4 kB / 1.108 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.541e-05/1.043, allocations: 3.953 kB / 1.108 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002833/1.043, allocations: 74.64 kB / 1.108 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/1.043, allocations: 0.6731 MB / 1.109 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.804e-05/1.043, allocations: 4.125 kB / 1.109 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/1.043, allocations: 7.438 kB / 1.109 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of SimCode: time 5.72e-07/1.043, allocations: 0 / 1.109 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01109/1.054, allocations: 0.6977 MB / 1.109 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/1.054, allocations: 161.7 kB / 1.109 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.544/2.598, allocations: 1.5 kB / 1.109 GB, free: 9.766 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1)