Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.684/1.684, allocations: 289.7 MB / 302.2 MB, free: 2.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.001113/0.001114, allocations: 183.4 kB / 371.6 MB, free: 3.402 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.148/2.148, allocations: 205.1 MB / 0.6309 GB, free: 11.73 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.001108/0.001108, allocations: 91.73 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.667e-05/3.67e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.292, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.029/1.321, allocations: 138.2 MB / 1.115 GB, free: 44.8 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003453/1.322, allocations: 69.41 kB / 1.115 GB, free: 44.77 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0007138/1.322, allocations: 370.4 kB / 1.115 GB, free: 44.43 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.038e-06/1.322, allocations: 0 / 1.115 GB, free: 44.43 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.757e-06/1.323, allocations: 0 / 1.115 GB, free: 44.43 MB / 0.7448 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.000292/1.323, allocations: 306.1 kB / 1.116 GB, free: 44.1 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.256e-05/1.323, allocations: 12.09 kB / 1.116 GB, free: 44.09 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.257e-05/1.323, allocations: 31.22 kB / 1.116 GB, free: 44.05 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.104e-05/1.323, allocations: 2.234 kB / 1.116 GB, free: 44.05 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.084e-05/1.323, allocations: 163.7 kB / 1.116 GB, free: 43.85 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/1.323, allocations: 6.766 kB / 1.116 GB, free: 43.85 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/1.323, allocations: 0.6562 kB / 1.116 GB, free: 43.85 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/1.323, allocations: 30.83 kB / 1.116 GB, free: 43.81 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/1.323, allocations: 0.5 kB / 1.116 GB, free: 43.81 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/1.323, allocations: 0 / 1.116 GB, free: 43.81 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/1.323, allocations: 0.5938 kB / 1.116 GB, free: 43.81 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.696e-05/1.323, allocations: 1.188 kB / 1.116 GB, free: 43.81 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001762/1.323, allocations: 153.9 kB / 1.116 GB, free: 43.62 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.801e-05/1.324, allocations: 22.2 kB / 1.116 GB, free: 43.59 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.281e-05/1.324, allocations: 9.953 kB / 1.116 GB, free: 43.58 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/1.324, allocations: 0.5938 kB / 1.116 GB, free: 43.58 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/1.324, allocations: 32.09 kB / 1.116 GB, free: 43.54 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 2.825e-06/1.324, allocations: 0.6562 kB / 1.116 GB, free: 43.54 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001563/1.324, allocations: 37.36 kB / 1.116 GB, free: 43.5 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/1.324, allocations: 51.91 kB / 1.116 GB, free: 43.44 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.402e-05/1.324, allocations: 85 kB / 1.116 GB, free: 43.35 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/1.324, allocations: 26.2 kB / 1.116 GB, free: 43.32 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.289e-05/1.324, allocations: 83.88 kB / 1.116 GB, free: 43.24 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/1.324, allocations: 6.906 kB / 1.116 GB, free: 43.23 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/1.324, allocations: 0 / 1.116 GB, free: 43.23 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.136e-05/1.324, allocations: 316 kB / 1.117 GB, free: 42.92 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.798e-06/1.324, allocations: 0 / 1.117 GB, free: 42.92 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.406e-06/1.324, allocations: 3.281 kB / 1.117 GB, free: 42.92 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.509e-05/1.324, allocations: 4 kB / 1.117 GB, free: 42.91 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/1.324, allocations: 0 / 1.117 GB, free: 42.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.139e-05/1.324, allocations: 39.06 kB / 1.117 GB, free: 42.88 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/1.324, allocations: 4 kB / 1.117 GB, free: 42.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/1.324, allocations: 0 / 1.117 GB, free: 42.87 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/1.324, allocations: 4 kB / 1.117 GB, free: 42.87 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.349e-05/1.324, allocations: 4.062 kB / 1.117 GB, free: 42.87 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/1.324, allocations: 0 / 1.117 GB, free: 42.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.273e-05/1.324, allocations: 2.391 kB / 1.117 GB, free: 42.87 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/1.324, allocations: 0 / 1.117 GB, free: 42.87 MB / 0.7448 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 5.827e-05/1.325, allocations: 105 kB / 1.117 GB, free: 42.76 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/1.325, allocations: 4.703 kB / 1.117 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.822e-05/1.325, allocations: 6.391 kB / 1.117 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/1.325, allocations: 4.781 kB / 1.117 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/1.325, allocations: 0 / 1.117 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.325, allocations: 4.125 kB / 1.117 GB, free: 42.74 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.466e-05/1.325, allocations: 151.8 kB / 1.117 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/1.325, allocations: 0.5625 kB / 1.117 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.452e-05/1.325, allocations: 0 / 1.117 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/1.325, allocations: 3.953 kB / 1.117 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/1.325, allocations: 0 / 1.117 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/1.325, allocations: 0.6875 kB / 1.117 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.325, allocations: 1.219 kB / 1.117 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.671e-05/1.325, allocations: 67.03 kB / 1.117 GB, free: 42.47 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.888e-05/1.325, allocations: 77.11 kB / 1.117 GB, free: 42.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/1.325, allocations: 3.953 kB / 1.117 GB, free: 42.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.364e-06/1.325, allocations: 1.312 kB / 1.117 GB, free: 42.38 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.115e-05/1.325, allocations: 8.266 kB / 1.117 GB, free: 42.37 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/1.325, allocations: 0 / 1.117 GB, free: 42.37 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.278e-05/1.325, allocations: 75.28 kB / 1.117 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.283e-06/1.325, allocations: 0 / 1.117 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001923/1.325, allocations: 3.938 kB / 1.117 GB, free: 42.29 MB / 0.7448 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.000283/1.325, allocations: 0.5927 MB / 1.118 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.968e-05/1.326, allocations: 4 kB / 1.118 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.326, allocations: 0 / 1.118 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.506e-06/1.326, allocations: 8.781 kB / 1.118 GB, free: 41.67 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001236/1.326, allocations: 9.234 kB / 1.118 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002624/1.326, allocations: 69.97 kB / 1.118 GB, free: 41.56 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001442/1.326, allocations: 0.6725 MB / 1.118 GB, free: 40.87 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.954e-05/1.326, allocations: 4 kB / 1.118 GB, free: 40.86 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/1.326, allocations: 7.438 kB / 1.118 GB, free: 40.86 MB / 0.7448 GB Notification: Performance of SimCode: time 8.72e-07/1.326, allocations: 2.953 kB / 1.118 GB, free: 40.86 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0139/1.34, allocations: 0.6807 MB / 1.119 GB, free: 40.53 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/1.34, allocations: 147.1 kB / 1.119 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.427/2.767, allocations: 3.938 kB / 1.119 GB, free: 40.3 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1)