Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 2.6/2.6, allocations: 252 MB / 267.3 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002293/0.002293, allocations: 182.4 kB / 327 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.445/3.445, allocations: 205.4 MB / 0.578 GB, free: 20.09 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001224/0.001224, allocations: 85.92 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005819/0.0005824, allocations: 11.28 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3446, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade): time 0.004759/0.3494, allocations: 2.641 MB / 0.9035 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002324/0.3518, allocations: 0.8226 MB / 0.9043 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003347/0.3522, allocations: 7.938 kB / 0.9043 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002291/0.3524, allocations: 35.64 kB / 0.9043 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005359/0.353, allocations: 127 kB / 0.9045 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006683/0.3537, allocations: 127.9 kB / 0.9046 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007541/0.3544, allocations: 498.9 kB / 0.9051 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005445/0.355, allocations: 186 kB / 0.9052 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003048/0.3553, allocations: 163.2 kB / 0.9054 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003999/0.3558, allocations: 187 kB / 0.9056 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.643e-05/0.3558, allocations: 19.94 kB / 0.9056 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.203e-05/0.3559, allocations: 16 kB / 0.9056 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.356, allocations: 59.69 kB / 0.9057 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002832/0.3563, allocations: 216.5 kB / 0.9059 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005464/0.3569, allocations: 418.5 kB / 0.9063 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3569, allocations: 0 / 0.9063 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.497e-06/0.3569, allocations: 0 / 0.9063 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.357, allocations: 0 / 0.9063 GB, free: 57.87 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001655/0.3586, allocations: 0.6667 MB / 0.9069 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.744e-05/0.3587, allocations: 8.031 kB / 0.9069 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001557/0.3589, allocations: 78.72 kB / 0.907 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.359, allocations: 48.38 kB / 0.9071 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005355/0.3596, allocations: 331.1 kB / 0.9074 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.681e-05/0.3596, allocations: 25.38 kB / 0.9074 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.164e-05/0.3597, allocations: 32.38 kB / 0.9074 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008927/0.3606, allocations: 389 kB / 0.9078 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.3606, allocations: 0 / 0.9078 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.204e-05/0.3607, allocations: 12 kB / 0.9078 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.3607, allocations: 11.94 kB / 0.9078 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007726/0.3615, allocations: 290.3 kB / 0.9081 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002337/0.3639, allocations: 1.46 MB / 0.9095 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008443/0.3647, allocations: 281.5 kB / 0.9098 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005737/0.3653, allocations: 188 kB / 0.91 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.456e-05/0.3654, allocations: 4.234 kB / 0.91 GB, free: 53.87 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.3654, allocations: 42.73 kB / 0.91 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 2.605e-06/0.3654, allocations: 0 / 0.91 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.004644/0.3701, allocations: 0.9012 MB / 0.9109 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.3702, allocations: 55.41 kB / 0.9109 GB, free: 52.83 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006293/0.3708, allocations: 365.6 kB / 0.9113 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.3709, allocations: 37.64 kB / 0.9113 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.3711, allocations: 212.2 kB / 0.9115 GB, free: 52.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.3712, allocations: 94.64 kB / 0.9116 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.558e-05/0.3712, allocations: 8 kB / 0.9116 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.3714, allocations: 346.8 kB / 0.912 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/0.3717, allocations: 100.5 kB / 0.9121 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003617/0.3721, allocations: 163.9 kB / 0.9122 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006446/0.3727, allocations: 273.5 kB / 0.9125 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3727, allocations: 0 / 0.9125 GB, free: 51.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00157/0.3743, allocations: 0.4935 MB / 0.913 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.3744, allocations: 128.4 kB / 0.9131 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.3745, allocations: 11.92 kB / 0.9131 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/0.3755, allocations: 184.7 kB / 0.9133 GB, free: 50.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.3758, allocations: 35.98 kB / 0.9133 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004316/0.3801, allocations: 2.474 MB / 0.9157 GB, free: 47.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005703/0.3807, allocations: 47.58 kB / 0.9158 GB, free: 47.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/0.3808, allocations: 8 kB / 0.9158 GB, free: 47.65 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.749e-06/0.3808, allocations: 4 kB / 0.9158 GB, free: 47.65 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001442/0.3822, allocations: 444.1 kB / 0.9162 GB, free: 47.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3823, allocations: 4.156 kB / 0.9162 GB, free: 47.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009095/0.3832, allocations: 179 kB / 0.9164 GB, free: 47.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.3834, allocations: 43.91 kB / 0.9164 GB, free: 46.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003876/0.3873, allocations: 2.38 MB / 0.9187 GB, free: 44.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005819/0.3879, allocations: 43.77 kB / 0.9188 GB, free: 44.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/0.388, allocations: 16 kB / 0.9188 GB, free: 44.42 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0002825/0.3883, allocations: 225 kB / 0.919 GB, free: 44.19 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.3884, allocations: 39.53 kB / 0.919 GB, free: 44.15 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.967e-05/0.3885, allocations: 48.16 kB / 0.9191 GB, free: 44.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.3885, allocations: 7.938 kB / 0.9191 GB, free: 44.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3885, allocations: 0 / 0.9191 GB, free: 44.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3885, allocations: 4 kB / 0.9191 GB, free: 44.09 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006614/0.3892, allocations: 421.6 kB / 0.9195 GB, free: 43.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.3892, allocations: 0 / 0.9195 GB, free: 43.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.3894, allocations: 23.98 kB / 0.9195 GB, free: 43.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008816/0.3903, allocations: 179.1 kB / 0.9197 GB, free: 43.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.3904, allocations: 11.98 kB / 0.9197 GB, free: 43.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003857/0.3942, allocations: 2.381 MB / 0.922 GB, free: 40.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3943, allocations: 0 / 0.922 GB, free: 40.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.3959, allocations: 0.5472 MB / 0.9226 GB, free: 40.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/0.3961, allocations: 132.5 kB / 0.9227 GB, free: 40.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.21e-05/0.3962, allocations: 8 kB / 0.9227 GB, free: 40.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004315/0.3966, allocations: 15.98 kB / 0.9227 GB, free: 40.16 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.3967, allocations: 31.95 kB / 0.9227 GB, free: 40.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.3968, allocations: 7.938 kB / 0.9228 GB, free: 40.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000373/0.3971, allocations: 259.2 kB / 0.923 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3972, allocations: 0 / 0.923 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001244/0.3984, allocations: 267.5 kB / 0.9233 GB, free: 39.61 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00192/0.4003, allocations: 1.094 MB / 0.9243 GB, free: 38.49 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002092/0.4025, allocations: 0.7755 MB / 0.9251 GB, free: 37.69 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.4025, allocations: 320 / 0.9251 GB, free: 37.69 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007226/0.4032, allocations: 330.4 kB / 0.9254 GB, free: 37.35 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009634/0.4042, allocations: 93.44 kB / 0.9255 GB, free: 37.26 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008254/0.4125, allocations: 3.872 MB / 0.9293 GB, free: 33.28 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004516/0.413, allocations: 0.8152 MB / 0.9301 GB, free: 32.43 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003306/0.4133, allocations: 35.27 kB / 0.9301 GB, free: 32.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002331/0.4136, allocations: 119.4 kB / 0.9302 GB, free: 32.29 MB / 0.6042 GB Notification: Performance of SimCode: time 1.102e-06/0.4136, allocations: 4 kB / 0.9302 GB, free: 32.28 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05027/0.4639, allocations: 11.32 MB / 0.9413 GB, free: 21.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0009477/0.465, allocations: 247.4 kB / 0.9415 GB, free: 20.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.166/4.631, allocations: 0 / 0.9415 GB, free: 20.98 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1)