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.69/1.69, allocations: 288.2 MB / 303.2 MB, free: 8.18 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.00104/0.00104, allocations: 181 kB / 371.8 MB, free: 10.26 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.702/1.702, allocations: 205.4 MB / 0.6305 GB, free: 9.988 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.0008966/0.0008965, allocations: 104.4 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004382/0.0004385, allocations: 18.97 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.25, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.0007691/0.2509, allocations: 335.9 kB / 0.9798 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 4.476e-05/0.2509, allocations: 4 kB / 0.9798 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.449e-05/0.2509, allocations: 0 / 0.9798 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.309e-05/0.251, allocations: 0 / 0.9798 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.003e-06/0.251, allocations: 0 / 0.9798 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.21e-05/0.251, allocations: 0 / 0.9798 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.97e-05/0.2511, allocations: 0 / 0.9798 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.54e-05/0.2511, allocations: 7.984 kB / 0.9798 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.863e-05/0.2512, allocations: 0 / 0.9798 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 1.813e-05/0.2512, allocations: 3.984 kB / 0.9798 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.959e-06/0.2512, allocations: 4 kB / 0.9798 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.577e-06/0.2512, allocations: 0 / 0.9798 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.476e-06/0.2512, allocations: 0 / 0.9798 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.708e-05/0.2513, allocations: 29.64 kB / 0.9798 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 3.848e-05/0.2513, allocations: 0 / 0.9798 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.2513, allocations: 0 / 0.9798 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2513, allocations: 0 / 0.9798 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.2513, allocations: 0 / 0.9798 GB, free: 27.21 MB / 0.6198 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.0001989/0.2515, allocations: 307.4 kB / 0.9801 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.2516, allocations: 12.02 kB / 0.9801 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.393e-05/0.2516, allocations: 34.56 kB / 0.9802 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.388e-05/0.2516, allocations: 3.984 kB / 0.9802 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.081e-05/0.2517, allocations: 167 kB / 0.9803 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.2517, allocations: 7.984 kB / 0.9803 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-06/0.2517, allocations: 0 / 0.9803 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.356e-05/0.2518, allocations: 25.7 kB / 0.9804 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.2519, allocations: 0 / 0.9804 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.2519, allocations: 7.875 kB / 0.9804 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.2519, allocations: 0 / 0.9804 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.827e-05/0.2519, allocations: 11.94 kB / 0.9804 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001067/0.252, allocations: 149.6 kB / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.32e-05/0.2521, allocations: 18.58 kB / 0.9805 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.303e-06/0.2521, allocations: 4.094 kB / 0.9805 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.442e-05/0.2521, allocations: 30.56 kB / 0.9806 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.2521, allocations: 0 / 0.9806 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001113/0.2522, allocations: 33.77 kB / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.248e-05/0.2522, allocations: 55.41 kB / 0.9807 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.095e-05/0.2523, allocations: 89.86 kB / 0.9807 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.973e-06/0.2523, allocations: 25.7 kB / 0.9808 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.583e-05/0.2523, allocations: 80.14 kB / 0.9809 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.2523, allocations: 12.19 kB / 0.9809 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-06/0.2523, allocations: 0 / 0.9809 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.226e-05/0.2524, allocations: 314.8 kB / 0.9812 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.053e-06/0.2524, allocations: 0 / 0.9812 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.937e-06/0.2524, allocations: 4 kB / 0.9812 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.573e-05/0.2524, allocations: 4 kB / 0.9812 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.2525, allocations: 0 / 0.9812 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.276e-05/0.2525, allocations: 37.59 kB / 0.9812 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.2525, allocations: 4 kB / 0.9812 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2525, allocations: 0 / 0.9812 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.2526, allocations: 0 / 0.9812 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.615e-05/0.2526, allocations: 4 kB / 0.9812 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.2526, allocations: 0 / 0.9812 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.418e-06/0.2526, allocations: 96 / 0.9812 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.738e-06/0.2527, allocations: 8 kB / 0.9812 GB, free: 25.56 MB / 0.6198 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 5.074e-05/0.2527, allocations: 121.8 kB / 0.9813 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.032e-06/0.2527, allocations: 3.953 kB / 0.9813 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.37e-05/0.2527, allocations: 3.125 kB / 0.9813 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.2528, allocations: 0 / 0.9813 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.2528, allocations: 0 / 0.9813 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2528, allocations: 0 / 0.9813 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.533e-05/0.2528, allocations: 141.7 kB / 0.9815 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2528, allocations: 0 / 0.9815 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.137e-06/0.2528, allocations: 15.92 kB / 0.9815 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2528, allocations: 3.953 kB / 0.9815 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.2529, allocations: 0 / 0.9815 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.2529, allocations: 0 / 0.9815 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2529, allocations: 0 / 0.9815 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.96e-05/0.2529, allocations: 61.08 kB / 0.9816 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.705e-05/0.2529, allocations: 81.05 kB / 0.9816 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.253, allocations: 7.938 kB / 0.9816 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-06/0.253, allocations: 4.031 kB / 0.9816 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.376e-05/0.253, allocations: 0 / 0.9816 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.253, allocations: 4 kB / 0.9816 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.339e-05/0.253, allocations: 75.28 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.253, allocations: 0 / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001958/0.2532, allocations: 0 / 0.9817 GB, free: 24.95 MB / 0.6198 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.0002017/0.2534, allocations: 0.5891 MB / 0.9823 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.987e-05/0.2535, allocations: 11.94 kB / 0.9823 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2535, allocations: 0 / 0.9823 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.358e-06/0.2535, allocations: 0 / 0.9823 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.562e-05/0.2536, allocations: 9.328 kB / 0.9823 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002597/0.2539, allocations: 96.58 kB / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.254, allocations: 0.6809 MB / 0.9831 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.435e-05/0.254, allocations: 0 / 0.9831 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.623e-05/0.254, allocations: 7.438 kB / 0.9831 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.2541, allocations: 0 / 0.9831 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01119/0.2652, allocations: 0.6935 MB / 0.9838 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000217/0.2655, allocations: 189.1 kB / 0.9839 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.476/1.742, allocations: 2.672 kB / 0.9839 GB, free: 22.65 MB / 0.6198 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)