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.746/1.746, allocations: 288.2 MB / 303.2 MB, free: 8.168 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.001207/0.001207, allocations: 179.5 kB / 371.8 MB, free: 10.27 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.816/1.816, allocations: 205.4 MB / 0.6305 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008753/0.0008754, allocations: 93.59 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004178/0.0004177, allocations: 18.59 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2523, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9131/1.165, allocations: 137.3 MB / 1.114 GB, free: 16.37 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/1.166, allocations: 66.39 kB / 1.114 GB, free: 16.37 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001079/1.167, allocations: 374.7 kB / 1.114 GB, free: 32.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.306e-06/1.167, allocations: 0 / 1.114 GB, free: 32.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.971e-06/1.167, allocations: 0 / 1.114 GB, free: 32.05 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.0002631/1.167, allocations: 311.5 kB / 1.114 GB, free: 31.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/1.167, allocations: 13.86 kB / 1.114 GB, free: 31.71 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.521e-05/1.167, allocations: 30.56 kB / 1.114 GB, free: 31.67 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.562e-05/1.167, allocations: 3.156 kB / 1.114 GB, free: 31.67 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.918e-05/1.167, allocations: 167 kB / 1.114 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/1.167, allocations: 3.938 kB / 1.114 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/1.167, allocations: 3.312 kB / 1.114 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.787e-05/1.168, allocations: 25.7 kB / 1.114 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/1.168, allocations: 3.938 kB / 1.114 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/1.168, allocations: 2.859 kB / 1.114 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/1.168, allocations: 4 kB / 1.114 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.073e-05/1.168, allocations: 3.75 kB / 1.114 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001148/1.168, allocations: 145.6 kB / 1.115 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.414e-05/1.168, allocations: 25.73 kB / 1.115 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/1.168, allocations: 3.984 kB / 1.115 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/1.168, allocations: 33.33 kB / 1.115 GB, free: 31.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/1.168, allocations: 0 / 1.115 GB, free: 31.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001222/1.168, allocations: 33.48 kB / 1.115 GB, free: 31.13 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/1.168, allocations: 55.12 kB / 1.115 GB, free: 31.07 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.373e-05/1.168, allocations: 85 kB / 1.115 GB, free: 30.98 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/1.168, allocations: 25.7 kB / 1.115 GB, free: 30.95 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.65e-05/1.168, allocations: 81.67 kB / 1.115 GB, free: 30.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/1.168, allocations: 0.7812 kB / 1.115 GB, free: 30.86 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.452e-06/1.168, allocations: 0 / 1.115 GB, free: 30.86 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001165/1.168, allocations: 316.9 kB / 1.115 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.208e-06/1.168, allocations: 8.062 kB / 1.115 GB, free: 30.54 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.697e-06/1.168, allocations: 3.75 kB / 1.115 GB, free: 30.54 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.869e-05/1.168, allocations: 0 / 1.115 GB, free: 30.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.168, allocations: 0 / 1.115 GB, free: 30.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.47e-05/1.168, allocations: 37 kB / 1.115 GB, free: 30.51 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/1.168, allocations: 3.344 kB / 1.115 GB, free: 30.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/1.168, allocations: 3.188 kB / 1.115 GB, free: 30.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/1.168, allocations: 0 / 1.115 GB, free: 30.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.784e-05/1.168, allocations: 3.844 kB / 1.115 GB, free: 30.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/1.168, allocations: 5.828 kB / 1.115 GB, free: 30.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.115e-05/1.168, allocations: 5.344 kB / 1.115 GB, free: 30.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/1.168, allocations: 0 / 1.115 GB, free: 30.5 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 () * 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 7.112e-05/1.169, allocations: 109.7 kB / 1.115 GB, free: 30.39 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.452e-06/1.169, allocations: 7.797 kB / 1.115 GB, free: 30.39 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.914e-05/1.169, allocations: 3.125 kB / 1.115 GB, free: 30.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/1.169, allocations: 0 / 1.115 GB, free: 30.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/1.169, allocations: 0 / 1.115 GB, free: 30.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.169, allocations: 7.125 kB / 1.115 GB, free: 30.38 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.621e-05/1.169, allocations: 153.1 kB / 1.116 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/1.169, allocations: 0 / 1.116 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.636e-06/1.169, allocations: 3.844 kB / 1.116 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/1.169, allocations: 0 / 1.116 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/1.169, allocations: 3.953 kB / 1.116 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/1.169, allocations: 2.812 kB / 1.116 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.169, allocations: 0 / 1.116 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.104e-05/1.169, allocations: 60.48 kB / 1.116 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.945e-05/1.169, allocations: 81.14 kB / 1.116 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/1.169, allocations: 3.094 kB / 1.116 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.015e-06/1.169, allocations: 3.953 kB / 1.116 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.36e-05/1.169, allocations: 0 / 1.116 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-06/1.169, allocations: 3.844 kB / 1.116 GB, free: 30.02 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.975e-05/1.169, allocations: 75.28 kB / 1.116 GB, free: 29.94 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/1.169, allocations: 0 / 1.116 GB, free: 29.94 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001838/1.169, allocations: 0 / 1.116 GB, free: 29.94 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 () * 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.0003151/1.169, allocations: 0.5935 MB / 1.116 GB, free: 29.35 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.568e-05/1.17, allocations: 7.719 kB / 1.116 GB, free: 29.35 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/1.17, allocations: 0 / 1.116 GB, free: 29.35 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.801e-06/1.17, allocations: 4.391 kB / 1.116 GB, free: 29.35 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/1.17, allocations: 9.094 kB / 1.116 GB, free: 29.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002701/1.17, allocations: 107.7 kB / 1.117 GB, free: 29.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/1.17, allocations: 0.6757 MB / 1.117 GB, free: 28.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.388e-05/1.17, allocations: 0 / 1.117 GB, free: 28.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.68e-05/1.17, allocations: 7.438 kB / 1.117 GB, free: 28.5 MB / 0.698 GB Notification: Performance of SimCode: time 4.368e-06/1.17, allocations: 3.844 kB / 1.117 GB, free: 28.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01064/1.181, allocations: 0.7014 MB / 1.118 GB, free: 28.35 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001567/1.181, allocations: 174.6 kB / 1.118 GB, free: 28.12 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.564/2.746, allocations: 4 kB / 1.118 GB, free: 28.11 MB / 0.698 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)