Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007281/0.0007281, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004766/0.004766, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.331/1.331, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.686/1.686, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.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: Performance of FrontEnd - loaded program: time 0.0004993/0.0004994, allocations: 14.31 kB / 0.6744 GB, free: 25.76 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2014, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection): time 0.001843/0.2033, allocations: 1.566 MB / 0.7895 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.2044, allocations: 0.7412 MB / 0.7903 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.559e-05/0.2045, allocations: 0 / 0.7903 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.908e-05/0.2045, allocations: 7.922 kB / 0.7903 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001959/0.2047, allocations: 43.7 kB / 0.7903 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001531/0.2049, allocations: 59.81 kB / 0.7904 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.2051, allocations: 127.4 kB / 0.7905 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.2052, allocations: 37.66 kB / 0.7905 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.3e-05/0.2053, allocations: 35.86 kB / 0.7906 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.2054, allocations: 47.83 kB / 0.7906 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.2055, allocations: 4 kB / 0.7906 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.055e-05/0.2055, allocations: 15.94 kB / 0.7906 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.967e-05/0.2056, allocations: 15.98 kB / 0.7906 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.041e-05/0.2056, allocations: 69.44 kB / 0.7907 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.2058, allocations: 111.5 kB / 0.7908 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.2058, allocations: 4 kB / 0.7908 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2058, allocations: 0 / 0.7908 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.2058, allocations: 0 / 0.7908 GB, free: 8.582 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004788/0.2063, allocations: 403.1 kB / 0.7912 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.2063, allocations: 12.03 kB / 0.7912 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.808e-05/0.2064, allocations: 34.75 kB / 0.7912 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.2064, allocations: 16.84 kB / 0.7913 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.2066, allocations: 188.2 kB / 0.7914 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.2066, allocations: 8.375 kB / 0.7914 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.2066, allocations: 16.25 kB / 0.7915 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.2068, allocations: 112.4 kB / 0.7916 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.2069, allocations: 0 / 0.7916 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.2069, allocations: 4 kB / 0.7916 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.2069, allocations: 4 kB / 0.7916 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002114/0.2071, allocations: 71.95 kB / 0.7916 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00044/0.2076, allocations: 376.6 kB / 0.792 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.2078, allocations: 62.55 kB / 0.7921 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.517e-05/0.2079, allocations: 28.84 kB / 0.7921 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.2079, allocations: 4 kB / 0.7921 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.2079, allocations: 34.5 kB / 0.7921 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2079, allocations: 0 / 0.7921 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003526/0.2083, allocations: 113.5 kB / 0.7922 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.2083, allocations: 55.39 kB / 0.7923 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.2085, allocations: 150.5 kB / 0.7924 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.2085, allocations: 29.7 kB / 0.7925 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/0.2085, allocations: 104 kB / 0.7926 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.257e-05/0.2086, allocations: 7.906 kB / 0.7926 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.317e-05/0.2086, allocations: 17.64 kB / 0.7926 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.112e-05/0.2087, allocations: 322.8 kB / 0.7929 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.653e-05/0.2088, allocations: 27.97 kB / 0.7929 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.25e-05/0.2089, allocations: 24.17 kB / 0.7929 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.209, allocations: 64.89 kB / 0.793 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2091, allocations: 0 / 0.793 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002262/0.2093, allocations: 93.56 kB / 0.7931 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.264e-05/0.2093, allocations: 96.94 kB / 0.7932 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.2094, allocations: 0 / 0.7932 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.426e-06/0.2094, allocations: 0 / 0.7932 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.89e-05/0.2094, allocations: 19.92 kB / 0.7932 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.2095, allocations: 0 / 0.7932 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.741e-05/0.2095, allocations: 23.83 kB / 0.7932 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.2096, allocations: 4 kB / 0.7932 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.53e-06/0.2096, allocations: 4 kB / 0.7932 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001751/0.2097, allocations: 55.95 kB / 0.7933 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-06/0.2098, allocations: 0 / 0.7933 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-06/0.2098, allocations: 0 / 0.7933 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.638e-05/0.2098, allocations: 19.94 kB / 0.7933 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-06/0.2098, allocations: 3.938 kB / 0.7933 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.23e-05/0.2099, allocations: 11.98 kB / 0.7933 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-06/0.2099, allocations: 0 / 0.7933 GB, free: 5.773 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.019e-05/0.21, allocations: 189.1 kB / 0.7935 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.21, allocations: 11.84 kB / 0.7935 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002422/0.2103, allocations: 105.8 kB / 0.7936 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2103, allocations: 0 / 0.7936 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2103, allocations: 4 kB / 0.7936 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2103, allocations: 4 kB / 0.7936 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.2105, allocations: 189.5 kB / 0.7938 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.2105, allocations: 0 / 0.7938 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.121e-05/0.2106, allocations: 15.98 kB / 0.7938 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2106, allocations: 0 / 0.7938 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.2106, allocations: 3.938 kB / 0.7938 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.2106, allocations: 4 kB / 0.7938 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2106, allocations: 0 / 0.7938 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.2108, allocations: 187.4 kB / 0.794 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.065e-05/0.2109, allocations: 89 kB / 0.7941 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.2109, allocations: 3.938 kB / 0.7941 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.213e-05/0.211, allocations: 11.98 kB / 0.7941 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.741e-05/0.2111, allocations: 0 / 0.7941 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.2111, allocations: 0 / 0.7941 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.523e-05/0.2111, allocations: 129.7 kB / 0.7942 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2112, allocations: 0 / 0.7942 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002907/0.2114, allocations: 31.94 kB / 0.7943 GB, free: 4.707 MB / 0.6075 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004904/0.2119, allocations: 0.7204 MB / 0.795 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000296/0.2122, allocations: 95.86 kB / 0.7951 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2123, allocations: 0 / 0.7951 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.029e-05/0.2124, allocations: 35.91 kB / 0.7951 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.2127, allocations: 19.98 kB / 0.7951 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.2143, allocations: 1.612 MB / 0.7967 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.2145, allocations: 0.7004 MB / 0.7974 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.825e-05/0.2145, allocations: 4.438 kB / 0.7974 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.073e-05/0.2146, allocations: 27.42 kB / 0.7974 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2146, allocations: 0 / 0.7974 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.679/1.894, allocations: 2.351 MB / 0.7997 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002337/1.894, allocations: 231.6 kB / 0.7999 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/3.441, allocations: 0 / 0.7999 GB, free: 14.94 MB / 0.6231 GB (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection.fmu > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe 2>&1)