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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008662/0.0008662, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.005084/0.005084, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.241/1.241, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.444/2.444, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.0003618, allocations: 13.59 kB / 0.9029 GB, free: 36.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2632, allocations: 159.6 MB / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.001687/0.2649, allocations: 1.309 MB / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.2662, allocations: 0.8918 MB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.776e-05/0.2663, allocations: 7.938 kB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000242/0.2666, allocations: 55.78 kB / 1.061 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004174/0.267, allocations: 139.5 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.218e-05/0.2671, allocations: 8 kB / 1.061 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003371/0.2674, allocations: 358.2 kB / 1.061 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.32e-05/0.2675, allocations: 44.75 kB / 1.061 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.2677, allocations: 115.4 kB / 1.062 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.2679, allocations: 139.3 kB / 1.062 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.2679, allocations: 19.94 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003254/0.2712, allocations: 0.6642 MB / 1.062 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.51e-05/0.2713, allocations: 43.7 kB / 1.062 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.2714, allocations: 153 kB / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01272/0.2841, allocations: 13.28 MB / 1.076 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2842, allocations: 0 / 1.076 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.495e-06/0.2842, allocations: 0 / 1.076 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.2842, allocations: 0 / 1.076 GB, free: 3.586 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.001439/0.2856, allocations: 0.5994 MB / 1.076 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.2857, allocations: 11.97 kB / 1.076 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.494e-05/0.2857, allocations: 38.75 kB / 1.076 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.881e-05/0.2858, allocations: 32.47 kB / 1.076 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005057/0.2863, allocations: 378.3 kB / 1.077 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.2864, allocations: 384 / 1.077 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.2864, allocations: 4.375 kB / 1.077 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.2865, allocations: 117.1 kB / 1.077 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.2865, allocations: 0 / 1.077 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.2866, allocations: 0 / 1.077 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.2866, allocations: 3.938 kB / 1.077 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.491e-05/0.2867, allocations: 67.88 kB / 1.077 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003616/0.287, allocations: 348.1 kB / 1.077 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.2872, allocations: 110.4 kB / 1.077 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.536e-05/0.2873, allocations: 63.39 kB / 1.077 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.2873, allocations: 7.984 kB / 1.077 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.2873, allocations: 42.5 kB / 1.077 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.2873, allocations: 0 / 1.077 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003145/0.2876, allocations: 185 kB / 1.078 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.2877, allocations: 129 kB / 1.078 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005198/0.2882, allocations: 0.5053 MB / 1.078 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.2882, allocations: 29.7 kB / 1.078 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.2884, allocations: 160.3 kB / 1.078 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.2884, allocations: 15.73 kB / 1.078 GB, free: 492 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.2884, allocations: 25.72 kB / 1.078 GB, free: 460 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.2885, allocations: 346.8 kB / 1.079 GB, free: 104 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.2887, allocations: 115.8 kB / 1.079 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.2889, allocations: 194.7 kB / 1.079 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002972/0.2892, allocations: 263.2 kB / 1.079 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2892, allocations: 0 / 1.079 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000395/0.2896, allocations: 325.1 kB / 1.08 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.2896, allocations: 4 kB / 1.08 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.2896, allocations: 0 / 1.08 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.2897, allocations: 8 kB / 1.08 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.2898, allocations: 15.98 kB / 1.08 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.2898, allocations: 3.938 kB / 1.08 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.29, allocations: 35.72 kB / 1.08 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.29, allocations: 4 kB / 1.08 GB, free: 15.11 MB / 0.8419 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.0001446/0.2901, allocations: 177.7 kB / 1.08 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.221e-05/0.2902, allocations: 35.56 kB / 1.08 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002825/0.2905, allocations: 179.8 kB / 1.08 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.2905, allocations: 4 kB / 1.08 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.2905, allocations: 4 kB / 1.08 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.2905, allocations: 240 / 1.08 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/0.2907, allocations: 297.3 kB / 1.08 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2908, allocations: 0 / 1.08 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.294e-05/0.2908, allocations: 19.92 kB / 1.08 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.2909, allocations: 8.109 kB / 1.08 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.2909, allocations: 4 kB / 1.08 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.2909, allocations: 0 / 1.08 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.2909, allocations: 7.938 kB / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.2911, allocations: 179.3 kB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.2912, allocations: 144.5 kB / 1.081 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.971e-05/0.2913, allocations: 4 kB / 1.081 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.2914, allocations: 11.98 kB / 1.081 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.276e-05/0.2914, allocations: 7.984 kB / 1.081 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.2915, allocations: 0 / 1.081 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003746/0.2918, allocations: 387 kB / 1.081 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.1e-07/0.2918, allocations: 0 / 1.081 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004222/0.2923, allocations: 99.94 kB / 1.081 GB, free: 13.46 MB / 0.8419 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.004691/0.297, allocations: 3.442 MB / 1.084 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003155/0.2973, allocations: 191.7 kB / 1.085 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2973, allocations: 0 / 1.085 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.258e-05/0.2974, allocations: 43.97 kB / 1.085 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.2977, allocations: 57.72 kB / 1.085 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004083/0.3018, allocations: 3.699 MB / 1.088 GB, free: 5.875 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.3021, allocations: 0.8146 MB / 1.089 GB, free: 5.035 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001318/0.3023, allocations: 50.28 kB / 1.089 GB, free: 4.98 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.3024, allocations: 79.41 kB / 1.089 GB, free: 4.902 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/0.3024, allocations: 0 / 1.089 GB, free: 4.902 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02144/0.3239, allocations: 10.52 MB / 1.1 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/0.3241, allocations: 234.5 kB / 1.1 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.908/2.232, allocations: 4 kB / 1.1 GB, free: 10.34 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)