Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 200.2 kB / 16.14 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.392/2.392, allocations: 461.8 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 65.12 kB / 0.8985 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2859, allocations: 157.4 MB / 1.052 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002898/0.2888, allocations: 1.636 MB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.2902, allocations: 0.919 MB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.475e-05/0.2903, allocations: 0 / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00026/0.2906, allocations: 55.72 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004448/0.2911, allocations: 143.5 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.669e-05/0.2911, allocations: 4 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003456/0.2915, allocations: 358.3 kB / 1.055 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.494e-05/0.2916, allocations: 44.75 kB / 1.055 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.2918, allocations: 127.3 kB / 1.055 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.292, allocations: 127.3 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.37e-05/0.2921, allocations: 16 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003185/0.2952, allocations: 0.668 MB / 1.056 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.639e-05/0.2953, allocations: 47.77 kB / 1.056 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.2955, allocations: 127.2 kB / 1.056 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01448/0.31, allocations: 13.29 MB / 1.069 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.31, allocations: 0 / 1.069 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.31e-07/0.31, allocations: 0 / 1.069 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.31, allocations: 0 / 1.069 GB, free: 6.602 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001482/0.3115, allocations: 0.6459 MB / 1.07 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.3116, allocations: 8.031 kB / 1.07 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.221e-05/0.3116, allocations: 38.75 kB / 1.07 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.975e-05/0.3117, allocations: 28.56 kB / 1.07 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005062/0.3122, allocations: 374.3 kB / 1.07 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.3122, allocations: 384 / 1.07 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.3123, allocations: 12.36 kB / 1.07 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.3124, allocations: 113.1 kB / 1.071 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.3124, allocations: 0 / 1.071 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.3125, allocations: 3.938 kB / 1.071 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3125, allocations: 0 / 1.071 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.3126, allocations: 67.88 kB / 1.071 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.313, allocations: 352 kB / 1.071 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.3131, allocations: 106.4 kB / 1.071 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.771e-05/0.3132, allocations: 63.45 kB / 1.071 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.3132, allocations: 7.938 kB / 1.071 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.3133, allocations: 38.5 kB / 1.071 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3133, allocations: 0 / 1.071 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003415/0.3136, allocations: 185.1 kB / 1.071 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/0.3137, allocations: 133 kB / 1.071 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005459/0.3142, allocations: 0.5014 MB / 1.072 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.3143, allocations: 29.7 kB / 1.072 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.3144, allocations: 160.4 kB / 1.072 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.3144, allocations: 15.73 kB / 1.072 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.596e-05/0.3145, allocations: 53.55 kB / 1.072 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3146, allocations: 346.8 kB / 1.072 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.3148, allocations: 115.9 kB / 1.073 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.315, allocations: 192.4 kB / 1.073 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003153/0.3153, allocations: 255.3 kB / 1.073 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.3153, allocations: 4 kB / 1.073 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004287/0.3158, allocations: 329 kB / 1.073 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3158, allocations: 4 kB / 1.073 GB, free: 2.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3158, allocations: 4 kB / 1.073 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.3158, allocations: 4 kB / 1.073 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.316, allocations: 15.98 kB / 1.073 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.316, allocations: 0 / 1.073 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.3162, allocations: 35.66 kB / 1.073 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.3162, allocations: 4 kB / 1.073 GB, free: 2.074 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001577/0.3163, allocations: 181.7 kB / 1.074 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.039e-05/0.3164, allocations: 39.56 kB / 1.074 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000304/0.3167, allocations: 175.8 kB / 1.074 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3167, allocations: 0 / 1.074 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.3167, allocations: 4 kB / 1.074 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.3167, allocations: 0 / 1.074 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.317, allocations: 297.3 kB / 1.074 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.317, allocations: 0 / 1.074 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.488e-05/0.3171, allocations: 20.05 kB / 1.074 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.3171, allocations: 4.234 kB / 1.074 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.3171, allocations: 8 kB / 1.074 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.3171, allocations: 0 / 1.074 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.3171, allocations: 4 kB / 1.074 GB, free: 1.289 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.3174, allocations: 191.2 kB / 1.074 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.3175, allocations: 136.5 kB / 1.074 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.409e-05/0.3176, allocations: 4 kB / 1.074 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.3177, allocations: 7.984 kB / 1.074 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.386e-05/0.3177, allocations: 11.98 kB / 1.074 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.3177, allocations: 8 kB / 1.074 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004025/0.3182, allocations: 383 kB / 1.075 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3182, allocations: 0 / 1.075 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004827/0.3186, allocations: 103.9 kB / 1.075 GB, free: 428 kB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004802/0.3235, allocations: 3.43 MB / 1.078 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000331/0.3238, allocations: 195.7 kB / 1.078 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3238, allocations: 0 / 1.078 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.428e-05/0.3239, allocations: 51.91 kB / 1.079 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.3243, allocations: 54.64 kB / 1.079 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0044/0.3287, allocations: 3.689 MB / 1.082 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.329, allocations: 0.8107 MB / 1.083 GB, free: 8.008 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000131/0.3292, allocations: 46.3 kB / 1.083 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.3293, allocations: 79.41 kB / 1.083 GB, free: 7.887 MB / 0.8419 GB Notification: Performance of SimCode: time 7.41e-07/0.3293, allocations: 0 / 1.083 GB, free: 7.887 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02772/0.357, allocations: 10.66 MB / 1.093 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/0.3573, allocations: 247.8 kB / 1.094 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.986/3.344, allocations: 3.938 kB / 1.094 GB, free: 13.17 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.fmu > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1)