Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_10_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.001218/0.001218, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001222/0.001222, allocations: 195 kB / 16.14 MB, free: 6.711 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.247/1.247, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.413/2.413, allocations: 437 MB / 0.7099 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 63.91 kB / 0.8686 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5762/0.5776, allocations: 151.6 MB / 1.017 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002954/0.5806, allocations: 1.63 MB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.582, allocations: 0.9074 MB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.684e-05/0.5821, allocations: 0 / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.5823, allocations: 71.7 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0004399/0.5828, allocations: 135.5 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.421e-05/0.5829, allocations: 8 kB / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000364/0.5832, allocations: 350.3 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.65e-05/0.5833, allocations: 52.7 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/0.5835, allocations: 131.2 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.5837, allocations: 135.3 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/0.5838, allocations: 8 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003242/0.587, allocations: 0.6641 MB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.786e-05/0.5871, allocations: 43.77 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.5873, allocations: 131.2 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01445/0.6017, allocations: 13.29 MB / 1.034 GB, free: 1.195 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.6017, allocations: 0 / 1.034 GB, free: 1.195 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.81e-07/0.6017, allocations: 0 / 1.034 GB, free: 1.195 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.6018, allocations: 4 kB / 1.034 GB, free: 1.191 MB / 0.7794 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.001368/0.6031, allocations: 0.6459 MB / 1.034 GB, free: 0.4961 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.6032, allocations: 12.02 kB / 1.034 GB, free: 496 kB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.569e-05/0.6032, allocations: 38.75 kB / 1.035 GB, free: 448 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.376e-05/0.6033, allocations: 32.56 kB / 1.035 GB, free: 416 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004719/0.6038, allocations: 378.3 kB / 1.035 GB, free: 15.99 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.6038, allocations: 384 / 1.035 GB, free: 15.99 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.6038, allocations: 4.375 kB / 1.035 GB, free: 15.99 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.604, allocations: 109.1 kB / 1.035 GB, free: 15.86 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.604, allocations: 0 / 1.035 GB, free: 15.86 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.604, allocations: 0 / 1.035 GB, free: 15.86 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.604, allocations: 0 / 1.035 GB, free: 15.86 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.6041, allocations: 67.86 kB / 1.035 GB, free: 15.8 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000359/0.6045, allocations: 348 kB / 1.035 GB, free: 15.4 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.6046, allocations: 110.4 kB / 1.036 GB, free: 15.25 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.656e-05/0.6047, allocations: 59.45 kB / 1.036 GB, free: 15.18 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.6047, allocations: 3.938 kB / 1.036 GB, free: 15.18 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.6048, allocations: 46.5 kB / 1.036 GB, free: 15.12 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.6048, allocations: 0 / 1.036 GB, free: 15.12 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0003327/0.6051, allocations: 185.1 kB / 1.036 GB, free: 14.94 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/0.6052, allocations: 128.5 kB / 1.036 GB, free: 14.78 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005557/0.6057, allocations: 0.5053 MB / 1.036 GB, free: 14.27 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.6058, allocations: 30.19 kB / 1.036 GB, free: 14.23 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.6059, allocations: 160.3 kB / 1.037 GB, free: 14.08 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.6059, allocations: 11.81 kB / 1.037 GB, free: 14.07 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.628e-05/0.606, allocations: 57.59 kB / 1.037 GB, free: 14 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.6061, allocations: 338.8 kB / 1.037 GB, free: 13.66 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.6063, allocations: 111.9 kB / 1.037 GB, free: 13.55 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.6065, allocations: 194.7 kB / 1.037 GB, free: 13.34 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00033/0.6069, allocations: 259.3 kB / 1.038 GB, free: 13.07 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.6069, allocations: 0 / 1.038 GB, free: 13.07 MB / 0.795 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004486/0.6073, allocations: 333.2 kB / 1.038 GB, free: 12.74 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.6073, allocations: 7.984 kB / 1.038 GB, free: 12.73 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.6074, allocations: 11.91 kB / 1.038 GB, free: 12.72 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.6074, allocations: 4 kB / 1.038 GB, free: 12.72 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.6075, allocations: 15.98 kB / 1.038 GB, free: 12.7 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.6075, allocations: 4 kB / 1.038 GB, free: 12.7 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.6077, allocations: 31.73 kB / 1.038 GB, free: 12.67 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.6077, allocations: 4 kB / 1.038 GB, free: 12.66 MB / 0.795 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.0001647/0.6079, allocations: 181.6 kB / 1.038 GB, free: 12.48 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.977e-05/0.608, allocations: 35.56 kB / 1.038 GB, free: 12.44 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003113/0.6083, allocations: 179.8 kB / 1.038 GB, free: 12.26 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.6083, allocations: 7.984 kB / 1.038 GB, free: 12.25 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.6083, allocations: 0 / 1.038 GB, free: 12.25 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.6083, allocations: 0 / 1.038 GB, free: 12.25 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.6086, allocations: 293.4 kB / 1.039 GB, free: 11.91 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.6086, allocations: 0 / 1.039 GB, free: 11.91 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.005e-05/0.6087, allocations: 15.94 kB / 1.039 GB, free: 11.9 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.6087, allocations: 4 kB / 1.039 GB, free: 11.89 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.6087, allocations: 3.984 kB / 1.039 GB, free: 11.89 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.6087, allocations: 0 / 1.039 GB, free: 11.89 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6087, allocations: 8.125 kB / 1.039 GB, free: 11.88 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.609, allocations: 187.2 kB / 1.039 GB, free: 11.67 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.6091, allocations: 136.5 kB / 1.039 GB, free: 11.52 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/0.6092, allocations: 11.98 kB / 1.039 GB, free: 11.51 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.6093, allocations: 11.98 kB / 1.039 GB, free: 11.5 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-05/0.6093, allocations: 8 kB / 1.039 GB, free: 11.49 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.6093, allocations: 0 / 1.039 GB, free: 11.49 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004175/0.6098, allocations: 383 kB / 1.039 GB, free: 11.11 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6098, allocations: 0 / 1.039 GB, free: 11.11 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004589/0.6102, allocations: 96 kB / 1.039 GB, free: 11.02 MB / 0.795 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.005004/0.6152, allocations: 3.446 MB / 1.043 GB, free: 7.531 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000346/0.6156, allocations: 187.8 kB / 1.043 GB, free: 7.348 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6156, allocations: 0 / 1.043 GB, free: 7.348 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.872e-05/0.6157, allocations: 51.89 kB / 1.043 GB, free: 7.297 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.6161, allocations: 57.72 kB / 1.043 GB, free: 7.242 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004391/0.6205, allocations: 3.681 MB / 1.047 GB, free: 3.441 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.6208, allocations: 0.8223 MB / 1.047 GB, free: 2.594 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001251/0.621, allocations: 42.3 kB / 1.048 GB, free: 2.555 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.6211, allocations: 79.41 kB / 1.048 GB, free: 2.477 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.6211, allocations: 0 / 1.048 GB, free: 2.477 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02309/0.6442, allocations: 10.66 MB / 1.058 GB, free: 8.004 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/0.6444, allocations: 226.2 kB / 1.058 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.976/2.62, allocations: 0 / 1.058 GB, free: 7.754 MB / 0.8106 GB (rm -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1)