Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_11_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.001661/0.001661, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.308/1.308, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.549/2.549, allocations: 469.8 MB / 0.7424 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00251/0.00251, allocations: 63.92 kB / 0.9086 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2757, allocations: 159.1 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002693/0.2784, allocations: 1.595 MB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.2797, allocations: 0.9112 MB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.988e-05/0.2798, allocations: 4 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002207/0.28, allocations: 63.64 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003965/0.2805, allocations: 139.3 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.463e-05/0.2805, allocations: 11.98 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003982/0.2809, allocations: 371.7 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.517e-05/0.281, allocations: 44.75 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.2812, allocations: 135.4 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001872/0.2814, allocations: 139.3 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/0.2814, allocations: 16 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.445e-05/0.2815, allocations: 20 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.585e-05/0.2816, allocations: 47.77 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.2817, allocations: 135.1 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.282, allocations: 275.3 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.282, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.412e-06/0.282, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.282, allocations: 4 kB / 1.068 GB, free: 10.29 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.001023/0.283, allocations: 0.634 MB / 1.068 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.2831, allocations: 12.03 kB / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.643e-05/0.2831, allocations: 30.75 kB / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.759e-05/0.2832, allocations: 32.55 kB / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004637/0.2836, allocations: 382.3 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.2837, allocations: 384 / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.2837, allocations: 4.375 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.2838, allocations: 109.1 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.393e-06/0.2839, allocations: 0 / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.2839, allocations: 0 / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.2839, allocations: 4 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.284, allocations: 67.86 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004059/0.2844, allocations: 360 kB / 1.069 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.2845, allocations: 102.4 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.61e-05/0.2846, allocations: 67.39 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.2847, allocations: 4 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.2847, allocations: 38.5 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.2847, allocations: 0 / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003258/0.285, allocations: 181.1 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.024e-05/0.2851, allocations: 141 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000602/0.2857, allocations: 0.5093 MB / 1.07 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.2857, allocations: 29.7 kB / 1.07 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.2859, allocations: 160.1 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.2859, allocations: 7.906 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.2859, allocations: 25.61 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.2861, allocations: 346.8 kB / 1.071 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.199e-05/0.2862, allocations: 35.91 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.207e-05/0.2863, allocations: 63.39 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.2864, allocations: 103.3 kB / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2864, allocations: 0 / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002271/0.2866, allocations: 157 kB / 1.071 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.2867, allocations: 4 kB / 1.071 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.2867, allocations: 0 / 1.071 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.2867, allocations: 4 kB / 1.071 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.943e-05/0.2868, allocations: 15.92 kB / 1.071 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.2868, allocations: 0 / 1.071 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.2869, allocations: 11.98 kB / 1.071 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.287, allocations: 4 kB / 1.071 GB, free: 6.371 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 (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.0001621/0.2871, allocations: 181.8 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.766e-05/0.2872, allocations: 35.56 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003201/0.2875, allocations: 187.6 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.2875, allocations: 8.078 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2875, allocations: 0 / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.2875, allocations: 3.984 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/0.2878, allocations: 313.6 kB / 1.072 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2878, allocations: 0 / 1.072 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.062e-05/0.2879, allocations: 19.92 kB / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.288, allocations: 0 / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.288, allocations: 4 kB / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.288, allocations: 0 / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.288, allocations: 0 / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.2882, allocations: 195.1 kB / 1.072 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.2884, allocations: 140.6 kB / 1.072 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.768e-05/0.2884, allocations: 7.938 kB / 1.072 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.2886, allocations: 7.984 kB / 1.072 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.068e-05/0.2886, allocations: 7.984 kB / 1.072 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.2886, allocations: 8 kB / 1.072 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004577/0.2891, allocations: 387 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2891, allocations: 4 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002454/0.2893, allocations: 44 kB / 1.073 GB, free: 4.734 MB / 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.0005249/0.2899, allocations: 0.736 MB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001689/0.2901, allocations: 83.86 kB / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2901, allocations: 0 / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.112e-05/0.2901, allocations: 51.91 kB / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.2905, allocations: 74.05 kB / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003739/0.2942, allocations: 3.18 MB / 1.077 GB, free: 460 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.2947, allocations: 0.8182 MB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001351/0.2948, allocations: 54.25 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.295, allocations: 83.41 kB / 1.078 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.295, allocations: 0 / 1.078 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1868/0.4818, allocations: 6.589 MB / 1.084 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.127/8.609, allocations: 3.859 kB / 1.084 GB, free: 9.051 MB / 0.8419 GB (rm -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1)