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.405/1.405, allocations: 249.5 MB / 257 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009982/0.0009981, allocations: 177 kB / 316.3 MB, free: 3.328 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.3 MB / 0.5671 GB, free: 15.94 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.00081/0.0008099, allocations: 98.09 kB / 0.6714 GB, free: 5.051 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.917e-05/1.919e-05, allocations: 0 / 0.7815 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2034, allocations: 106.3 MB / 0.8853 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7553/0.9587, allocations: 131.2 MB / 1.013 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002022/0.959, allocations: 65.16 kB / 1.013 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0004519/0.9595, allocations: 376.5 kB / 1.014 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.112e-06/0.9595, allocations: 0 / 1.014 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.768e-06/0.9595, allocations: 0 / 1.014 GB, free: 5.855 MB / 0.6355 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.0002392/0.9597, allocations: 299.6 kB / 1.014 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.9598, allocations: 12.09 kB / 1.014 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.549e-05/0.9598, allocations: 3.938 kB / 1.014 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.9599, allocations: 170.3 kB / 1.014 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.96, allocations: 3.938 kB / 1.014 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-06/0.96, allocations: 0 / 1.014 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.81e-05/0.96, allocations: 4 kB / 1.014 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.878e-05/0.9601, allocations: 25.7 kB / 1.014 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.9601, allocations: 0 / 1.014 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.9601, allocations: 0 / 1.014 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.9601, allocations: 0 / 1.014 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001263/0.9603, allocations: 133.1 kB / 1.014 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.61e-05/0.9603, allocations: 18.61 kB / 1.014 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.9603, allocations: 4.859 kB / 1.014 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-06/0.9603, allocations: 0 / 1.014 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.9604, allocations: 42.44 kB / 1.015 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.9604, allocations: 0 / 1.015 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001027/0.9605, allocations: 37.69 kB / 1.015 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.9605, allocations: 54.14 kB / 1.015 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.06e-05/0.9606, allocations: 85 kB / 1.015 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.9606, allocations: 25.7 kB / 1.015 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.956e-05/0.9606, allocations: 80.14 kB / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.9606, allocations: 0 / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.443e-06/0.9607, allocations: 0 / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.9608, allocations: 310.8 kB / 1.015 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.864e-06/0.9608, allocations: 4 kB / 1.015 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.868e-06/0.9608, allocations: 4.031 kB / 1.015 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.241e-05/0.9608, allocations: 0 / 1.015 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.9608, allocations: 0 / 1.015 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.962e-05/0.9609, allocations: 45.02 kB / 1.015 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.9609, allocations: 8.75 kB / 1.015 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.9609, allocations: 0 / 1.015 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.9609, allocations: 0 / 1.015 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.179e-05/0.961, allocations: 0 / 1.015 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.961, allocations: 0 / 1.015 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.608e-06/0.961, allocations: 6.484 kB / 1.015 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-06/0.961, allocations: 4 kB / 1.015 GB, free: 4.328 MB / 0.6355 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.62e-05/0.9611, allocations: 101 kB / 1.015 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 4.081e-05/0.9611, allocations: 37.59 kB / 1.015 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-06/0.9611, allocations: 0 / 1.015 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.042e-05/0.9612, allocations: 11.69 kB / 1.015 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.9612, allocations: 0 / 1.015 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.9612, allocations: 4 kB / 1.015 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.9612, allocations: 3.938 kB / 1.015 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.98e-05/0.9613, allocations: 126.3 kB / 1.015 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.9613, allocations: 7.922 kB / 1.015 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.508e-06/0.9613, allocations: 0 / 1.015 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.9613, allocations: 3.953 kB / 1.015 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-06/0.9613, allocations: 4 kB / 1.015 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.9613, allocations: 0 / 1.015 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.9613, allocations: 0.875 kB / 1.015 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.142e-05/0.9614, allocations: 57.06 kB / 1.016 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.224e-05/0.9614, allocations: 81.14 kB / 1.016 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.9614, allocations: 3.953 kB / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.252e-06/0.9615, allocations: 4 kB / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.247e-05/0.9615, allocations: 0 / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-06/0.9615, allocations: 0 / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.846e-05/0.9615, allocations: 75.28 kB / 1.016 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9615, allocations: 0 / 1.016 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001907/0.9617, allocations: 0 / 1.016 GB, free: 3.73 MB / 0.6355 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.0003089/0.962, allocations: 0.5928 MB / 1.016 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 5.188e-05/0.9621, allocations: 4 kB / 1.016 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.9621, allocations: 2.656 kB / 1.016 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.828e-06/0.9621, allocations: 0 / 1.016 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.797e-05/0.9622, allocations: 7.953 kB / 1.016 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002363/0.9624, allocations: 85.53 kB / 1.016 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.9627, allocations: 0.669 MB / 1.017 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.197e-05/0.9627, allocations: 0 / 1.017 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.604e-05/0.9627, allocations: 7.438 kB / 1.017 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of SimCode: time 1.813e-06/0.9627, allocations: 4 kB / 1.017 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/0.9812, allocations: 419.2 kB / 1.017 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002589/0.9815, allocations: 141.3 kB / 1.018 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.358/2.34, allocations: 4.031 kB / 1.018 GB, free: 1.68 MB / 0.6355 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)