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.554/2.554, allocations: 287.3 MB / 302.3 MB, free: 8.309 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.001551/0.001551, allocations: 187.1 kB / 370.8 MB, free: 10.85 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.163/2.163, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001165/0.001164, allocations: 82.98 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00049/0.0004902, allocations: 15.19 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2295, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9314/1.161, allocations: 137.1 MB / 1.112 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/1.161, allocations: 71.36 kB / 1.112 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001056/1.162, allocations: 369.2 kB / 1.113 GB, free: 31.46 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.986e-06/1.162, allocations: 0 / 1.113 GB, free: 31.46 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.981e-06/1.162, allocations: 0 / 1.113 GB, free: 31.46 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.000276/1.163, allocations: 314.7 kB / 1.113 GB, free: 31.12 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/1.163, allocations: 13.5 kB / 1.113 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.825e-05/1.163, allocations: 37.75 kB / 1.113 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.181e-05/1.163, allocations: 0 / 1.113 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.785e-05/1.163, allocations: 163 kB / 1.113 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/1.163, allocations: 5.281 kB / 1.113 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/1.163, allocations: 0 / 1.113 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.589e-05/1.163, allocations: 25.7 kB / 1.113 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/1.163, allocations: 0 / 1.113 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/1.163, allocations: 0 / 1.113 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/1.163, allocations: 0.7188 kB / 1.113 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.045e-05/1.163, allocations: 5.188 kB / 1.113 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001316/1.163, allocations: 157.2 kB / 1.113 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.152e-05/1.163, allocations: 22.48 kB / 1.113 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/1.163, allocations: 3.984 kB / 1.113 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.417e-05/1.163, allocations: 30.56 kB / 1.113 GB, free: 30.58 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.333e-06/1.163, allocations: 0 / 1.113 GB, free: 30.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001223/1.163, allocations: 34.92 kB / 1.113 GB, free: 30.55 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/1.164, allocations: 55.53 kB / 1.113 GB, free: 30.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.423e-05/1.164, allocations: 88.94 kB / 1.113 GB, free: 30.39 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/1.164, allocations: 25.7 kB / 1.114 GB, free: 30.36 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.066e-05/1.164, allocations: 85.34 kB / 1.114 GB, free: 30.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/1.164, allocations: 0.7812 kB / 1.114 GB, free: 30.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-06/1.164, allocations: 0 / 1.114 GB, free: 30.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001124/1.164, allocations: 310.8 kB / 1.114 GB, free: 29.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.237e-06/1.164, allocations: 0 / 1.114 GB, free: 29.96 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.426e-06/1.164, allocations: 5.547 kB / 1.114 GB, free: 29.96 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.669e-05/1.164, allocations: 5.922 kB / 1.114 GB, free: 29.96 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.164, allocations: 0 / 1.114 GB, free: 29.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.093e-05/1.164, allocations: 42.95 kB / 1.114 GB, free: 29.92 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/1.164, allocations: 9.75 kB / 1.114 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/1.164, allocations: 0 / 1.114 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/1.164, allocations: 0 / 1.114 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.37e-05/1.164, allocations: 0 / 1.114 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/1.164, allocations: 0 / 1.114 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.383e-05/1.164, allocations: 2.391 kB / 1.114 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/1.164, allocations: 9.406 kB / 1.114 GB, free: 29.91 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.958e-05/1.164, allocations: 109.8 kB / 1.114 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-06/1.164, allocations: 3.953 kB / 1.114 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.787e-05/1.164, allocations: 4.297 kB / 1.114 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/1.164, allocations: 0 / 1.114 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.164, allocations: 0 / 1.114 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/1.164, allocations: 3.875 kB / 1.114 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.114e-05/1.164, allocations: 152.2 kB / 1.114 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/1.164, allocations: 0 / 1.114 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.675e-05/1.164, allocations: 7.938 kB / 1.114 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/1.164, allocations: 6.25 kB / 1.114 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/1.164, allocations: 3.844 kB / 1.114 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/1.164, allocations: 0 / 1.114 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/1.164, allocations: 0 / 1.114 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.546e-05/1.165, allocations: 51.77 kB / 1.114 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.862e-05/1.165, allocations: 80.86 kB / 1.114 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/1.165, allocations: 9.422 kB / 1.114 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.757e-06/1.165, allocations: 4.031 kB / 1.114 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.169e-05/1.165, allocations: 3.938 kB / 1.114 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-06/1.165, allocations: 0 / 1.114 GB, free: 29.43 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.131e-05/1.165, allocations: 75.28 kB / 1.114 GB, free: 29.35 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.11e-07/1.165, allocations: 0 / 1.114 GB, free: 29.35 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002134/1.165, allocations: 0 / 1.114 GB, free: 29.35 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.0003743/1.165, allocations: 0.5896 MB / 1.115 GB, free: 28.76 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.944e-05/1.165, allocations: 3.812 kB / 1.115 GB, free: 28.76 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.165, allocations: 0 / 1.115 GB, free: 28.76 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.009e-05/1.165, allocations: 9.375 kB / 1.115 GB, free: 28.76 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001069/1.166, allocations: 3.953 kB / 1.115 GB, free: 28.75 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002962/1.166, allocations: 111 kB / 1.115 GB, free: 28.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/1.166, allocations: 0.6752 MB / 1.116 GB, free: 27.92 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.347e-05/1.166, allocations: 3.938 kB / 1.116 GB, free: 27.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.844e-05/1.166, allocations: 7.438 kB / 1.116 GB, free: 27.91 MB / 0.698 GB Notification: Performance of SimCode: time 6.11e-07/1.166, allocations: 3.844 kB / 1.116 GB, free: 27.91 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01605/1.182, allocations: 0.6758 MB / 1.116 GB, free: 27.77 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001642/1.182, allocations: 175.2 kB / 1.117 GB, free: 27.53 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.397/3.58, allocations: 0 / 1.117 GB, free: 27.53 MB / 0.698 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)