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 1.395/1.395, allocations: 252 MB / 267 MB, free: 10.95 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.001141/0.001141, allocations: 178.7 kB / 326.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.4 MB / 0.5776 GB, free: 20.61 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.0007808/0.0007807, allocations: 86.14 kB / 0.6822 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003287/0.0003288, allocations: 8.406 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2156, allocations: 106.4 MB / 0.9003 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade): time 0.002655/0.2183, allocations: 2.534 MB / 0.9028 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.2195, allocations: 0.8034 MB / 0.9036 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001736/0.2197, allocations: 4 kB / 0.9036 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001482/0.2199, allocations: 39.62 kB / 0.9036 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002513/0.2201, allocations: 123.1 kB / 0.9037 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003148/0.2204, allocations: 119.8 kB / 0.9038 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003405/0.2208, allocations: 478.9 kB / 0.9043 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002351/0.221, allocations: 149.7 kB / 0.9044 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.2212, allocations: 151.4 kB / 0.9046 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.2214, allocations: 179.1 kB / 0.9048 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.885e-05/0.2215, allocations: 16 kB / 0.9048 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.386e-05/0.2215, allocations: 16 kB / 0.9048 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.604e-05/0.2216, allocations: 63.69 kB / 0.9049 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.249e-05/0.2216, allocations: 97.45 kB / 0.9049 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.2219, allocations: 319.4 kB / 0.9053 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.2219, allocations: 0 / 0.9053 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2219, allocations: 0 / 0.9053 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.2219, allocations: 4 kB / 0.9053 GB, free: 59.1 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.001056/0.223, allocations: 0.6704 MB / 0.9059 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.223, allocations: 12.03 kB / 0.9059 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.929e-05/0.2231, allocations: 66.53 kB / 0.906 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.916e-05/0.2232, allocations: 59.33 kB / 0.906 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.2235, allocations: 310.2 kB / 0.9063 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.2235, allocations: 25 kB / 0.9064 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.763e-05/0.2235, allocations: 32 kB / 0.9064 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005439/0.2241, allocations: 384.9 kB / 0.9068 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.2241, allocations: 0 / 0.9068 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.2242, allocations: 16 kB / 0.9068 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.2242, allocations: 8 kB / 0.9068 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004725/0.2246, allocations: 278.4 kB / 0.907 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.2261, allocations: 1.46 MB / 0.9085 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005131/0.2266, allocations: 290.4 kB / 0.9087 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003727/0.2271, allocations: 189.2 kB / 0.9089 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.585e-05/0.2271, allocations: 4.234 kB / 0.9089 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.552e-05/0.2271, allocations: 30.8 kB / 0.909 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 2.375e-06/0.2271, allocations: 0 / 0.909 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.002775/0.2299, allocations: 0.9051 MB / 0.9098 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.23, allocations: 55.39 kB / 0.9099 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002957/0.2303, allocations: 361.7 kB / 0.9102 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.2303, allocations: 33.7 kB / 0.9103 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.2304, allocations: 212.2 kB / 0.9105 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.99e-05/0.2305, allocations: 94.66 kB / 0.9106 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.294e-05/0.2305, allocations: 4 kB / 0.9106 GB, free: 53.37 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.289e-05/0.2306, allocations: 346.8 kB / 0.9109 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.2308, allocations: 96.52 kB / 0.911 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.231, allocations: 171.9 kB / 0.9112 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.2312, allocations: 108 kB / 0.9113 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2312, allocations: 32 / 0.9113 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009974/0.2322, allocations: 0.498 MB / 0.9117 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.215e-05/0.2323, allocations: 125.5 kB / 0.9119 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.2323, allocations: 3.984 kB / 0.9119 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007065/0.233, allocations: 180.6 kB / 0.912 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.2332, allocations: 43.98 kB / 0.9121 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002816/0.236, allocations: 2.467 MB / 0.9145 GB, free: 49.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003604/0.2364, allocations: 47.66 kB / 0.9145 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.2364, allocations: 12 kB / 0.9146 GB, free: 49.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/0.2364, allocations: 4 kB / 0.9146 GB, free: 49.1 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009799/0.2374, allocations: 432.2 kB / 0.915 GB, free: 48.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.2374, allocations: 4.156 kB / 0.915 GB, free: 48.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005804/0.238, allocations: 186.9 kB / 0.9152 GB, free: 48.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.2382, allocations: 39.92 kB / 0.9152 GB, free: 48.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00234/0.2405, allocations: 2.372 MB / 0.9175 GB, free: 45.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003473/0.2409, allocations: 51.67 kB / 0.9176 GB, free: 45.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.2409, allocations: 4 kB / 0.9176 GB, free: 45.89 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0002004/0.2411, allocations: 225 kB / 0.9178 GB, free: 45.66 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.926e-05/0.2412, allocations: 43.48 kB / 0.9178 GB, free: 45.62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.11e-05/0.2413, allocations: 56.09 kB / 0.9179 GB, free: 45.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2413, allocations: 0 / 0.9179 GB, free: 45.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.2413, allocations: 0 / 0.9179 GB, free: 45.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2413, allocations: 7.984 kB / 0.9179 GB, free: 45.55 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003733/0.2417, allocations: 413.6 kB / 0.9183 GB, free: 45.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.2417, allocations: 0 / 0.9183 GB, free: 45.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.2418, allocations: 27.98 kB / 0.9183 GB, free: 45.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005896/0.2424, allocations: 174.9 kB / 0.9185 GB, free: 44.89 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.2425, allocations: 11.95 kB / 0.9185 GB, free: 44.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002342/0.2448, allocations: 2.38 MB / 0.9208 GB, free: 42.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2448, allocations: 0 / 0.9208 GB, free: 42.37 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000995/0.2458, allocations: 0.5433 MB / 0.9213 GB, free: 41.81 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.246, allocations: 132.5 kB / 0.9215 GB, free: 41.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.777e-05/0.246, allocations: 7.953 kB / 0.9215 GB, free: 41.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002583/0.2463, allocations: 27.97 kB / 0.9215 GB, free: 41.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.258e-05/0.2463, allocations: 19.97 kB / 0.9215 GB, free: 41.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.2464, allocations: 8 kB / 0.9215 GB, free: 41.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000222/0.2466, allocations: 259.2 kB / 0.9218 GB, free: 41.35 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2466, allocations: 0 / 0.9218 GB, free: 41.35 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006858/0.2473, allocations: 259.6 kB / 0.922 GB, free: 41.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.001182/0.2485, allocations: 1.084 MB / 0.9231 GB, free: 39.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001277/0.2498, allocations: 0.7756 MB / 0.9238 GB, free: 39.18 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.2498, allocations: 4.312 kB / 0.9238 GB, free: 39.17 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004394/0.2502, allocations: 318.7 kB / 0.9241 GB, free: 38.85 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006121/0.2509, allocations: 108.9 kB / 0.9242 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003229/0.2541, allocations: 2.239 MB / 0.9264 GB, free: 36.44 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.2543, allocations: 0.8154 MB / 0.9272 GB, free: 35.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000167/0.2545, allocations: 35.27 kB / 0.9273 GB, free: 35.56 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.2547, allocations: 123.4 kB / 0.9274 GB, free: 35.44 MB / 0.6042 GB Notification: Performance of SimCode: time 8.62e-07/0.2547, allocations: 3.938 kB / 0.9274 GB, free: 35.44 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0223/0.277, allocations: 11.12 MB / 0.9382 GB, free: 24.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001469/0.2772, allocations: 230.1 kB / 0.9385 GB, free: 24.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.263/2.54, allocations: 0 / 0.9385 GB, free: 24.36 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)