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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001196/0.001196, 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.001206/0.001206, allocations: 193.2 kB / 16.25 MB, free: 6.633 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.214/1.214, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.256/2.256, allocations: 437 MB / 0.7101 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 59.91 kB / 0.8688 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4978/0.4989, allocations: 151.6 MB / 1.017 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002288/0.5012, allocations: 1.638 MB / 1.019 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.5023, allocations: 0.9152 MB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.609e-05/0.5023, allocations: 0 / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002106/0.5025, allocations: 63.7 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0003688/0.5029, allocations: 135.5 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 2.746e-05/0.503, allocations: 7.984 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003175/0.5033, allocations: 354.4 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.51e-05/0.5034, allocations: 52.7 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.5035, allocations: 151.3 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.5037, allocations: 147.3 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.5037, allocations: 16 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002631/0.5064, allocations: 0.5668 MB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.609e-05/0.5064, allocations: 51.77 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.5066, allocations: 135.2 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01189/0.5185, allocations: 13.31 MB / 1.034 GB, free: 1.094 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.5185, allocations: 0 / 1.034 GB, free: 1.094 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5185, allocations: 4 kB / 1.034 GB, free: 1.09 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.5185, allocations: 0 / 1.034 GB, free: 1.09 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.001157/0.5197, allocations: 0.6537 MB / 1.035 GB, free: 396 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.5197, allocations: 12.03 kB / 1.035 GB, free: 384 kB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.793e-05/0.5197, allocations: 30.75 kB / 1.035 GB, free: 344 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.467e-05/0.5198, allocations: 32.56 kB / 1.035 GB, free: 312 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.5202, allocations: 370.3 kB / 1.035 GB, free: 15.9 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.5202, allocations: 8.375 kB / 1.035 GB, free: 15.89 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.5202, allocations: 4.375 kB / 1.035 GB, free: 15.89 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.5204, allocations: 97.14 kB / 1.035 GB, free: 15.78 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.591e-06/0.5204, allocations: 0 / 1.035 GB, free: 15.78 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.5204, allocations: 12 kB / 1.035 GB, free: 15.77 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.5204, allocations: 0 / 1.035 GB, free: 15.77 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.118e-05/0.5205, allocations: 67.86 kB / 1.035 GB, free: 15.7 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003028/0.5208, allocations: 352 kB / 1.036 GB, free: 15.3 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 9.943e-05/0.5209, allocations: 102.4 kB / 1.036 GB, free: 15.16 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.856e-05/0.521, allocations: 63.45 kB / 1.036 GB, free: 15.09 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.521, allocations: 4 kB / 1.036 GB, free: 15.08 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.521, allocations: 42.44 kB / 1.036 GB, free: 15.03 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 9.91e-07/0.521, allocations: 0 / 1.036 GB, free: 15.03 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.000286/0.5213, allocations: 189.1 kB / 1.036 GB, free: 14.84 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.5214, allocations: 136.5 kB / 1.036 GB, free: 14.68 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004756/0.5219, allocations: 0.5013 MB / 1.037 GB, free: 14.17 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.5219, allocations: 29.7 kB / 1.037 GB, free: 14.13 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.467e-05/0.522, allocations: 156.9 kB / 1.037 GB, free: 13.98 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.522, allocations: 19.81 kB / 1.037 GB, free: 13.96 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-05/0.5221, allocations: 45.69 kB / 1.037 GB, free: 13.91 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.5222, allocations: 342.8 kB / 1.037 GB, free: 13.56 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.5223, allocations: 115.9 kB / 1.037 GB, free: 13.45 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.5225, allocations: 180.8 kB / 1.037 GB, free: 13.25 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/0.5228, allocations: 271.2 kB / 1.038 GB, free: 12.97 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5229, allocations: 0 / 1.038 GB, free: 12.97 MB / 0.795 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000388/0.5232, allocations: 337.1 kB / 1.038 GB, free: 12.64 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.5233, allocations: 8 kB / 1.038 GB, free: 12.63 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.5233, allocations: 0 / 1.038 GB, free: 12.63 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.5233, allocations: 4.031 kB / 1.038 GB, free: 12.62 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.5234, allocations: 15.98 kB / 1.038 GB, free: 12.61 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.5234, allocations: 4 kB / 1.038 GB, free: 12.61 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.5236, allocations: 23.83 kB / 1.038 GB, free: 12.58 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.5236, allocations: 4 kB / 1.038 GB, free: 12.58 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.0001425/0.5238, allocations: 189.6 kB / 1.038 GB, free: 12.38 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.406e-05/0.5238, allocations: 43.41 kB / 1.038 GB, free: 12.34 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.5241, allocations: 179.9 kB / 1.038 GB, free: 12.16 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.5241, allocations: 4.031 kB / 1.039 GB, free: 12.15 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.5241, allocations: 3.938 kB / 1.039 GB, free: 12.15 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.5241, allocations: 4 kB / 1.039 GB, free: 12.14 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.5243, allocations: 293.4 kB / 1.039 GB, free: 11.81 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.5243, allocations: 0 / 1.039 GB, free: 11.81 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.518e-05/0.5244, allocations: 15.94 kB / 1.039 GB, free: 11.79 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.5244, allocations: 3.984 kB / 1.039 GB, free: 11.79 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.5245, allocations: 4 kB / 1.039 GB, free: 11.79 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.5245, allocations: 0 / 1.039 GB, free: 11.79 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5245, allocations: 0 / 1.039 GB, free: 11.79 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000201/0.5247, allocations: 195.2 kB / 1.039 GB, free: 11.57 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.5248, allocations: 140.5 kB / 1.039 GB, free: 11.41 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.494e-05/0.5248, allocations: 4 kB / 1.039 GB, free: 11.41 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.525, allocations: 11.98 kB / 1.039 GB, free: 11.39 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.301e-05/0.525, allocations: 8 kB / 1.039 GB, free: 11.39 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.525, allocations: 4 kB / 1.039 GB, free: 11.38 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003535/0.5254, allocations: 379 kB / 1.04 GB, free: 11.01 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5254, allocations: 0 / 1.04 GB, free: 11.01 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003914/0.5258, allocations: 100 kB / 1.04 GB, free: 10.91 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.004566/0.5304, allocations: 3.442 MB / 1.043 GB, free: 7.43 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002974/0.5307, allocations: 199.8 kB / 1.043 GB, free: 7.234 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5307, allocations: 0 / 1.043 GB, free: 7.234 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.175e-05/0.5307, allocations: 47.91 kB / 1.043 GB, free: 7.188 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.5311, allocations: 54.53 kB / 1.043 GB, free: 7.137 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003746/0.5348, allocations: 3.677 MB / 1.047 GB, free: 3.34 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.5351, allocations: 0.8221 MB / 1.048 GB, free: 2.492 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001132/0.5352, allocations: 54.22 kB / 1.048 GB, free: 2.441 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.5353, allocations: 79.41 kB / 1.048 GB, free: 2.363 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.5353, allocations: 0 / 1.048 GB, free: 2.363 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03242/0.5678, allocations: 10.84 MB / 1.058 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/0.568, allocations: 224.9 kB / 1.059 GB, free: 7.484 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.871/2.439, allocations: 0 / 1.059 GB, free: 7.484 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)