Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.831/2.831, allocations: 284.9 MB / 292.4 MB, free: 10.58 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.001428/0.001428, allocations: 184.8 kB / 360.6 MB, free: 7.309 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.025/2.025, allocations: 205.2 MB / 0.6191 GB, free: 12.22 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.00147/0.001469, allocations: 92 kB / 0.7321 GB, free: 44.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.857e-05/3.874e-05, allocations: 4 kB / 0.8508 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8518/0.8519, allocations: 115.2 MB / 0.9634 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2296/1.082, allocations: 136.3 MB / 1.097 GB, free: 4.113 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/1.082, allocations: 67.95 kB / 1.097 GB, free: 4.047 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.000521/1.082, allocations: 373.2 kB / 1.097 GB, free: 3.684 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.553e-06/1.082, allocations: 0.5625 kB / 1.097 GB, free: 3.684 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.07e-06/1.082, allocations: 2.719 kB / 1.097 GB, free: 3.684 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.0002651/1.083, allocations: 311 kB / 1.097 GB, free: 3.336 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/1.083, allocations: 9.562 kB / 1.097 GB, free: 3.328 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.317e-05/1.083, allocations: 7.125 kB / 1.097 GB, free: 3.324 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/1.083, allocations: 163 kB / 1.097 GB, free: 3.125 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/1.083, allocations: 3.25 kB / 1.097 GB, free: 3.125 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/1.083, allocations: 0.5 kB / 1.097 GB, free: 3.125 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.469e-05/1.083, allocations: 0.5 kB / 1.097 GB, free: 3.125 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.206e-05/1.083, allocations: 31.2 kB / 1.097 GB, free: 3.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/1.083, allocations: 0 / 1.097 GB, free: 3.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/1.083, allocations: 2.734 kB / 1.097 GB, free: 3.09 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/1.083, allocations: 0 / 1.097 GB, free: 3.09 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001354/1.083, allocations: 135.3 kB / 1.098 GB, free: 2.922 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.2e-05/1.083, allocations: 19.11 kB / 1.098 GB, free: 2.895 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.895e-05/1.083, allocations: 9.609 kB / 1.098 GB, free: 2.883 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/1.083, allocations: 0.5625 kB / 1.098 GB, free: 2.883 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/1.083, allocations: 31.06 kB / 1.098 GB, free: 2.844 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.653e-06/1.083, allocations: 0.6875 kB / 1.098 GB, free: 2.844 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001437/1.084, allocations: 30.36 kB / 1.098 GB, free: 2.809 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/1.084, allocations: 57.41 kB / 1.098 GB, free: 2.742 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.634e-05/1.084, allocations: 85 kB / 1.098 GB, free: 2.652 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/1.084, allocations: 25.7 kB / 1.098 GB, free: 2.621 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.049e-05/1.084, allocations: 85.36 kB / 1.098 GB, free: 2.535 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/1.084, allocations: 0 / 1.098 GB, free: 2.535 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-06/1.084, allocations: 0.625 kB / 1.098 GB, free: 2.535 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001355/1.084, allocations: 316.1 kB / 1.098 GB, free: 2.219 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.368e-06/1.084, allocations: 0 / 1.098 GB, free: 2.219 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.195e-05/1.084, allocations: 0.7812 kB / 1.098 GB, free: 2.219 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.066e-05/1.084, allocations: 7.938 kB / 1.098 GB, free: 2.211 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.084, allocations: 0.75 kB / 1.098 GB, free: 2.211 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.771e-05/1.084, allocations: 38.25 kB / 1.098 GB, free: 2.168 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/1.084, allocations: 5.094 kB / 1.098 GB, free: 2.164 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/1.084, allocations: 0.6562 kB / 1.098 GB, free: 2.164 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/1.084, allocations: 0 / 1.098 GB, free: 2.164 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.45e-05/1.084, allocations: 4.594 kB / 1.098 GB, free: 2.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/1.084, allocations: 7.469 kB / 1.098 GB, free: 2.156 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.526e-05/1.084, allocations: 4.219 kB / 1.098 GB, free: 2.156 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/1.084, allocations: 0.7188 kB / 1.098 GB, free: 2.156 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 8.344e-05/1.084, allocations: 109.5 kB / 1.098 GB, free: 2.043 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.779e-05/1.085, allocations: 46.47 kB / 1.098 GB, free: 1.992 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.673e-06/1.085, allocations: 0 / 1.098 GB, free: 1.992 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.041e-05/1.085, allocations: 4.281 kB / 1.098 GB, free: 1.988 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/1.085, allocations: 0 / 1.098 GB, free: 1.988 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.085, allocations: 0.5938 kB / 1.098 GB, free: 1.988 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/1.085, allocations: 0.5938 kB / 1.098 GB, free: 1.988 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.513e-05/1.085, allocations: 126.2 kB / 1.099 GB, free: 1.828 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/1.085, allocations: 4.562 kB / 1.099 GB, free: 1.824 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.617e-05/1.085, allocations: 0.5312 kB / 1.099 GB, free: 1.824 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/1.085, allocations: 3.953 kB / 1.099 GB, free: 1.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/1.085, allocations: 3.625 kB / 1.099 GB, free: 1.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/1.085, allocations: 3.344 kB / 1.099 GB, free: 1.82 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.085, allocations: 0 / 1.099 GB, free: 1.82 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.003e-05/1.085, allocations: 58.45 kB / 1.099 GB, free: 1.746 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/1.085, allocations: 81.69 kB / 1.099 GB, free: 1.648 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/1.085, allocations: 3.953 kB / 1.099 GB, free: 1.645 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.238e-06/1.085, allocations: 0.9375 kB / 1.099 GB, free: 1.645 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.036e-05/1.085, allocations: 0 / 1.099 GB, free: 1.645 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/1.085, allocations: 1.344 kB / 1.099 GB, free: 1.645 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.598e-05/1.085, allocations: 79.28 kB / 1.099 GB, free: 1.566 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.085, allocations: 3.938 kB / 1.099 GB, free: 1.562 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002187/1.085, allocations: 0.7188 kB / 1.099 GB, free: 1.562 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.0003759/1.086, allocations: 0.5877 MB / 1.099 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.935e-05/1.086, allocations: 4 kB / 1.099 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.086, allocations: 0 / 1.099 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.055e-05/1.086, allocations: 4 kB / 1.099 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001139/1.086, allocations: 8.359 kB / 1.099 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002792/1.086, allocations: 73.61 kB / 1.099 GB, free: 0.832 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/1.086, allocations: 0.6792 MB / 1.1 GB, free: 132 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.246e-05/1.087, allocations: 0 / 1.1 GB, free: 132 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.921e-05/1.087, allocations: 7.438 kB / 1.1 GB, free: 124 kB / 0.698 GB Notification: Performance of SimCode: time 6.71e-07/1.087, allocations: 0 / 1.1 GB, free: 124 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03415/1.121, allocations: 409.9 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003016/1.121, allocations: 135.1 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.169/3.291, allocations: 0 / 1.101 GB, free: 15.56 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_8.0.0_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1)