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.607/1.607, allocations: 249.3 MB / 261.8 MB, free: 5.922 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.001159/0.001159, allocations: 182.5 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.592/1.592, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0009504/0.0009506, allocations: 96.3 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.801e-05/4.824e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.247, allocations: 106.3 MB / 0.8919 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.491/6.738, allocations: 2.222 GB / 3.113 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00047/6.738, allocations: 95.31 kB / 3.114 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.124/7.862, allocations: 195 MB / 3.304 GB, free: 236.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.364e-06/7.862, allocations: 3.938 kB / 3.304 GB, free: 236.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.001252/7.864, allocations: 88.05 kB / 3.304 GB, free: 236.3 MB / 0.8698 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.03407/7.898, allocations: 3.98 MB / 3.308 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/7.898, allocations: 10.16 kB / 3.308 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006168/7.899, allocations: 206.7 kB / 3.308 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02492/7.923, allocations: 0.5979 MB / 3.309 GB, free: 234 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.131/9.055, allocations: 291.6 MB / 3.593 GB, free: 227 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001452/9.055, allocations: 127.2 kB / 3.594 GB, free: 226.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005359/9.056, allocations: 168.6 kB / 3.594 GB, free: 226.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003649/9.059, allocations: 1.741 MB / 3.595 GB, free: 226.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/9.059, allocations: 3.516 kB / 3.595 GB, free: 226.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/9.06, allocations: 54.03 kB / 3.596 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/9.06, allocations: 33.44 kB / 3.596 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002842/9.062, allocations: 1.793 MB / 3.597 GB, free: 225.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4819/9.544, allocations: 258.8 MB / 3.85 GB, free: 15.65 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002733/9.547, allocations: 1.429 MB / 3.851 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009741/9.548, allocations: 0.7949 MB / 3.852 GB, free: 13.44 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001465/9.548, allocations: 33.36 kB / 3.852 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001268/9.55, allocations: 0.9093 MB / 3.853 GB, free: 12.49 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=105): time 3.857e-06/9.55, allocations: 1.688 kB / 3.853 GB, free: 12.49 MB / 0.8698 GB Notification: Performance of matching and sorting (n=105): time 0.03092/9.581, allocations: 2.162 MB / 3.855 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002172/9.581, allocations: 397.7 kB / 3.856 GB, free: 9.867 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.381/10.96, allocations: 321 MB / 4.169 GB, free: 66.11 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0007416/10.96, allocations: 63.11 kB / 4.169 GB, free: 66.05 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.00337/10.97, allocations: 2.173 MB / 4.171 GB, free: 64.17 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005381/10.97, allocations: 353.1 kB / 4.172 GB, free: 63.9 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/10.97, allocations: 36 kB / 4.172 GB, free: 63.87 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001154/10.97, allocations: 387.1 kB / 4.172 GB, free: 63.51 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00161/10.97, allocations: 1.275 MB / 4.173 GB, free: 62.34 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001626/10.97, allocations: 1.6 MB / 4.175 GB, free: 60.76 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001772/10.97, allocations: 1.599 MB / 4.176 GB, free: 59.35 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/10.97, allocations: 0 / 4.176 GB, free: 59.35 MB / 0.9011 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.0281/11, allocations: 3.786 MB / 4.18 GB, free: 55.91 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001715/11, allocations: 162.4 kB / 4.18 GB, free: 55.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/11, allocations: 8 kB / 4.18 GB, free: 55.76 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005801/11, allocations: 94.75 kB / 4.18 GB, free: 55.69 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/11, allocations: 374.4 kB / 4.181 GB, free: 55.41 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/11, allocations: 1.535 MB / 4.182 GB, free: 53.83 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02135/11.03, allocations: 0.5541 MB / 4.183 GB, free: 53.34 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007889/11.03, allocations: 115.3 kB / 4.183 GB, free: 53.25 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 () * 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.0005357/11.03, allocations: 359.9 kB / 4.183 GB, free: 52.94 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02257/11.05, allocations: 464.8 kB / 4.184 GB, free: 52.48 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00735/11.06, allocations: 2.855 MB / 4.186 GB, free: 50.03 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/11.06, allocations: 10.92 kB / 4.186 GB, free: 50.02 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/11.06, allocations: 0 / 4.186 GB, free: 50.02 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/11.06, allocations: 3.141 kB / 4.186 GB, free: 50.02 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8242/11.88, allocations: 127 MB / 4.31 GB, free: 259.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/11.88, allocations: 0.6562 kB / 4.31 GB, free: 259.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007326/11.88, allocations: 173.4 kB / 4.311 GB, free: 259.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00052/11.88, allocations: 85.55 kB / 4.311 GB, free: 259.8 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/11.88, allocations: 43.89 kB / 4.311 GB, free: 259.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001553/11.88, allocations: 1.547 MB / 4.312 GB, free: 258.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/11.88, allocations: 0 / 4.312 GB, free: 258.4 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0261/11.91, allocations: 2.58 MB / 4.315 GB, free: 257.5 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1055/12.02, allocations: 64 MB / 4.377 GB, free: 198.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02711/12.04, allocations: 45.38 kB / 4.377 GB, free: 198.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02308/12.07, allocations: 430.7 kB / 4.378 GB, free: 198.1 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006959/12.07, allocations: 86.59 kB / 4.378 GB, free: 198.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004197/12.07, allocations: 77.86 kB / 4.378 GB, free: 198 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.9316/13, allocations: 238.3 MB / 4.611 GB, free: 252.9 MB / 0.9011 GB Notification: Performance of sort global known variables: time 9.42e-07/13, allocations: 0 / 4.611 GB, free: 252.9 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.03851/13.04, allocations: 16.34 MB / 4.627 GB, free: 252.9 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) * 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.03074/13.07, allocations: 4.802 MB / 4.631 GB, free: 251.9 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.005364/13.07, allocations: 3.834 MB / 4.635 GB, free: 251.7 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/13.07, allocations: 2.625 kB / 4.635 GB, free: 251.7 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001789/13.08, allocations: 1.678 MB / 4.637 GB, free: 251.5 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02035/13.1, allocations: 0.5427 MB / 4.637 GB, free: 251.5 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04525/13.14, allocations: 9.809 MB / 4.647 GB, free: 249.9 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005264/13.15, allocations: 3.038 MB / 4.65 GB, free: 249.2 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.04511/13.19, allocations: 32.75 MB / 4.682 GB, free: 237.7 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.06041/13.25, allocations: 11.46 MB / 4.693 GB, free: 230.6 MB / 0.9011 GB Notification: Performance of SimCode: time 1.253e-06/13.25, allocations: 0 / 4.693 GB, free: 230.6 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.273/18.53, allocations: 1.544 GB / 6.237 GB, free: 43.51 MB / 1.089 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/18.53, allocations: 245.7 kB / 6.237 GB, free: 43.18 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.74/33.27, allocations: 0.5625 kB / 6.237 GB, free: 43.18 MB / 1.089 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)