Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.491/1.491, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001216/0.001216, allocations: 175.9 kB / 326.5 MB, free: 2.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.092/2.092, allocations: 205.4 MB / 0.5775 GB, free: 20.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009829/0.000983, allocations: 85.98 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003773/0.0003773, allocations: 10.25 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2754, allocations: 106.3 MB / 0.9001 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1821/0.4575, allocations: 131 MB / 1.028 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/0.4578, allocations: 75.94 kB / 1.028 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.000658/0.4585, allocations: 368.8 kB / 1.028 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.216e-06/0.4585, allocations: 0 / 1.028 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.4586, allocations: 4.062 kB / 1.028 GB, free: 12.81 MB / 0.6823 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.0003608/0.4589, allocations: 312.2 kB / 1.029 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.28e-05/0.459, allocations: 8.094 kB / 1.029 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.387e-05/0.4591, allocations: 38.5 kB / 1.029 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.769e-05/0.4591, allocations: 4 kB / 1.029 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.4593, allocations: 163 kB / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.4593, allocations: 0 / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.4593, allocations: 0 / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.4594, allocations: 29.69 kB / 1.029 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.4594, allocations: 7.938 kB / 1.029 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.4595, allocations: 0 / 1.029 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.4595, allocations: 0 / 1.029 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.207e-05/0.4595, allocations: 0 / 1.029 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001745/0.4597, allocations: 157.5 kB / 1.029 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.715e-05/0.4597, allocations: 18.61 kB / 1.029 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.4598, allocations: 0 / 1.029 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.4598, allocations: 30.56 kB / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.4598, allocations: 0 / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001636/0.46, allocations: 37.69 kB / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.46, allocations: 55.41 kB / 1.029 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.017e-05/0.4601, allocations: 93.12 kB / 1.029 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.4601, allocations: 25.7 kB / 1.029 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.496e-05/0.4602, allocations: 80.14 kB / 1.029 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.368e-05/0.4602, allocations: 0 / 1.029 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.964e-06/0.4602, allocations: 0 / 1.029 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.4604, allocations: 310.8 kB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.096e-05/0.4604, allocations: 0 / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.947e-06/0.4604, allocations: 4 kB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.357e-05/0.4605, allocations: 4.062 kB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4605, allocations: 0 / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.736e-05/0.4605, allocations: 45.58 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.4606, allocations: 8 kB / 1.03 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.4606, allocations: 0 / 1.03 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.4606, allocations: 0 / 1.03 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.768e-05/0.4607, allocations: 0 / 1.03 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.4607, allocations: 0 / 1.03 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.171e-05/0.4607, allocations: 3.938 kB / 1.03 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.4607, allocations: 4 kB / 1.03 GB, free: 11.18 MB / 0.6823 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 () * Number of clocked 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 0.0001014/0.4608, allocations: 109.9 kB / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.405e-06/0.4609, allocations: 7.891 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.596e-05/0.4609, allocations: 3.125 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.4609, allocations: 0 / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.4609, allocations: 4 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.4609, allocations: 0 / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.4611, allocations: 149.7 kB / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4611, allocations: 0 / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.682e-05/0.4611, allocations: 3.984 kB / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.4611, allocations: 3.953 kB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.4611, allocations: 4 kB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4611, allocations: 4 kB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4611, allocations: 0 / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.855e-05/0.4612, allocations: 61.06 kB / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-05/0.4613, allocations: 77.11 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.4613, allocations: 3.953 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.965e-06/0.4613, allocations: 4 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.4614, allocations: 4.031 kB / 1.03 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.4614, allocations: 0 / 1.03 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.016e-05/0.4614, allocations: 75.28 kB / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4614, allocations: 0 / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002198/0.4616, allocations: 4 kB / 1.03 GB, free: 10.57 MB / 0.6823 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 () * Number of clocked 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.0004062/0.4621, allocations: 0.5938 MB / 1.031 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.489e-05/0.4621, allocations: 4 kB / 1.031 GB, free: 9.949 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4621, allocations: 0 / 1.031 GB, free: 9.949 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.408e-06/0.4622, allocations: 4 kB / 1.031 GB, free: 9.945 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001113/0.4623, allocations: 3.953 kB / 1.031 GB, free: 9.941 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.4626, allocations: 104.3 kB / 1.031 GB, free: 9.797 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.4629, allocations: 0.6734 MB / 1.032 GB, free: 9.098 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.157e-05/0.4629, allocations: 8.125 kB / 1.032 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.3e-05/0.463, allocations: 7.438 kB / 1.032 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of SimCode: time 2e-07/0.463, allocations: 0 / 1.032 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01154/0.4745, allocations: 0.6926 MB / 1.032 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003134/0.4749, allocations: 180.3 kB / 1.033 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.429/1.904, allocations: 0 / 1.033 GB, free: 8.273 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1)