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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001709/0.001709, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002136/0.002136, allocations: 192.7 kB / 16.25 MB, free: 6.637 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.275/1.275, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.511/2.511, allocations: 461.9 MB / 0.7344 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002256, allocations: 69.8 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3242, allocations: 157.4 MB / 1.052 GB, free: 8.727 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002965/0.3272, allocations: 1.662 MB / 1.054 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.3286, allocations: 0.9112 MB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.3287, allocations: 7.938 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.329, allocations: 51.78 kB / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005079/0.3295, allocations: 135.5 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.253e-05/0.3296, allocations: 8 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004133/0.33, allocations: 366.2 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.453e-05/0.3301, allocations: 44.75 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00027/0.3304, allocations: 147.4 kB / 1.056 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000233/0.3306, allocations: 147.3 kB / 1.056 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.09e-05/0.3307, allocations: 20 kB / 1.056 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002878/0.3336, allocations: 0.5629 MB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.825e-05/0.3337, allocations: 59.75 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.3339, allocations: 131.2 kB / 1.057 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01334/0.3472, allocations: 13.31 MB / 1.07 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3472, allocations: 0 / 1.07 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.284e-06/0.3472, allocations: 4 kB / 1.07 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.3473, allocations: 0 / 1.07 GB, free: 7.09 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.001571/0.3488, allocations: 0.6458 MB / 1.07 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.3489, allocations: 16.61 kB / 1.07 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.154e-05/0.3489, allocations: 34.75 kB / 1.07 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.018e-05/0.349, allocations: 28.56 kB / 1.07 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005444/0.3496, allocations: 374.3 kB / 1.071 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.3496, allocations: 4.375 kB / 1.071 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.3496, allocations: 4.375 kB / 1.071 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.3498, allocations: 105.1 kB / 1.071 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.3498, allocations: 4 kB / 1.071 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.3498, allocations: 0 / 1.071 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3498, allocations: 3.938 kB / 1.071 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.904e-05/0.3499, allocations: 67.86 kB / 1.071 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003852/0.3503, allocations: 352 kB / 1.071 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.3505, allocations: 110.4 kB / 1.071 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.169e-05/0.3506, allocations: 63.39 kB / 1.071 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.3506, allocations: 0 / 1.071 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.3506, allocations: 46.48 kB / 1.071 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3506, allocations: 0 / 1.071 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003634/0.351, allocations: 189.1 kB / 1.071 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.3511, allocations: 128.5 kB / 1.072 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000588/0.3517, allocations: 0.5053 MB / 1.072 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.3517, allocations: 25.7 kB / 1.072 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.3518, allocations: 156.9 kB / 1.072 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.3519, allocations: 19.75 kB / 1.072 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.362e-05/0.3519, allocations: 53.59 kB / 1.072 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.3521, allocations: 342.8 kB / 1.073 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.3522, allocations: 111.9 kB / 1.073 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.3524, allocations: 192.4 kB / 1.073 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003114/0.3528, allocations: 267.2 kB / 1.073 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.3528, allocations: 0 / 1.073 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004219/0.3532, allocations: 329.1 kB / 1.074 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3532, allocations: 7.984 kB / 1.074 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.3532, allocations: 0 / 1.074 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3532, allocations: 4 kB / 1.074 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.3534, allocations: 15.98 kB / 1.074 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3534, allocations: 0 / 1.074 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.3536, allocations: 35.73 kB / 1.074 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.3536, allocations: 11.88 kB / 1.074 GB, free: 2.562 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.0001549/0.3538, allocations: 173.8 kB / 1.074 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.892e-05/0.3538, allocations: 35.56 kB / 1.074 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003071/0.3541, allocations: 179.8 kB / 1.074 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3542, allocations: 4 kB / 1.074 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3542, allocations: 3.984 kB / 1.074 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3542, allocations: 0 / 1.074 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.3544, allocations: 297.3 kB / 1.074 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3544, allocations: 0 / 1.074 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.696e-05/0.3545, allocations: 15.94 kB / 1.074 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.3545, allocations: 4 kB / 1.074 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.3546, allocations: 3.984 kB / 1.074 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3546, allocations: 0 / 1.074 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.3546, allocations: 4 kB / 1.074 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.3548, allocations: 187.2 kB / 1.074 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.3549, allocations: 136.6 kB / 1.075 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.976e-05/0.355, allocations: 7.984 kB / 1.075 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.3551, allocations: 11.98 kB / 1.075 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.309e-05/0.3552, allocations: 4 kB / 1.075 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.3552, allocations: 4 kB / 1.075 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003977/0.3556, allocations: 379 kB / 1.075 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3556, allocations: 0 / 1.075 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004526/0.356, allocations: 103.9 kB / 1.075 GB, free: 0.9258 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.005118/0.3612, allocations: 3.438 MB / 1.078 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003525/0.3615, allocations: 199.7 kB / 1.079 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3615, allocations: 0 / 1.079 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.839e-05/0.3616, allocations: 47.91 kB / 1.079 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.362, allocations: 62.3 kB / 1.079 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004301/0.3663, allocations: 3.679 MB / 1.082 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.3666, allocations: 0.822 MB / 1.083 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001371/0.3668, allocations: 45.91 kB / 1.083 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.3669, allocations: 79.41 kB / 1.083 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3669, allocations: 0 / 1.083 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1969/0.5638, allocations: 10.85 MB / 1.094 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/0.5641, allocations: 235 kB / 1.094 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.23/2.794, allocations: 0 / 1.094 GB, free: 13.48 MB / 0.8575 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=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1)