Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.487/2.487, allocations: 287.5 MB / 302.4 MB, free: 8.238 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.001335/0.001335, allocations: 182 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.054/2.054, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0008876/0.0008876, allocations: 92.14 kB / 0.743 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006467/0.0006469, allocations: 17.17 kB / 0.8659 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.211, allocations: 115.3 MB / 0.9785 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade): time 0.003443/0.2145, allocations: 2.519 MB / 0.9809 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00162/0.2162, allocations: 0.8036 MB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/0.2164, allocations: 12 kB / 0.9817 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001595/0.2166, allocations: 31.64 kB / 0.9817 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003673/0.217, allocations: 123.1 kB / 0.9819 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004544/0.2175, allocations: 115.8 kB / 0.982 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005343/0.218, allocations: 470.9 kB / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003204/0.2183, allocations: 157.7 kB / 0.9826 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.2186, allocations: 147.4 kB / 0.9827 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003104/0.2189, allocations: 179.1 kB / 0.9829 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.288e-05/0.219, allocations: 16 kB / 0.9829 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.2191, allocations: 16 kB / 0.9829 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.373e-05/0.2192, allocations: 63.69 kB / 0.983 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.732e-05/0.2193, allocations: 105.4 kB / 0.9831 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003454/0.2196, allocations: 315.4 kB / 0.9834 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2196, allocations: 4 kB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2196, allocations: 0 / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.463e-06/0.2197, allocations: 0 / 0.9834 GB, free: 23.2 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.001448/0.2211, allocations: 0.6781 MB / 0.984 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.2212, allocations: 12.02 kB / 0.9841 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.939e-05/0.2213, allocations: 70.53 kB / 0.9841 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.966e-05/0.2214, allocations: 51.39 kB / 0.9842 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004464/0.2218, allocations: 310.2 kB / 0.9845 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/0.2219, allocations: 29 kB / 0.9845 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.348e-05/0.222, allocations: 32 kB / 0.9845 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008218/0.2228, allocations: 384.9 kB / 0.9849 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.2228, allocations: 4 kB / 0.9849 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.013e-05/0.2229, allocations: 12 kB / 0.9849 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.2229, allocations: 8 kB / 0.9849 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008011/0.2237, allocations: 278.3 kB / 0.9852 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002281/0.226, allocations: 1.479 MB / 0.9866 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007943/0.2268, allocations: 275.5 kB / 0.9869 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005735/0.2274, allocations: 186.4 kB / 0.9871 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.774e-05/0.2275, allocations: 4.234 kB / 0.9871 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.2275, allocations: 34.8 kB / 0.9871 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 2.374e-06/0.2275, allocations: 3.938 kB / 0.9871 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.004796/0.2323, allocations: 0.8923 MB / 0.988 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.2324, allocations: 55.41 kB / 0.988 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004681/0.2329, allocations: 361.7 kB / 0.9884 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.2329, allocations: 29.7 kB / 0.9884 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.2331, allocations: 216.2 kB / 0.9886 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.27e-05/0.2332, allocations: 90.66 kB / 0.9887 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.107e-05/0.2332, allocations: 4 kB / 0.9887 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.283e-05/0.2333, allocations: 346.8 kB / 0.989 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003365/0.2336, allocations: 100.5 kB / 0.9891 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003782/0.234, allocations: 171.8 kB / 0.9893 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003695/0.2344, allocations: 116.5 kB / 0.9894 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.2344, allocations: 4 kB / 0.9894 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001759/0.2362, allocations: 493.5 kB / 0.9899 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.806e-05/0.2363, allocations: 129.4 kB / 0.99 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.2363, allocations: 0 / 0.99 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001189/0.2375, allocations: 194.7 kB / 0.9902 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.2378, allocations: 35.97 kB / 0.9902 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00447/0.2423, allocations: 2.472 MB / 0.9926 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006032/0.2429, allocations: 47.58 kB / 0.9927 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/0.2429, allocations: 12 kB / 0.9927 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.243, allocations: 4 kB / 0.9927 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001639/0.2446, allocations: 432.2 kB / 0.9931 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2446, allocations: 3.938 kB / 0.9931 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/0.2457, allocations: 194.1 kB / 0.9933 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002758/0.246, allocations: 35.92 kB / 0.9933 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003935/0.2499, allocations: 2.377 MB / 0.9957 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005683/0.2505, allocations: 47.66 kB / 0.9957 GB, free: 9.984 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.2506, allocations: 8 kB / 0.9957 GB, free: 9.977 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.0002243/0.2508, allocations: 227.4 kB / 0.9959 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.467e-05/0.2509, allocations: 43.48 kB / 0.996 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.251, allocations: 48.16 kB / 0.996 GB, free: 9.656 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.251, allocations: 4 kB / 0.996 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.251, allocations: 3.984 kB / 0.996 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.2511, allocations: 0 / 0.996 GB, free: 9.648 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005612/0.2516, allocations: 413.6 kB / 0.9964 GB, free: 9.195 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.2516, allocations: 0 / 0.9964 GB, free: 9.195 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/0.2519, allocations: 23.98 kB / 0.9964 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001011/0.2529, allocations: 182.5 kB / 0.9966 GB, free: 8.992 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.2529, allocations: 7.953 kB / 0.9966 GB, free: 8.984 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003922/0.2569, allocations: 2.377 MB / 0.9989 GB, free: 6.469 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2569, allocations: 0 / 0.9989 GB, free: 6.469 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/0.2586, allocations: 0.5466 MB / 0.9995 GB, free: 5.902 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/0.2588, allocations: 136.5 kB / 0.9996 GB, free: 5.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.492e-05/0.2589, allocations: 15.95 kB / 0.9996 GB, free: 5.734 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004431/0.2593, allocations: 19.92 kB / 0.9996 GB, free: 5.715 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.2594, allocations: 27.97 kB / 0.9997 GB, free: 5.688 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.2595, allocations: 4 kB / 0.9997 GB, free: 5.684 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003297/0.2598, allocations: 259.2 kB / 0.9999 GB, free: 5.434 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2598, allocations: 0 / 0.9999 GB, free: 5.434 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009752/0.2608, allocations: 263.7 kB / 1 GB, free: 5.176 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.001899/0.2627, allocations: 1.074 MB / 1.001 GB, free: 4.074 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002022/0.2648, allocations: 0.7837 MB / 1.002 GB, free: 3.266 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2648, allocations: 4 kB / 1.002 GB, free: 3.262 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007697/0.2656, allocations: 319.2 kB / 1.002 GB, free: 2.938 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008553/0.2664, allocations: 102 kB / 1.002 GB, free: 2.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005173/0.2716, allocations: 2.241 MB / 1.005 GB, free: 0.5234 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.2721, allocations: 0.8232 MB / 1.005 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002771/0.2724, allocations: 35.27 kB / 1.005 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000232/0.2726, allocations: 119.4 kB / 1.006 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of SimCode: time 9.81e-07/0.2727, allocations: 0 / 1.006 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04354/0.3162, allocations: 11.11 MB / 1.016 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003247/0.3166, allocations: 221.6 kB / 1.017 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.867/3.183, allocations: 4 kB / 1.017 GB, free: 4.457 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.fmu > Buildings_8.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1)