Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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.WindowRadiation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",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.482/1.482, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001328/0.001328, allocations: 179.4 kB / 326.5 MB, free: 2.242 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.718/1.718, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.001004/0.001003, allocations: 97.97 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003365/0.0003366, allocations: 12.12 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2486, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.235/5.484, allocations: 2.222 GB / 3.122 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/5.484, allocations: 102.7 kB / 3.122 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.4491/5.933, allocations: 195.3 MB / 3.313 GB, free: 105.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.015e-06/5.933, allocations: 3.938 kB / 3.313 GB, free: 105.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0009225/5.934, allocations: 84 kB / 3.313 GB, free: 105.7 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 342 * Number of variables: 342 Notification: Performance of Generate backend data structure: time 0.1633/6.097, allocations: 69.58 MB / 3.381 GB, free: 36.05 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/6.098, allocations: 8.031 kB / 3.381 GB, free: 36.04 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008276/6.098, allocations: 206.5 kB / 3.381 GB, free: 35.83 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02174/6.12, allocations: 0.6104 MB / 3.381 GB, free: 35.21 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8748/6.995, allocations: 292.8 MB / 3.667 GB, free: 61.54 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/6.995, allocations: 127.5 kB / 3.667 GB, free: 61.41 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002643/6.995, allocations: 172 kB / 3.668 GB, free: 61.25 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002702/6.998, allocations: 1.772 MB / 3.669 GB, free: 59.71 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/6.998, allocations: 2.188 kB / 3.669 GB, free: 59.71 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/6.998, allocations: 57.55 kB / 3.669 GB, free: 59.66 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/6.998, allocations: 34.62 kB / 3.669 GB, free: 59.63 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002341/7.001, allocations: 1.847 MB / 3.671 GB, free: 58.15 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.053/8.053, allocations: 258.8 MB / 3.924 GB, free: 162.8 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002587/8.056, allocations: 1.47 MB / 3.925 GB, free: 161.5 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/8.056, allocations: 37.94 kB / 3.925 GB, free: 161.5 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001177/8.057, allocations: 0.9384 MB / 3.926 GB, free: 160.7 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=105): time 5.661e-06/8.057, allocations: 0.8438 kB / 3.926 GB, free: 160.7 MB / 0.9011 GB Notification: Performance of matching and sorting (n=105): time 0.02609/8.083, allocations: 3.136 MB / 3.929 GB, free: 158.1 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001749/8.084, allocations: 389.2 kB / 3.93 GB, free: 157.7 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.256/9.339, allocations: 324 MB / 4.246 GB, free: 176.8 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0006467/9.34, allocations: 66.58 kB / 4.246 GB, free: 176.7 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.002805/9.343, allocations: 2.166 MB / 4.248 GB, free: 174.9 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004757/9.343, allocations: 356.9 kB / 4.249 GB, free: 174.7 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/9.344, allocations: 32.5 kB / 4.249 GB, free: 174.7 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000114/9.344, allocations: 389.3 kB / 4.249 GB, free: 174.3 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001698/9.345, allocations: 1.304 MB / 4.25 GB, free: 173.2 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001806/9.347, allocations: 1.63 MB / 4.252 GB, free: 171.6 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001836/9.349, allocations: 1.62 MB / 4.254 GB, free: 170.2 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/9.349, allocations: 4 kB / 4.254 GB, free: 170.2 MB / 0.9011 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.02726/9.376, allocations: 3.839 MB / 4.257 GB, free: 166.7 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001606/9.377, allocations: 170.3 kB / 4.257 GB, free: 166.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/9.377, allocations: 8.188 kB / 4.257 GB, free: 166.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006492/9.377, allocations: 97.94 kB / 4.258 GB, free: 166.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/9.379, allocations: 372.2 kB / 4.258 GB, free: 166.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/9.381, allocations: 1.549 MB / 4.259 GB, free: 164.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0195/9.4, allocations: 0.5548 MB / 4.26 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005315/9.401, allocations: 114.6 kB / 4.26 GB, free: 164 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (213): * Single equations (assignments): 211 * Array equations: 0 * Algorithm blocks: 1 * 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 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.003672/9.404, allocations: 2.136 MB / 4.262 GB, free: 162.1 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0198/9.424, allocations: 462.1 kB / 4.263 GB, free: 161.6 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005926/9.43, allocations: 2.905 MB / 4.265 GB, free: 159.2 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/9.43, allocations: 10.34 kB / 4.265 GB, free: 159.1 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/9.43, allocations: 6.656 kB / 4.265 GB, free: 159.1 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/9.43, allocations: 6.984 kB / 4.265 GB, free: 159.1 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2264/9.657, allocations: 127 MB / 4.39 GB, free: 54.04 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/9.657, allocations: 0 / 4.39 GB, free: 54.04 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001156/9.658, allocations: 173.4 kB / 4.39 GB, free: 53.88 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000724/9.659, allocations: 81.22 kB / 4.39 GB, free: 53.8 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001578/9.659, allocations: 49.56 kB / 4.39 GB, free: 53.75 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002307/9.661, allocations: 1.558 MB / 4.391 GB, free: 52.08 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/9.661, allocations: 3.953 kB / 4.391 GB, free: 52.07 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03924/9.7, allocations: 2.624 MB / 4.394 GB, free: 49.43 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.66/10.36, allocations: 64 MB / 4.456 GB, free: 229.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02583/10.39, allocations: 42.91 kB / 4.456 GB, free: 229.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02154/10.41, allocations: 428.3 kB / 4.457 GB, free: 229.5 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005613/10.41, allocations: 84.41 kB / 4.457 GB, free: 229.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002319/10.41, allocations: 87.47 kB / 4.457 GB, free: 229.5 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.2617/10.67, allocations: 236.5 MB / 4.688 GB, free: 81.41 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7.61e-07/10.67, allocations: 0 / 4.688 GB, free: 81.41 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.03399/10.7, allocations: 16.35 MB / 4.704 GB, free: 65.3 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.02702/10.73, allocations: 4.834 MB / 4.709 GB, free: 61.75 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.004524/10.74, allocations: 3.895 MB / 4.712 GB, free: 58.21 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/10.74, allocations: 4 kB / 4.712 GB, free: 58.21 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001627/10.74, allocations: 1.692 MB / 4.714 GB, free: 56.67 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01924/10.76, allocations: 0.5386 MB / 4.715 GB, free: 56.21 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04138/10.8, allocations: 17.68 MB / 4.732 GB, free: 39.57 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002577/10.8, allocations: 3.053 MB / 4.735 GB, free: 37.23 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.03938/10.84, allocations: 32.74 MB / 4.767 GB, free: 4.988 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.06892/10.91, allocations: 12.51 MB / 4.779 GB, free: 0 / 0.9011 GB Notification: Performance of SimCode: time 1.323e-06/10.91, allocations: 336 / 4.779 GB, free: 0 / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.865/15.77, allocations: 1.541 GB / 6.32 GB, free: 118.8 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002328/15.77, allocations: 279.9 kB / 6.32 GB, free: 118.4 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.44/30.22, allocations: 0 / 6.32 GB, free: 118.4 MB / 1.12 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)