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.694/1.694, allocations: 288.4 MB / 303.3 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.001102/0.001102, allocations: 194.6 kB / 372 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.706/1.706, allocations: 205.4 MB / 0.6307 GB, free: 9.883 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.000934/0.0009339, allocations: 94.23 kB / 0.7441 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003943/0.0003944, allocations: 14.03 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2388, allocations: 115.3 MB / 0.9796 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.0009622/0.2398, allocations: 335.9 kB / 0.98 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 3.831e-05/0.2399, allocations: 4 kB / 0.98 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.297e-05/0.2399, allocations: 0 / 0.98 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.894e-05/0.2399, allocations: 0 / 0.98 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.716e-06/0.2399, allocations: 0 / 0.98 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.981e-05/0.24, allocations: 0 / 0.98 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.066e-05/0.2401, allocations: 0 / 0.98 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.04e-05/0.2402, allocations: 0 / 0.98 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.542e-05/0.2402, allocations: 8 kB / 0.98 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.68e-05/0.2402, allocations: 4 kB / 0.98 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.2402, allocations: 0 / 0.98 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.577e-06/0.2402, allocations: 0 / 0.98 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.046e-05/0.2403, allocations: 3.984 kB / 0.98 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.204e-05/0.2403, allocations: 29.64 kB / 0.98 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.26e-05/0.2403, allocations: 0 / 0.98 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2404, allocations: 0 / 0.98 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.755e-06/0.2404, allocations: 0 / 0.98 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.2404, allocations: 0 / 0.98 GB, free: 27.18 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.000275/0.2407, allocations: 311.4 kB / 0.9803 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.2407, allocations: 16.02 kB / 0.9803 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.72e-05/0.2408, allocations: 30.56 kB / 0.9803 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.485e-05/0.2408, allocations: 0 / 0.9803 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.553e-05/0.2409, allocations: 163 kB / 0.9805 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.2409, allocations: 0 / 0.9805 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.2409, allocations: 4 kB / 0.9805 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.241, allocations: 33.69 kB / 0.9805 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.241, allocations: 0 / 0.9805 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.241, allocations: 0 / 0.9805 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.2411, allocations: 3.938 kB / 0.9805 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.47e-05/0.2411, allocations: 11.94 kB / 0.9805 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001081/0.2412, allocations: 145.6 kB / 0.9807 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.474e-05/0.2412, allocations: 14.58 kB / 0.9807 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.44e-05/0.2413, allocations: 12.95 kB / 0.9807 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.2413, allocations: 0 / 0.9807 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.2413, allocations: 34.55 kB / 0.9807 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.2413, allocations: 4 kB / 0.9807 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001354/0.2415, allocations: 45.56 kB / 0.9808 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.2415, allocations: 51.41 kB / 0.9808 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.033e-05/0.2415, allocations: 89.86 kB / 0.9809 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.2416, allocations: 25.7 kB / 0.981 GB, free: 26 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.991e-05/0.2416, allocations: 80.14 kB / 0.981 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.2416, allocations: 4.188 kB / 0.981 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.2416, allocations: 4 kB / 0.981 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.739e-05/0.2417, allocations: 319 kB / 0.9813 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.834e-06/0.2417, allocations: 4 kB / 0.9813 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.378e-06/0.2417, allocations: 0 / 0.9813 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.427e-05/0.2417, allocations: 0 / 0.9813 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2418, allocations: 0 / 0.9813 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.02e-05/0.2418, allocations: 45.58 kB / 0.9814 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.2418, allocations: 4 kB / 0.9814 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2418, allocations: 0 / 0.9814 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.2418, allocations: 0 / 0.9814 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.414e-05/0.2419, allocations: 8.094 kB / 0.9814 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.2419, allocations: 4 kB / 0.9814 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.478e-06/0.2419, allocations: 0 / 0.9814 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.242, allocations: 0 / 0.9814 GB, free: 25.52 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 4.957e-05/0.242, allocations: 115.1 kB / 0.9815 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.721e-06/0.242, allocations: 3.953 kB / 0.9815 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.538e-05/0.242, allocations: 3.125 kB / 0.9815 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.242, allocations: 7.984 kB / 0.9815 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2421, allocations: 0 / 0.9815 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.2421, allocations: 4 kB / 0.9815 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.401e-05/0.2421, allocations: 141.7 kB / 0.9817 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.2421, allocations: 0 / 0.9817 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.155e-06/0.2421, allocations: 3.938 kB / 0.9817 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2421, allocations: 7.953 kB / 0.9817 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-06/0.2422, allocations: 0 / 0.9817 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.2422, allocations: 0 / 0.9817 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2422, allocations: 0 / 0.9817 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.386e-05/0.2422, allocations: 65.06 kB / 0.9817 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.2423, allocations: 81.11 kB / 0.9818 GB, free: 25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.738e-06/0.2423, allocations: 3.953 kB / 0.9818 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.722e-06/0.2423, allocations: 0 / 0.9818 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.969e-06/0.2423, allocations: 0 / 0.9818 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-06/0.2423, allocations: 0 / 0.9818 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.608e-05/0.2423, allocations: 75.28 kB / 0.9819 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2423, allocations: 0 / 0.9819 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002016/0.2425, allocations: 0 / 0.9819 GB, free: 24.92 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.0002215/0.2428, allocations: 0.5929 MB / 0.9825 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.077e-05/0.2428, allocations: 7.938 kB / 0.9825 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2428, allocations: 0 / 0.9825 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.242e-06/0.2429, allocations: 8 kB / 0.9825 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.243, allocations: 4.109 kB / 0.9825 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002624/0.2433, allocations: 109.8 kB / 0.9826 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/0.2434, allocations: 0.6692 MB / 0.9832 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.373e-05/0.2434, allocations: 0 / 0.9832 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.718e-05/0.2434, allocations: 7.438 kB / 0.9833 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2435, allocations: 0 / 0.9833 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01169/0.2552, allocations: 0.7093 MB / 0.9839 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/0.2554, allocations: 197.1 kB / 0.9841 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.52/1.775, allocations: 3.938 kB / 0.9841 GB, free: 22.59 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)