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.42/1.42, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001162/0.001163, allocations: 179.5 kB / 326.5 MB, free: 2.227 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.597/1.597, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0009448/0.0009448, allocations: 94.36 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003173/0.0003173, allocations: 9.219 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1975, allocations: 106.4 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1723/0.3699, allocations: 137.2 MB / 1.034 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.3702, allocations: 83.95 kB / 1.034 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01944/0.3896, allocations: 6.674 MB / 1.041 GB, free: 15.63 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3897, allocations: 4 kB / 1.041 GB, free: 15.62 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.51e-05/0.3897, allocations: 15.92 kB / 1.041 GB, free: 15.61 MB / 0.698 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.001047/0.3907, allocations: 0.6764 MB / 1.041 GB, free: 14.89 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.3908, allocations: 12.03 kB / 1.041 GB, free: 14.88 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.321e-05/0.3909, allocations: 70.53 kB / 1.041 GB, free: 14.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.134e-05/0.391, allocations: 55.39 kB / 1.042 GB, free: 14.74 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004225/0.3914, allocations: 323.1 kB / 1.042 GB, free: 14.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.3914, allocations: 25 kB / 1.042 GB, free: 14.36 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.299e-05/0.3915, allocations: 32 kB / 1.042 GB, free: 14.33 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006039/0.3921, allocations: 380.9 kB / 1.042 GB, free: 13.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.3921, allocations: 3.938 kB / 1.042 GB, free: 13.92 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.353e-05/0.3922, allocations: 23.94 kB / 1.042 GB, free: 13.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.3922, allocations: 8 kB / 1.042 GB, free: 13.89 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005426/0.3927, allocations: 274.4 kB / 1.043 GB, free: 13.62 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001861/0.3946, allocations: 1.464 MB / 1.044 GB, free: 12.07 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005786/0.3952, allocations: 289.4 kB / 1.044 GB, free: 11.79 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.574e-05/0.3952, allocations: 8.219 kB / 1.044 GB, free: 11.78 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.3953, allocations: 34.8 kB / 1.044 GB, free: 11.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=27): time 1.573e-06/0.3953, allocations: 0 / 1.044 GB, free: 11.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=27): time 0.00338/0.3987, allocations: 0.9374 MB / 1.045 GB, free: 10.77 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.3987, allocations: 59.39 kB / 1.045 GB, free: 10.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000356/0.3991, allocations: 320.8 kB / 1.046 GB, free: 10.38 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.3991, allocations: 33.7 kB / 1.046 GB, free: 10.34 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.3993, allocations: 216.2 kB / 1.046 GB, free: 10.13 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.254e-05/0.3993, allocations: 94.67 kB / 1.046 GB, free: 10.04 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.481e-05/0.3994, allocations: 4 kB / 1.046 GB, free: 10.03 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.3995, allocations: 346.8 kB / 1.046 GB, free: 9.684 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/0.3997, allocations: 100.5 kB / 1.046 GB, free: 9.582 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.4, allocations: 167.9 kB / 1.047 GB, free: 9.395 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002389/0.4002, allocations: 115.9 kB / 1.047 GB, free: 9.281 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4002, allocations: 0 / 1.047 GB, free: 9.281 MB / 0.698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001137/0.4014, allocations: 494 kB / 1.047 GB, free: 8.789 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002319/0.4016, allocations: 0.5319 MB / 1.048 GB, free: 8.219 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.4016, allocations: 4 kB / 1.048 GB, free: 8.215 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007645/0.4024, allocations: 180.6 kB / 1.048 GB, free: 8.035 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.4026, allocations: 39.92 kB / 1.048 GB, free: 7.996 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007921/0.4034, allocations: 0.7943 MB / 1.049 GB, free: 7.176 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003584/0.4038, allocations: 51.61 kB / 1.049 GB, free: 7.125 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.4038, allocations: 4 kB / 1.049 GB, free: 7.121 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.4038, allocations: 4 kB / 1.049 GB, free: 7.117 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00108/0.4049, allocations: 440.3 kB / 1.049 GB, free: 6.684 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4049, allocations: 4 kB / 1.049 GB, free: 6.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006469/0.4056, allocations: 186.9 kB / 1.049 GB, free: 6.496 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.4058, allocations: 40.11 kB / 1.049 GB, free: 6.457 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002984/0.4088, allocations: 2.427 MB / 1.052 GB, free: 3.902 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003623/0.4091, allocations: 47.67 kB / 1.052 GB, free: 3.855 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.4092, allocations: 8 kB / 1.052 GB, free: 3.848 MB / 0.698 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.0002204/0.4094, allocations: 221.1 kB / 1.052 GB, free: 3.621 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.283e-05/0.4095, allocations: 43.48 kB / 1.052 GB, free: 3.578 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.4096, allocations: 48.16 kB / 1.052 GB, free: 3.523 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.4096, allocations: 4 kB / 1.052 GB, free: 3.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.4096, allocations: 0 / 1.052 GB, free: 3.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4096, allocations: 4 kB / 1.052 GB, free: 3.516 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004915/0.4101, allocations: 413.6 kB / 1.052 GB, free: 3.062 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.4101, allocations: 4 kB / 1.052 GB, free: 3.059 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.4103, allocations: 27.92 kB / 1.052 GB, free: 3.031 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006611/0.4109, allocations: 179 kB / 1.053 GB, free: 2.855 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.411, allocations: 8 kB / 1.053 GB, free: 2.848 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00305/0.414, allocations: 2.431 MB / 1.055 GB, free: 288 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.414, allocations: 0 / 1.055 GB, free: 288 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3927/0.8067, allocations: 0.5421 MB / 1.056 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002448/0.807, allocations: 126.9 kB / 1.056 GB, free: 149.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.989e-05/0.8071, allocations: 7.578 kB / 1.056 GB, free: 149.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003012/0.8074, allocations: 25.06 kB / 1.056 GB, free: 149.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.8075, allocations: 26.48 kB / 1.056 GB, free: 149.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.8075, allocations: 7.156 kB / 1.056 GB, free: 149.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003213/0.8078, allocations: 259.8 kB / 1.056 GB, free: 149.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8079, allocations: 0 / 1.056 GB, free: 149.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007767/0.8086, allocations: 217.6 kB / 1.056 GB, free: 149.4 MB / 0.698 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.001497/0.8101, allocations: 1.087 MB / 1.057 GB, free: 148.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001206/0.8114, allocations: 0.6207 MB / 1.058 GB, free: 148.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8114, allocations: 0 / 1.058 GB, free: 148.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004596/0.8118, allocations: 333.4 kB / 1.058 GB, free: 148.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.8123, allocations: 90.08 kB / 1.058 GB, free: 148.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003384/0.8157, allocations: 3.003 MB / 1.061 GB, free: 146.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.816, allocations: 0.8133 MB / 1.062 GB, free: 146.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001803/0.8161, allocations: 36 kB / 1.062 GB, free: 146.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.8163, allocations: 113.4 kB / 1.062 GB, free: 146.2 MB / 0.698 GB Notification: Performance of SimCode: time 4.61e-07/0.8163, allocations: 2.812 kB / 1.062 GB, free: 146.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02819/0.8445, allocations: 10.51 MB / 1.072 GB, free: 145.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/0.8447, allocations: 235.7 kB / 1.073 GB, free: 145.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.273/3.118, allocations: 0 / 1.073 GB, free: 145.4 MB / 0.698 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)