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.007917/0.007923, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.002013/0.002013, allocations: 197.6 kB / 16.68 MB, free: 5.977 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.62/2.62, allocations: 469.8 MB / 0.7425 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 71.83 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2681, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002595/0.2707, allocations: 1.598 MB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.2721, allocations: 0.9151 MB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.072e-05/0.2722, allocations: 0 / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002388/0.2724, allocations: 63.64 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004075/0.2729, allocations: 147.3 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.11e-05/0.2729, allocations: 4 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004189/0.2733, allocations: 378.3 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.956e-05/0.2734, allocations: 44.73 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.2736, allocations: 139.3 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.2738, allocations: 143.3 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.736e-05/0.2739, allocations: 16 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.538e-05/0.2739, allocations: 16 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.309e-05/0.274, allocations: 47.77 kB / 1.224 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.2741, allocations: 135.2 kB / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.2744, allocations: 282.8 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2745, allocations: 0 / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2745, allocations: 0 / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.2745, allocations: 0 / 1.224 GB, free: 10.41 MB / 0.9825 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.001033/0.2755, allocations: 0.6379 MB / 1.225 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.2756, allocations: 8.031 kB / 1.225 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.286e-05/0.2756, allocations: 34.75 kB / 1.225 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.743e-05/0.2757, allocations: 40.7 kB / 1.225 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004778/0.2761, allocations: 390.5 kB / 1.225 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.2762, allocations: 8.375 kB / 1.225 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.2762, allocations: 4.375 kB / 1.225 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.2763, allocations: 101.1 kB / 1.225 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.2763, allocations: 0 / 1.225 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.2764, allocations: 4 kB / 1.225 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.2764, allocations: 0 / 1.225 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.2765, allocations: 71.86 kB / 1.225 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003709/0.2769, allocations: 352.1 kB / 1.226 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.277, allocations: 110.4 kB / 1.226 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.883e-05/0.2771, allocations: 63.45 kB / 1.226 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.2771, allocations: 7.938 kB / 1.226 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.2771, allocations: 42.48 kB / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.2771, allocations: 0 / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0003204/0.2775, allocations: 185.7 kB / 1.226 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.184e-05/0.2775, allocations: 132.5 kB / 1.226 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005723/0.2781, allocations: 0.5132 MB / 1.227 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.2781, allocations: 25.7 kB / 1.227 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.2783, allocations: 168.1 kB / 1.227 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.2783, allocations: 15.84 kB / 1.227 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.2784, allocations: 21.7 kB / 1.227 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.2785, allocations: 346.9 kB / 1.227 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.681e-05/0.2786, allocations: 35.97 kB / 1.227 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.765e-05/0.2786, allocations: 55.39 kB / 1.227 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.2788, allocations: 107.3 kB / 1.227 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2788, allocations: 0 / 1.227 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002232/0.279, allocations: 157.2 kB / 1.227 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.279, allocations: 4 kB / 1.227 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2791, allocations: 4 kB / 1.227 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.2791, allocations: 0 / 1.227 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.2792, allocations: 15.92 kB / 1.227 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.2792, allocations: 0 / 1.227 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.2793, allocations: 11.98 kB / 1.227 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.936e-06/0.2793, allocations: 4.125 kB / 1.227 GB, free: 6.453 MB / 0.9825 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.0001478/0.2795, allocations: 178.3 kB / 1.228 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.478e-05/0.2796, allocations: 35.75 kB / 1.228 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000299/0.2799, allocations: 179.7 kB / 1.228 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2799, allocations: 4 kB / 1.228 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2799, allocations: 128 / 1.228 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.2799, allocations: 11.98 kB / 1.228 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/0.2802, allocations: 305.4 kB / 1.228 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2802, allocations: 0 / 1.228 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.762e-05/0.2803, allocations: 27.86 kB / 1.228 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.2803, allocations: 0 / 1.228 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.2803, allocations: 4 kB / 1.228 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2803, allocations: 0 / 1.228 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2803, allocations: 4 kB / 1.228 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002385/0.2806, allocations: 195.4 kB / 1.228 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.2807, allocations: 140.8 kB / 1.229 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.218e-05/0.2808, allocations: 4 kB / 1.229 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.2809, allocations: 15.92 kB / 1.229 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.101e-05/0.2809, allocations: 7.984 kB / 1.229 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.2809, allocations: 4 kB / 1.229 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004375/0.2814, allocations: 399 kB / 1.229 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2814, allocations: 0 / 1.229 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002345/0.2816, allocations: 36 kB / 1.229 GB, free: 4.824 MB / 0.9825 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.0005256/0.2821, allocations: 0.7357 MB / 1.23 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001743/0.2823, allocations: 79.88 kB / 1.23 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2823, allocations: 0 / 1.23 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.266e-05/0.2824, allocations: 51.89 kB / 1.23 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.2828, allocations: 67 kB / 1.23 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003718/0.2865, allocations: 3.197 MB / 1.233 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/0.287, allocations: 0.8181 MB / 1.234 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001488/0.2872, allocations: 46.27 kB / 1.234 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.2873, allocations: 79.34 kB / 1.234 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of SimCode: time 9.32e-07/0.2873, allocations: 4 kB / 1.234 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.185/1.473, allocations: 6.643 MB / 1.24 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.92/16.39, allocations: 21.25 kB / 1.24 GB, free: 9.105 MB / 0.9981 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)