Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004544/0.004544, allocations: 99.64 kB / 15.73 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001096, allocations: 186.2 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.675/1.675, allocations: 205.1 MB / 222.6 MB, free: 4.387 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6457/0.6457, allocations: 95.48 MB / 365.4 MB, free: 9.703 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0025/0.0025, allocations: 72.53 kB / 0.5036 GB, free: 13.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1786, allocations: 69.09 MB / 0.5711 GB, free: 8.273 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade): time 0.005625/0.1843, allocations: 2.96 MB / 0.574 GB, free: 5.297 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002159/0.1865, allocations: 0.8343 MB / 0.5748 GB, free: 4.453 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004762/0.187, allocations: 7.938 kB / 0.5748 GB, free: 4.445 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003182/0.1873, allocations: 55.38 kB / 0.5749 GB, free: 4.391 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006091/0.188, allocations: 134.8 kB / 0.575 GB, free: 4.258 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005743/0.1886, allocations: 163.7 kB / 0.5752 GB, free: 4.098 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009003/0.1895, allocations: 0.5027 MB / 0.5757 GB, free: 3.594 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004968/0.19, allocations: 214.2 kB / 0.5759 GB, free: 3.371 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004067/0.1904, allocations: 187.3 kB / 0.576 GB, free: 3.188 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005052/0.1909, allocations: 218.9 kB / 0.5763 GB, free: 2.973 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.191, allocations: 40 kB / 0.5763 GB, free: 2.934 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.1912, allocations: 36 kB / 0.5763 GB, free: 2.898 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.1913, allocations: 95.66 kB / 0.5764 GB, free: 2.805 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002981/0.1916, allocations: 218.8 kB / 0.5766 GB, free: 2.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006472/0.1923, allocations: 450.2 kB / 0.5771 GB, free: 2.148 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1923, allocations: 7.938 kB / 0.5771 GB, free: 2.141 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1923, allocations: 0 / 0.5771 GB, free: 2.141 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.392e-05/0.1923, allocations: 0 / 0.5771 GB, free: 2.141 MB / 446.1 MB 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.194, allocations: 0.7367 MB / 0.5778 GB, free: 1.355 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.194, allocations: 15.92 kB / 0.5778 GB, free: 1.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.1942, allocations: 48.38 kB / 0.5778 GB, free: 1.293 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004583/0.1946, allocations: 327.2 kB / 0.5782 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.1947, allocations: 25.38 kB / 0.5782 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.826e-05/0.1947, allocations: 32.38 kB / 0.5782 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006459/0.1954, allocations: 389.2 kB / 0.5786 GB, free: 492 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1954, allocations: 0 / 0.5786 GB, free: 492 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.1954, allocations: 12 kB / 0.5786 GB, free: 480 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.1955, allocations: 8 kB / 0.5786 GB, free: 472 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005446/0.196, allocations: 270.4 kB / 0.5789 GB, free: 204 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002197/0.1982, allocations: 1.444 MB / 0.5803 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005835/0.1988, allocations: 287.4 kB / 0.5805 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003897/0.1992, allocations: 177.2 kB / 0.5807 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.699e-05/0.1993, allocations: 4.234 kB / 0.5807 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.1993, allocations: 38.73 kB / 0.5808 GB, free: 14.15 MB / 462.1 MB Notification: Performance of pre-optimization done (n=27): time 1.442e-06/0.1993, allocations: 0 / 0.5808 GB, free: 14.15 MB / 462.1 MB Notification: Performance of matching and sorting (n=27): time 0.002951/0.2023, allocations: 0.8789 MB / 0.5816 GB, free: 13.25 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.2023, allocations: 55.39 kB / 0.5817 GB, free: 13.18 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000383/0.2027, allocations: 365.7 kB / 0.582 GB, free: 12.81 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.2027, allocations: 33.7 kB / 0.582 GB, free: 12.77 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.2029, allocations: 212.2 kB / 0.5822 GB, free: 12.56 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.815e-05/0.203, allocations: 90.66 kB / 0.5823 GB, free: 12.47 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.039e-05/0.2031, allocations: 53.98 kB / 0.5824 GB, free: 12.41 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.2032, allocations: 350.8 kB / 0.5827 GB, free: 12.06 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.2035, allocations: 93.94 kB / 0.5828 GB, free: 11.97 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.2037, allocations: 167.9 kB / 0.583 GB, free: 11.78 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004513/0.2042, allocations: 257 kB / 0.5832 GB, free: 11.51 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2042, allocations: 0 / 0.5832 GB, free: 11.51 MB / 462.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001142/0.2054, allocations: 497.4 kB / 0.5837 GB, free: 11.02 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.2054, allocations: 4 kB / 0.5837 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.2054, allocations: 4.156 kB / 0.5837 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007716/0.2062, allocations: 180.7 kB / 0.5839 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.2064, allocations: 43.91 kB / 0.5839 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003545/0.2099, allocations: 2.649 MB / 0.5865 GB, free: 8.008 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003281/0.2103, allocations: 47.66 kB / 0.5865 GB, free: 7.961 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.2103, allocations: 8 kB / 0.5865 GB, free: 7.953 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003314/0.2106, allocations: 204.3 kB / 0.5867 GB, free: 7.75 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002477/0.2109, allocations: 159.4 kB / 0.5869 GB, free: 7.57 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004274/0.2113, allocations: 257.2 kB / 0.5871 GB, free: 7.301 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.362e-06/0.2113, allocations: 0 / 0.5871 GB, free: 7.301 MB / 462.1 MB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.001104/0.2124, allocations: 493.4 kB / 0.5876 GB, free: 6.809 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.2125, allocations: 4 kB / 0.5876 GB, free: 6.805 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.574e-06/0.2125, allocations: 8.094 kB / 0.5876 GB, free: 6.797 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000627/0.2131, allocations: 191.7 kB / 0.5878 GB, free: 6.609 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.2133, allocations: 39.92 kB / 0.5878 GB, free: 6.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003154/0.2164, allocations: 2.566 MB / 0.5903 GB, free: 3.863 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003372/0.2168, allocations: 31.8 kB / 0.5904 GB, free: 3.832 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.2168, allocations: 16 kB / 0.5904 GB, free: 3.816 MB / 462.1 MB 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.0001725/0.217, allocations: 200.1 kB / 0.5906 GB, free: 3.613 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.418e-05/0.2171, allocations: 35.53 kB / 0.5906 GB, free: 3.578 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.877e-05/0.2172, allocations: 56.14 kB / 0.5907 GB, free: 3.523 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.2172, allocations: 4 kB / 0.5907 GB, free: 3.52 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2172, allocations: 0 / 0.5907 GB, free: 3.52 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2172, allocations: 0 / 0.5907 GB, free: 3.52 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005039/0.2177, allocations: 409.6 kB / 0.5911 GB, free: 3.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2177, allocations: 4 kB / 0.5911 GB, free: 3.066 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.2178, allocations: 23.98 kB / 0.5911 GB, free: 3.043 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006185/0.2185, allocations: 176.7 kB / 0.5913 GB, free: 2.867 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.2185, allocations: 4 kB / 0.5913 GB, free: 2.863 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003135/0.2216, allocations: 2.573 MB / 0.5938 GB, free: 152 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.2217, allocations: 8.031 kB / 0.5938 GB, free: 144 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.2228, allocations: 0.5316 MB / 0.5943 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.2229, allocations: 136.5 kB / 0.5944 GB, free: 15.44 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.131e-05/0.223, allocations: 11.94 kB / 0.5944 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.2232, allocations: 19.89 kB / 0.5945 GB, free: 15.41 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.498e-05/0.2233, allocations: 19.97 kB / 0.5945 GB, free: 15.39 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.2233, allocations: 11.94 kB / 0.5945 GB, free: 15.38 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002814/0.2236, allocations: 259.2 kB / 0.5947 GB, free: 15.12 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2236, allocations: 0 / 0.5947 GB, free: 15.12 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007372/0.2243, allocations: 247.7 kB / 0.595 GB, free: 14.88 MB / 478.1 MB 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.000167/0.2245, allocations: 107.2 kB / 0.5951 GB, free: 14.77 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001484/0.226, allocations: 0.7748 MB / 0.5958 GB, free: 13.96 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.226, allocations: 3.938 kB / 0.5958 GB, free: 13.96 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004986/0.2265, allocations: 330.5 kB / 0.5962 GB, free: 13.62 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005361/0.2271, allocations: 97.38 kB / 0.5963 GB, free: 13.53 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.2283, allocations: 0.6453 MB / 0.5969 GB, free: 12.86 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.2288, allocations: 0.8114 MB / 0.5977 GB, free: 12.02 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001431/0.2289, allocations: 39.25 kB / 0.5977 GB, free: 11.98 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.315e-05/0.229, allocations: 23.44 kB / 0.5977 GB, free: 11.95 MB / 478.1 MB Notification: Performance of SimCode: time 6.42e-07/0.229, allocations: 0 / 0.5977 GB, free: 11.95 MB / 478.1 MB Notification: Performance of Templates: time 0.01641/0.2454, allocations: 9.062 MB / 0.6066 GB, free: 2.984 MB / 478.1 MB make -j1 -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.makefile (rm -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & ./Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1)