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.613/1.613, allocations: 285.6 MB / 293.1 MB, free: 10.17 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.001108/0.001108, allocations: 176.9 kB / 361.4 MB, free: 6.801 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.439/1.439, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.0009918/0.000992, allocations: 92.31 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.007e-05/2.008e-05, allocations: 0 / 0.8518 GB, free: 2.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8131/0.8132, allocations: 115.3 MB / 0.9644 GB, free: 78.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2301/1.043, allocations: 136.5 MB / 1.098 GB, free: 3.297 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003456/1.044, allocations: 63.97 kB / 1.098 GB, free: 3.234 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0006411/1.044, allocations: 380.6 kB / 1.098 GB, free: 2.863 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.944e-06/1.044, allocations: 0.5938 kB / 1.098 GB, free: 2.863 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.442e-06/1.044, allocations: 0.6875 kB / 1.098 GB, free: 2.863 MB / 0.698 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.0002884/1.045, allocations: 303.1 kB / 1.098 GB, free: 2.523 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/1.045, allocations: 8.594 kB / 1.098 GB, free: 2.516 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/1.045, allocations: 5.016 kB / 1.098 GB, free: 2.512 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/1.045, allocations: 166.8 kB / 1.099 GB, free: 2.312 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/1.045, allocations: 0 / 1.099 GB, free: 2.312 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/1.045, allocations: 2.391 kB / 1.099 GB, free: 2.312 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.723e-05/1.045, allocations: 8.625 kB / 1.099 GB, free: 2.305 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.861e-05/1.045, allocations: 29.38 kB / 1.099 GB, free: 2.273 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/1.045, allocations: 0 / 1.099 GB, free: 2.273 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/1.045, allocations: 0.875 kB / 1.099 GB, free: 2.273 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/1.045, allocations: 0 / 1.099 GB, free: 2.273 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001379/1.045, allocations: 125.1 kB / 1.099 GB, free: 2.117 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.395e-05/1.045, allocations: 27.19 kB / 1.099 GB, free: 2.082 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.628e-05/1.045, allocations: 10.03 kB / 1.099 GB, free: 2.07 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/1.045, allocations: 4.062 kB / 1.099 GB, free: 2.066 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/1.045, allocations: 32.16 kB / 1.099 GB, free: 2.027 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/1.045, allocations: 0 / 1.099 GB, free: 2.027 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001302/1.046, allocations: 34.42 kB / 1.099 GB, free: 1.988 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/1.046, allocations: 51.41 kB / 1.099 GB, free: 1.926 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.361e-05/1.046, allocations: 85.69 kB / 1.099 GB, free: 1.836 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/1.046, allocations: 26.36 kB / 1.099 GB, free: 1.805 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.781e-05/1.046, allocations: 81.33 kB / 1.099 GB, free: 1.723 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/1.046, allocations: 0 / 1.099 GB, free: 1.723 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/1.046, allocations: 0 / 1.099 GB, free: 1.723 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001043/1.046, allocations: 311.4 kB / 1.099 GB, free: 1.41 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.036e-05/1.046, allocations: 8.438 kB / 1.099 GB, free: 1.402 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.488e-06/1.046, allocations: 0.5 kB / 1.099 GB, free: 1.402 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.517e-05/1.046, allocations: 0.5938 kB / 1.099 GB, free: 1.402 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.046, allocations: 1.562 kB / 1.099 GB, free: 1.402 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.728e-05/1.046, allocations: 37.59 kB / 1.099 GB, free: 1.359 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/1.046, allocations: 12.73 kB / 1.099 GB, free: 1.348 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/1.046, allocations: 0 / 1.099 GB, free: 1.348 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/1.046, allocations: 0.7188 kB / 1.099 GB, free: 1.348 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.747e-05/1.046, allocations: 4 kB / 1.099 GB, free: 1.344 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/1.046, allocations: 4.422 kB / 1.1 GB, free: 1.344 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.5e-05/1.046, allocations: 8.172 kB / 1.1 GB, free: 1.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/1.046, allocations: 0 / 1.1 GB, free: 1.34 MB / 0.698 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 6.816e-05/1.046, allocations: 101.5 kB / 1.1 GB, free: 1.234 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 3.743e-05/1.046, allocations: 39.38 kB / 1.1 GB, free: 1.191 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.177e-06/1.046, allocations: 5.359 kB / 1.1 GB, free: 1.188 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.947e-05/1.046, allocations: 3.75 kB / 1.1 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/1.046, allocations: 4 kB / 1.1 GB, free: 1.18 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/1.046, allocations: 0.5938 kB / 1.1 GB, free: 1.18 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/1.046, allocations: 0.625 kB / 1.1 GB, free: 1.18 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.009e-05/1.046, allocations: 122.2 kB / 1.1 GB, free: 1.023 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/1.046, allocations: 2.438 kB / 1.1 GB, free: 1.023 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.019e-05/1.046, allocations: 2.125 kB / 1.1 GB, free: 1.023 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/1.046, allocations: 7.984 kB / 1.1 GB, free: 1.016 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/1.047, allocations: 3.953 kB / 1.1 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/1.047, allocations: 0.75 kB / 1.1 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.047, allocations: 0 / 1.1 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.223e-05/1.047, allocations: 55.17 kB / 1.1 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/1.047, allocations: 77.11 kB / 1.1 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/1.047, allocations: 4.875 kB / 1.1 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.729e-06/1.047, allocations: 3.953 kB / 1.1 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.037e-05/1.047, allocations: 9.078 kB / 1.1 GB, free: 0.832 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/1.047, allocations: 4.734 kB / 1.1 GB, free: 0.832 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.22e-05/1.047, allocations: 77.38 kB / 1.1 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/1.047, allocations: 0 / 1.1 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002075/1.047, allocations: 0 / 1.1 GB, free: 0.7578 MB / 0.698 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.0003257/1.047, allocations: 0.5924 MB / 1.101 GB, free: 144 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.444e-05/1.047, allocations: 4 kB / 1.101 GB, free: 140 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.047, allocations: 0 / 1.101 GB, free: 140 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.881e-06/1.047, allocations: 3.938 kB / 1.101 GB, free: 136 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001174/1.048, allocations: 11.94 kB / 1.101 GB, free: 124 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003083/1.048, allocations: 69.67 kB / 1.101 GB, free: 16 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/1.048, allocations: 0.6729 MB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.766e-05/1.048, allocations: 0 / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/1.048, allocations: 15.56 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/1.048, allocations: 0 / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01926/1.067, allocations: 409.4 kB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/1.068, allocations: 143.7 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/2.663, allocations: 1.266 kB / 1.102 GB, free: 14.74 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)