Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.CorrectedConvection,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",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.00485/0.00485, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001356/0.001356, allocations: 202.8 kB / 16.68 MB, free: 5.969 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.25/1.25, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.576/2.576, allocations: 482.6 MB / 0.755 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 71.81 kB / 1.083 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2849, allocations: 162.3 MB / 1.242 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.00259/0.2875, allocations: 1.593 MB / 1.243 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.2888, allocations: 0.9112 MB / 1.244 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.44e-05/0.2889, allocations: 0 / 1.244 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002339/0.2892, allocations: 63.66 kB / 1.244 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004212/0.2896, allocations: 143.3 kB / 1.244 GB, free: 7.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.102e-05/0.2896, allocations: 8 kB / 1.244 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004207/0.2901, allocations: 378.2 kB / 1.245 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.259e-05/0.2901, allocations: 44.73 kB / 1.245 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.2903, allocations: 147.3 kB / 1.245 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.2905, allocations: 127.4 kB / 1.245 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.902e-05/0.2906, allocations: 16 kB / 1.245 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.695e-05/0.2906, allocations: 16 kB / 1.245 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.185e-05/0.2907, allocations: 51.77 kB / 1.245 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.2909, allocations: 139.1 kB / 1.245 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003019/0.2912, allocations: 278.8 kB / 1.246 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2912, allocations: 0 / 1.246 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2912, allocations: 0 / 1.246 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.2912, allocations: 4 kB / 1.246 GB, free: 5.984 MB / 0.9981 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.001026/0.2922, allocations: 0.634 MB / 1.246 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.2923, allocations: 15.97 kB / 1.246 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.21e-05/0.2923, allocations: 30.75 kB / 1.246 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.402e-05/0.2924, allocations: 32.73 kB / 1.246 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004928/0.2929, allocations: 394.6 kB / 1.247 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.2929, allocations: 384 / 1.247 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.2929, allocations: 4.312 kB / 1.247 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.2931, allocations: 105.2 kB / 1.247 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.2931, allocations: 4 kB / 1.247 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.2931, allocations: 0 / 1.247 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.2931, allocations: 0 / 1.247 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.2932, allocations: 71.86 kB / 1.247 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003969/0.2936, allocations: 356.1 kB / 1.247 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.2938, allocations: 106.4 kB / 1.247 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.993e-05/0.2939, allocations: 63.39 kB / 1.247 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.2939, allocations: 4 kB / 1.247 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.2939, allocations: 42.5 kB / 1.247 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.2939, allocations: 0 / 1.247 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0003246/0.2943, allocations: 185.2 kB / 1.248 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.626e-05/0.2943, allocations: 137 kB / 1.248 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005932/0.2949, allocations: 0.5132 MB / 1.248 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.295, allocations: 25.7 kB / 1.248 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.2951, allocations: 160.1 kB / 1.248 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.2951, allocations: 23.83 kB / 1.248 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.2952, allocations: 17.72 kB / 1.248 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.2953, allocations: 346.8 kB / 1.249 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.449e-05/0.2954, allocations: 35.91 kB / 1.249 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.024e-05/0.2955, allocations: 67.38 kB / 1.249 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.2956, allocations: 99.3 kB / 1.249 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2956, allocations: 3.938 kB / 1.249 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002018/0.2958, allocations: 153.3 kB / 1.249 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.2958, allocations: 8 kB / 1.249 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.2959, allocations: 0 / 1.249 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.2959, allocations: 0 / 1.249 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.408e-05/0.296, allocations: 11.98 kB / 1.249 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.433e-06/0.296, allocations: 7.938 kB / 1.249 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.2961, allocations: 11.94 kB / 1.249 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.2961, allocations: 4 kB / 1.249 GB, free: 2.031 MB / 0.9981 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 0.0001526/0.2963, allocations: 182.4 kB / 1.249 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.039e-05/0.2963, allocations: 35.75 kB / 1.249 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002952/0.2966, allocations: 183.7 kB / 1.25 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2967, allocations: 0 / 1.25 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.2967, allocations: 4 kB / 1.25 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.2967, allocations: 3.984 kB / 1.25 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002921/0.297, allocations: 301.5 kB / 1.25 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.297, allocations: 4 kB / 1.25 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.068e-05/0.2971, allocations: 19.92 kB / 1.25 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.2971, allocations: 4 kB / 1.25 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.2971, allocations: 8 kB / 1.25 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2971, allocations: 4 kB / 1.25 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2971, allocations: 0 / 1.25 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.2974, allocations: 199.3 kB / 1.25 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.2975, allocations: 136.8 kB / 1.25 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/0.2976, allocations: 4 kB / 1.25 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.2977, allocations: 11.98 kB / 1.25 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.484e-05/0.2977, allocations: 7.984 kB / 1.25 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.2977, allocations: 4 kB / 1.25 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004268/0.2982, allocations: 391 kB / 1.251 GB, free: 460 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2982, allocations: 4 kB / 1.251 GB, free: 456 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002346/0.2984, allocations: 40 kB / 1.251 GB, free: 416 kB / 0.9981 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.4592/0.7576, allocations: 0.7252 MB / 1.251 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002567/0.7579, allocations: 87.45 kB / 1.251 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.758, allocations: 1.438 kB / 1.251 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.574e-05/0.758, allocations: 47.56 kB / 1.251 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004713/0.7585, allocations: 61.62 kB / 1.252 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003149/0.7617, allocations: 3.183 MB / 1.255 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/0.7619, allocations: 0.815 MB / 1.255 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001323/0.762, allocations: 52.66 kB / 1.255 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.7621, allocations: 82.14 kB / 1.256 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of SimCode: time 2.81e-07/0.7622, allocations: 0.6562 kB / 1.256 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3259/1.088, allocations: 6.666 MB / 1.262 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.115/10.2, allocations: 2.281 kB / 1.262 GB, free: 12.04 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1)