Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.763/1.763, allocations: 288.2 MB / 303.2 MB, free: 8.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001476/0.001476, allocations: 178.1 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.843/1.843, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 97.03 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000406/0.0004061, allocations: 12.91 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2513, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade): time 0.002608/0.254, allocations: 2.418 MB / 0.9818 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.2552, allocations: 0.827 MB / 0.9826 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.2554, allocations: 4 kB / 0.9826 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001478/0.2556, allocations: 35.7 kB / 0.9827 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003268/0.2559, allocations: 147.5 kB / 0.9828 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003364/0.2563, allocations: 121.6 kB / 0.9829 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003137/0.2566, allocations: 344.2 kB / 0.9833 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002319/0.2568, allocations: 153.6 kB / 0.9834 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.257, allocations: 151.4 kB / 0.9836 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.2572, allocations: 183.1 kB / 0.9837 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.813e-05/0.2572, allocations: 16 kB / 0.9837 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.635e-05/0.2573, allocations: 16 kB / 0.9838 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.334e-05/0.2574, allocations: 59.73 kB / 0.9838 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.154e-05/0.2574, allocations: 97.45 kB / 0.9839 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.2576, allocations: 315.3 kB / 0.9842 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.2577, allocations: 0 / 0.9842 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.946e-06/0.2577, allocations: 3.984 kB / 0.9842 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.2577, allocations: 4 kB / 0.9842 GB, free: 22.73 MB / 0.6198 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.000992/0.2587, allocations: 0.6742 MB / 0.9849 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2587, allocations: 12.02 kB / 0.9849 GB, free: 22 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.406e-05/0.2588, allocations: 70.53 kB / 0.985 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.136e-05/0.2589, allocations: 47.44 kB / 0.985 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.2592, allocations: 314.1 kB / 0.9853 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.2593, allocations: 29 kB / 0.9853 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.2593, allocations: 28 kB / 0.9854 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005251/0.2598, allocations: 384.9 kB / 0.9857 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.2598, allocations: 0 / 0.9857 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.2599, allocations: 16 kB / 0.9857 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.2599, allocations: 8 kB / 0.9857 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004655/0.2604, allocations: 282.3 kB / 0.986 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.2618, allocations: 1.46 MB / 0.9874 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004904/0.2623, allocations: 293.2 kB / 0.9877 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.2624, allocations: 8.234 kB / 0.9877 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.422e-05/0.2624, allocations: 34.8 kB / 0.9878 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 1.473e-06/0.2624, allocations: 0 / 0.9878 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.002653/0.2651, allocations: 0.8879 MB / 0.9886 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.2651, allocations: 55.41 kB / 0.9887 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.2654, allocations: 357.7 kB / 0.989 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.2654, allocations: 33.64 kB / 0.989 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.605e-05/0.2655, allocations: 216.2 kB / 0.9893 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.786e-05/0.2656, allocations: 94.64 kB / 0.9893 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.244e-05/0.2656, allocations: 4 kB / 0.9893 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.26e-05/0.2657, allocations: 354.8 kB / 0.9897 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.2659, allocations: 96.52 kB / 0.9898 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.2661, allocations: 167.9 kB / 0.9899 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002027/0.2663, allocations: 116.5 kB / 0.9901 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2663, allocations: 4.031 kB / 0.9901 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009562/0.2673, allocations: 493.5 kB / 0.9905 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.2674, allocations: 0.5293 MB / 0.991 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2674, allocations: 0 / 0.991 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007086/0.2681, allocations: 186.2 kB / 0.9912 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.2683, allocations: 43.97 kB / 0.9913 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002799/0.2711, allocations: 2.52 MB / 0.9937 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003619/0.2715, allocations: 51.58 kB / 0.9938 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.2715, allocations: 12 kB / 0.9938 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.235e-06/0.2715, allocations: 4 kB / 0.9938 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009452/0.2725, allocations: 436.2 kB / 0.9942 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.2725, allocations: 4 kB / 0.9942 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005814/0.2731, allocations: 179.2 kB / 0.9944 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.2732, allocations: 43.91 kB / 0.9944 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00244/0.2757, allocations: 2.44 MB / 0.9968 GB, free: 9.223 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000368/0.276, allocations: 51.56 kB / 0.9969 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.2761, allocations: 8 kB / 0.9969 GB, free: 9.164 MB / 0.6198 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.0001987/0.2763, allocations: 225.1 kB / 0.9971 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.748e-05/0.2763, allocations: 35.62 kB / 0.9971 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.077e-05/0.2764, allocations: 48.16 kB / 0.9972 GB, free: 8.852 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2764, allocations: 4 kB / 0.9972 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2764, allocations: 3.953 kB / 0.9972 GB, free: 8.844 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.2765, allocations: 7.922 kB / 0.9972 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004173/0.2769, allocations: 417.6 kB / 0.9976 GB, free: 8.379 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2769, allocations: 0 / 0.9976 GB, free: 8.379 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.277, allocations: 27.92 kB / 0.9976 GB, free: 8.352 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005664/0.2776, allocations: 176.6 kB / 0.9978 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.2776, allocations: 8 kB / 0.9978 GB, free: 8.168 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002375/0.28, allocations: 2.442 MB / 1 GB, free: 5.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.28, allocations: 0 / 1 GB, free: 5.59 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00095/0.281, allocations: 0.5433 MB / 1.001 GB, free: 5.027 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.2811, allocations: 140.5 kB / 1.001 GB, free: 4.871 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.855e-05/0.2811, allocations: 8 kB / 1.001 GB, free: 4.863 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/0.2814, allocations: 23.92 kB / 1.001 GB, free: 4.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.58e-05/0.2815, allocations: 27.91 kB / 1.001 GB, free: 4.812 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.2815, allocations: 8 kB / 1.001 GB, free: 4.805 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002281/0.2817, allocations: 255.2 kB / 1.001 GB, free: 4.555 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2817, allocations: 0 / 1.001 GB, free: 4.555 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007685/0.2825, allocations: 263.6 kB / 1.001 GB, free: 4.297 MB / 0.6198 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.001137/0.2837, allocations: 1.081 MB / 1.002 GB, free: 3.188 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001274/0.285, allocations: 0.7721 MB / 1.003 GB, free: 2.391 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.285, allocations: 0 / 1.003 GB, free: 2.391 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004324/0.2854, allocations: 331 kB / 1.004 GB, free: 2.055 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.2859, allocations: 89.41 kB / 1.004 GB, free: 1.969 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003618/0.2895, allocations: 2.998 MB / 1.007 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.2899, allocations: 0.8233 MB / 1.007 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001751/0.2901, allocations: 35.27 kB / 1.007 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.2902, allocations: 119.4 kB / 1.007 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of SimCode: time 9.31e-07/0.2902, allocations: 7.938 kB / 1.007 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.3156, allocations: 11.1 MB / 1.018 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/0.3158, allocations: 223.9 kB / 1.019 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.229/2.545, allocations: 0 / 1.019 GB, free: 2.809 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1)