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.471/1.471, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001723/0.001723, allocations: 170.6 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.2/2.2, allocations: 205.4 MB / 0.5775 GB, free: 20.2 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.001051/0.001051, allocations: 100.8 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.0003493, allocations: 8.438 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.235, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade): time 0.002614/0.2376, allocations: 2.422 MB / 0.9025 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.2388, allocations: 0.8386 MB / 0.9033 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.239, allocations: 4 kB / 0.9033 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.2391, allocations: 35.64 kB / 0.9034 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002428/0.2393, allocations: 143.6 kB / 0.9035 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003167/0.2397, allocations: 123.7 kB / 0.9036 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003378/0.24, allocations: 344.2 kB / 0.904 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002807/0.2403, allocations: 149.7 kB / 0.9041 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.2405, allocations: 151.4 kB / 0.9042 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.2407, allocations: 183.1 kB / 0.9044 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.041e-05/0.2407, allocations: 16 kB / 0.9044 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.632e-05/0.2408, allocations: 16 kB / 0.9045 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.632e-05/0.2408, allocations: 59.75 kB / 0.9045 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.457e-05/0.2409, allocations: 97.45 kB / 0.9046 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.2411, allocations: 311.4 kB / 0.9049 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.2412, allocations: 0 / 0.9049 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2412, allocations: 0 / 0.9049 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.2412, allocations: 0 / 0.9049 GB, free: 58.94 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.0009911/0.2422, allocations: 0.6704 MB / 0.9056 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.2422, allocations: 12.03 kB / 0.9056 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.259e-05/0.2423, allocations: 74.53 kB / 0.9056 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.096e-05/0.2424, allocations: 51.39 kB / 0.9057 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003341/0.2427, allocations: 314.2 kB / 0.906 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.2427, allocations: 25 kB / 0.906 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.084e-05/0.2428, allocations: 32 kB / 0.906 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005445/0.2433, allocations: 384.9 kB / 0.9064 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.2434, allocations: 0 / 0.9064 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/0.2434, allocations: 12 kB / 0.9064 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.2434, allocations: 8 kB / 0.9064 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000499/0.2439, allocations: 282.4 kB / 0.9067 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.2454, allocations: 1.463 MB / 0.9081 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005119/0.2459, allocations: 286.4 kB / 0.9084 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.453e-05/0.2459, allocations: 8.219 kB / 0.9084 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.246, allocations: 38.8 kB / 0.9084 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 1.523e-06/0.246, allocations: 0 / 0.9084 GB, free: 55.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.002787/0.2488, allocations: 0.8822 MB / 0.9093 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.2488, allocations: 59.34 kB / 0.9094 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003127/0.2491, allocations: 365.7 kB / 0.9097 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.2492, allocations: 33.64 kB / 0.9097 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.2493, allocations: 212.2 kB / 0.9099 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.3e-05/0.2494, allocations: 90.66 kB / 0.91 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.275e-05/0.2494, allocations: 4 kB / 0.91 GB, free: 53.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.626e-05/0.2495, allocations: 346.8 kB / 0.9104 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.2497, allocations: 108.5 kB / 0.9105 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.2499, allocations: 159.9 kB / 0.9106 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.2501, allocations: 112 kB / 0.9107 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.2501, allocations: 0 / 0.9107 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009727/0.2511, allocations: 0.498 MB / 0.9112 GB, free: 52.15 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001187/0.2512, allocations: 0.5292 MB / 0.9117 GB, free: 51.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.2512, allocations: 0 / 0.9117 GB, free: 51.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007475/0.252, allocations: 187.6 kB / 0.9119 GB, free: 51.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.2522, allocations: 39.92 kB / 0.9119 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002916/0.2551, allocations: 2.524 MB / 0.9144 GB, free: 48.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003832/0.2555, allocations: 43.67 kB / 0.9145 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.2555, allocations: 12 kB / 0.9145 GB, free: 48.65 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.2555, allocations: 8 kB / 0.9145 GB, free: 48.64 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009531/0.2565, allocations: 428.2 kB / 0.9149 GB, free: 48.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2565, allocations: 4 kB / 0.9149 GB, free: 48.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005638/0.2571, allocations: 192.7 kB / 0.9151 GB, free: 48.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.2572, allocations: 35.98 kB / 0.9151 GB, free: 47.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002521/0.2598, allocations: 2.447 MB / 0.9175 GB, free: 45.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003346/0.2601, allocations: 39.67 kB / 0.9175 GB, free: 45.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.2602, allocations: 12 kB / 0.9175 GB, free: 45.37 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.0002298/0.2604, allocations: 221.1 kB / 0.9178 GB, free: 45.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.884e-05/0.2605, allocations: 35.53 kB / 0.9178 GB, free: 45.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.195e-05/0.2605, allocations: 52.22 kB / 0.9178 GB, free: 45.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2606, allocations: 7.953 kB / 0.9178 GB, free: 45.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.2606, allocations: 0 / 0.9178 GB, free: 45.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.2606, allocations: 3.984 kB / 0.9178 GB, free: 45.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004221/0.261, allocations: 417.6 kB / 0.9182 GB, free: 44.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.261, allocations: 0 / 0.9182 GB, free: 44.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.2611, allocations: 35.86 kB / 0.9183 GB, free: 44.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000559/0.2617, allocations: 168.7 kB / 0.9184 GB, free: 44.38 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.2617, allocations: 8 kB / 0.9184 GB, free: 44.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002491/0.2642, allocations: 2.441 MB / 0.9208 GB, free: 41.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2642, allocations: 4.031 kB / 0.9208 GB, free: 41.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009616/0.2652, allocations: 0.5433 MB / 0.9214 GB, free: 41.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.2654, allocations: 140.6 kB / 0.9215 GB, free: 41.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.2654, allocations: 4 kB / 0.9215 GB, free: 41.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/0.2657, allocations: 23.89 kB / 0.9215 GB, free: 41.05 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.69e-05/0.2657, allocations: 23.92 kB / 0.9216 GB, free: 41.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.2658, allocations: 8 kB / 0.9216 GB, free: 41.02 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002285/0.266, allocations: 263.2 kB / 0.9218 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.266, allocations: 0 / 0.9218 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006972/0.2667, allocations: 251.7 kB / 0.9221 GB, free: 40.52 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.001224/0.2679, allocations: 1.091 MB / 0.9231 GB, free: 39.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001275/0.2692, allocations: 0.7721 MB / 0.9239 GB, free: 38.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2692, allocations: 0 / 0.9239 GB, free: 38.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004434/0.2697, allocations: 322.6 kB / 0.9242 GB, free: 38.27 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/0.2702, allocations: 93.39 kB / 0.9243 GB, free: 38.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00329/0.2735, allocations: 2.995 MB / 0.9272 GB, free: 35.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.2737, allocations: 0.8194 MB / 0.928 GB, free: 34.27 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001586/0.2739, allocations: 35.27 kB / 0.928 GB, free: 34.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.274, allocations: 115.4 kB / 0.9281 GB, free: 34.12 MB / 0.6042 GB Notification: Performance of SimCode: time 4.01e-07/0.274, allocations: 0 / 0.9281 GB, free: 34.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02302/0.2971, allocations: 11.1 MB / 0.939 GB, free: 23.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/0.2973, allocations: 240.5 kB / 0.9392 GB, free: 23.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.274/2.571, allocations: 0 / 0.9392 GB, free: 23.04 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)