Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.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.CenterOfGlass,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass",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.445/1.445, allocations: 249.5 MB / 257 MB, free: 6.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001167/0.001167, allocations: 176.8 kB / 316.3 MB, free: 3.281 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.899/1.899, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.0009194/0.0009194, allocations: 98.62 kB / 0.6714 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.836e-05/1.846e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2214, allocations: 106.3 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7624/0.9838, allocations: 148.2 MB / 1.03 GB, free: 5.434 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.9841, allocations: 97.55 kB / 1.03 GB, free: 5.379 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.09384/1.078, allocations: 33.6 MB / 1.063 GB, free: 9.809 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.593e-06/1.078, allocations: 0 / 1.063 GB, free: 9.809 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001627/1.078, allocations: 27.98 kB / 1.063 GB, free: 9.781 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.004233/1.082, allocations: 1.42 MB / 1.064 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/1.082, allocations: 8.031 kB / 1.064 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02926/1.112, allocations: 4.432 MB / 1.069 GB, free: 3.961 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003893/1.116, allocations: 1.454 MB / 1.07 GB, free: 2.824 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.661e-05/1.116, allocations: 24 kB / 1.07 GB, free: 2.801 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007425/1.117, allocations: 44 kB / 1.07 GB, free: 2.758 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003499/1.12, allocations: 1.787 MB / 1.072 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003438/1.124, allocations: 1.803 MB / 1.074 GB, free: 360 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/1.124, allocations: 0 / 1.074 GB, free: 360 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000159/1.124, allocations: 0 / 1.074 GB, free: 360 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/1.124, allocations: 19.95 kB / 1.074 GB, free: 340 kB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01218/1.136, allocations: 8.062 MB / 1.082 GB, free: 9.414 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002347/1.138, allocations: 1.705 MB / 1.083 GB, free: 8.328 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001799/1.14, allocations: 1.439 MB / 1.085 GB, free: 7.414 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001618/1.14, allocations: 49.16 kB / 1.085 GB, free: 7.375 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/1.14, allocations: 37.88 kB / 1.085 GB, free: 7.336 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 3.135e-06/1.14, allocations: 0 / 1.085 GB, free: 7.336 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.01221/1.153, allocations: 5.548 MB / 1.09 GB, free: 3.203 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/1.153, allocations: 67.86 kB / 1.09 GB, free: 3.125 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001988/1.155, allocations: 1.021 MB / 1.091 GB, free: 2.355 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003611/1.155, allocations: 25.7 kB / 1.091 GB, free: 2.324 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000625/1.156, allocations: 481.9 kB / 1.092 GB, free: 1.871 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003562/1.156, allocations: 236.5 kB / 1.092 GB, free: 1.637 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002626/1.156, allocations: 0 / 1.092 GB, free: 1.637 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001519/1.157, allocations: 330 kB / 1.092 GB, free: 1.309 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002791/1.159, allocations: 2.074 MB / 1.094 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003073/1.162, allocations: 2.233 MB / 1.096 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01265/1.175, allocations: 4.448 MB / 1.101 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.271e-05/1.175, allocations: 0 / 1.101 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0196/1.195, allocations: 8.162 MB / 1.109 GB, free: 332 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000104/1.195, allocations: 100.1 kB / 1.109 GB, free: 220 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01858/1.214, allocations: 7.205 MB / 1.116 GB, free: 9.004 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02763/1.241, allocations: 5.431 MB / 1.121 GB, free: 3.562 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005246/1.247, allocations: 0.7958 MB / 1.122 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01083/1.257, allocations: 5.249 MB / 1.127 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007684/1.265, allocations: 0.9903 MB / 1.128 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004068/1.266, allocations: 67.88 kB / 1.128 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/1.266, allocations: 4 kB / 1.128 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01886/1.284, allocations: 7.484 MB / 1.135 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01919/1.304, allocations: 6.966 MB / 1.142 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003914/1.308, allocations: 1.012 MB / 1.143 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006976/1.315, allocations: 1.057 MB / 1.144 GB, free: 11.87 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/1.326, allocations: 7 MB / 1.151 GB, free: 4.758 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007343/1.333, allocations: 0.9942 MB / 1.152 GB, free: 3.762 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003585/1.333, allocations: 59.92 kB / 1.152 GB, free: 3.703 MB / 0.7605 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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 {11 43} Notification: Performance of prepare postOptimizeDAE: time 0.0003991/1.334, allocations: 108.9 kB / 1.152 GB, free: 3.59 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01101/1.345, allocations: 5.436 MB / 1.158 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002886/1.345, allocations: 102.7 kB / 1.158 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009291/1.354, allocations: 4.724 MB / 1.162 GB, free: 9.285 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/1.354, allocations: 8 kB / 1.162 GB, free: 9.277 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/1.354, allocations: 3.938 kB / 1.162 GB, free: 9.273 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/1.354, allocations: 7.984 kB / 1.162 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01147/1.366, allocations: 6.842 MB / 1.169 GB, free: 2.215 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.04023/1.406, allocations: 7.836 MB / 1.177 GB, free: 10.36 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002606/1.409, allocations: 411.4 kB / 1.177 GB, free: 9.961 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03989/1.449, allocations: 7.436 MB / 1.184 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002874/1.449, allocations: 27.95 kB / 1.184 GB, free: 2.48 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007305/1.456, allocations: 4.138 MB / 1.188 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.919e-06/1.456, allocations: 0 / 1.188 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04085/1.497, allocations: 8.04 MB / 1.196 GB, free: 6.223 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/1.499, allocations: 0.5501 MB / 1.197 GB, free: 5.652 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002602/1.499, allocations: 0 / 1.197 GB, free: 5.652 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004323/1.503, allocations: 0.6201 MB / 1.197 GB, free: 5.031 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/1.504, allocations: 40.72 kB / 1.197 GB, free: 4.992 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/1.504, allocations: 47.94 kB / 1.197 GB, free: 4.945 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001159/1.505, allocations: 0.7814 MB / 1.198 GB, free: 4.152 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.41e-07/1.505, allocations: 0 / 1.198 GB, free: 4.152 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002365/1.507, allocations: 0.7683 MB / 1.199 GB, free: 3.383 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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 {11 51} Notification: Performance of Backend phase and start with SimCode phase: time 0.008154/1.515, allocations: 4.696 MB / 1.203 GB, free: 14.65 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01026/1.526, allocations: 5.975 MB / 1.209 GB, free: 8.652 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.526, allocations: 0 / 1.209 GB, free: 8.652 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002842/1.529, allocations: 1.512 MB / 1.211 GB, free: 7.141 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/1.53, allocations: 215.1 kB / 1.211 GB, free: 6.934 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005726/1.536, allocations: 2.968 MB / 1.214 GB, free: 3.91 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008523/1.537, allocations: 1.327 MB / 1.215 GB, free: 2.551 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003957/1.541, allocations: 0.9667 MB / 1.216 GB, free: 1.578 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009783/1.542, allocations: 423.2 kB / 1.217 GB, free: 1.164 MB / 0.823 GB Notification: Performance of SimCode: time 1.082e-06/1.542, allocations: 0 / 1.217 GB, free: 1.164 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5427/2.084, allocations: 72.14 MB / 1.287 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001521/2.085, allocations: 161.1 kB / 1.287 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.946/7.031, allocations: 4 kB / 1.287 GB, free: 277.3 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe 2>&1)