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.001176/0.001176, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 197 kB / 16.53 MB, free: 6.664 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.382/1.382, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.604/2.604, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 61.02 kB / 0.8992 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2742, allocations: 157.4 MB / 1.053 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002873/0.2771, allocations: 1.589 MB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.2786, allocations: 0.9388 MB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.2787, allocations: 4 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002558/0.2789, allocations: 55.67 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000488/0.2795, allocations: 151.2 kB / 1.056 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.363e-05/0.2795, allocations: 8 kB / 1.056 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003985/0.2799, allocations: 373.5 kB / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.574e-05/0.28, allocations: 44.73 kB / 1.056 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000226/0.2803, allocations: 143.3 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000225/0.2805, allocations: 135.4 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.507e-05/0.2806, allocations: 16 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.194e-05/0.2806, allocations: 15.94 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.303e-05/0.2807, allocations: 51.77 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.2808, allocations: 135.1 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.2811, allocations: 275.3 kB / 1.057 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2811, allocations: 0 / 1.057 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2811, allocations: 0 / 1.057 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.2812, allocations: 0 / 1.057 GB, free: 4.402 MB / 0.8106 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.001162/0.2823, allocations: 0.634 MB / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2824, allocations: 8.625 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.775e-05/0.2824, allocations: 34.75 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.344e-05/0.2825, allocations: 28.56 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004898/0.283, allocations: 386.3 kB / 1.058 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.283, allocations: 4.375 kB / 1.058 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.283, allocations: 8.375 kB / 1.058 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.2832, allocations: 97.14 kB / 1.058 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.2832, allocations: 0 / 1.058 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.2832, allocations: 0 / 1.058 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.2832, allocations: 0 / 1.058 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.2833, allocations: 71.86 kB / 1.058 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004319/0.2838, allocations: 360.1 kB / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.2839, allocations: 114.3 kB / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.498e-05/0.284, allocations: 59.47 kB / 1.058 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.284, allocations: 8 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.2841, allocations: 38.44 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.2841, allocations: 0 / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003513/0.2844, allocations: 193.4 kB / 1.059 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.2845, allocations: 132.5 kB / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006121/0.2851, allocations: 0.5132 MB / 1.059 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.2851, allocations: 25.7 kB / 1.059 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.2853, allocations: 164.1 kB / 1.059 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.2853, allocations: 7.906 kB / 1.059 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.296e-05/0.2854, allocations: 25.61 kB / 1.059 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.2855, allocations: 350.8 kB / 1.06 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.208e-05/0.2856, allocations: 31.97 kB / 1.06 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.544e-05/0.2856, allocations: 59.39 kB / 1.06 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.2858, allocations: 99.3 kB / 1.06 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2858, allocations: 4 kB / 1.06 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000216/0.286, allocations: 153.1 kB / 1.06 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.286, allocations: 4 kB / 1.06 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.286, allocations: 3.984 kB / 1.06 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.2861, allocations: 7.938 kB / 1.06 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.2862, allocations: 7.984 kB / 1.06 GB, free: 500 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2862, allocations: 4 kB / 1.06 GB, free: 496 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.2863, allocations: 15.89 kB / 1.06 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.2864, allocations: 8.125 kB / 1.06 GB, free: 472 kB / 0.8106 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.0001525/0.2865, allocations: 173.8 kB / 1.06 GB, free: 288 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.272e-05/0.2866, allocations: 35.56 kB / 1.06 GB, free: 252 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003159/0.2869, allocations: 187.7 kB / 1.061 GB, free: 56 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.2869, allocations: 4.125 kB / 1.061 GB, free: 52 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.2869, allocations: 4 kB / 1.061 GB, free: 48 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2869, allocations: 0 / 1.061 GB, free: 48 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002921/0.2872, allocations: 301.4 kB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.2872, allocations: 7.984 kB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.64e-05/0.2873, allocations: 19.88 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2874, allocations: 0 / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.2874, allocations: 4 kB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.2874, allocations: 4 kB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2874, allocations: 0 / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.2876, allocations: 191.2 kB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.2878, allocations: 140.5 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.041e-05/0.2878, allocations: 7.922 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.288, allocations: 15.98 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.228e-05/0.288, allocations: 11.88 kB / 1.061 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.288, allocations: 4 kB / 1.061 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004361/0.2885, allocations: 399 kB / 1.062 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2885, allocations: 0 / 1.062 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002472/0.2887, allocations: 36 kB / 1.062 GB, free: 14.84 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.0004698/0.2892, allocations: 0.7238 MB / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001746/0.2894, allocations: 91.86 kB / 1.062 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2894, allocations: 0 / 1.062 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.376e-05/0.2895, allocations: 43.91 kB / 1.063 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.2898, allocations: 66.11 kB / 1.063 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003588/0.2934, allocations: 3.193 MB / 1.066 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.2938, allocations: 0.8104 MB / 1.066 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001403/0.294, allocations: 58.2 kB / 1.067 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.2941, allocations: 83.39 kB / 1.067 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of SimCode: time 6.42e-07/0.2941, allocations: 0 / 1.067 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08893/0.3831, allocations: 6.598 MB / 1.073 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.943/7.326, allocations: 4.5 kB / 1.073 GB, free: 3.156 MB / 0.8262 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)