Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.235/2.235, allocations: 390.3 MB / 405.3 MB, free: 13.53 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001125, allocations: 180 kB / 498.1 MB, free: 5.73 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 223.2 MB / 0.7948 GB, free: 17.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 104.2 kB / 0.9346 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004049/0.0004048, allocations: 10.28 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2948, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.176/4.471, allocations: 1.763 GB / 2.986 GB, free: 221.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/4.472, allocations: 104.8 kB / 2.986 GB, free: 221.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.4431/4.915, allocations: 198.2 MB / 3.179 GB, free: 35.48 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.174e-06/4.915, allocations: 0 / 3.179 GB, free: 35.48 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0007703/4.915, allocations: 87.88 kB / 3.179 GB, free: 35.39 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.6653/5.581, allocations: 69.61 MB / 3.247 GB, free: 329.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/5.581, allocations: 10.78 kB / 3.247 GB, free: 329.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008908/5.582, allocations: 205.5 kB / 3.247 GB, free: 329.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0205/5.602, allocations: 0.6067 MB / 3.248 GB, free: 329.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3419/5.944, allocations: 292.8 MB / 3.534 GB, free: 104.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002157/5.945, allocations: 133.9 kB / 3.534 GB, free: 104.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008309/5.945, allocations: 175.4 kB / 3.534 GB, free: 104.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003874/5.949, allocations: 1.795 MB / 3.536 GB, free: 103.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.233e-05/5.949, allocations: 0 / 3.536 GB, free: 103.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002125/5.95, allocations: 60 kB / 3.536 GB, free: 103 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.979e-05/5.95, allocations: 34.72 kB / 3.536 GB, free: 103 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002784/5.952, allocations: 1.875 MB / 3.538 GB, free: 101.5 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.047/7, allocations: 259 MB / 3.791 GB, free: 281.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002587/7.002, allocations: 1.461 MB / 3.792 GB, free: 280 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/7.002, allocations: 40.89 kB / 3.792 GB, free: 280 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001197/7.004, allocations: 0.9316 MB / 3.793 GB, free: 279.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=105): time 4.599e-06/7.004, allocations: 0 / 3.793 GB, free: 279.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=105): time 0.02458/7.028, allocations: 3.138 MB / 3.796 GB, free: 276.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001741/7.028, allocations: 400 kB / 3.797 GB, free: 276.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.157/8.186, allocations: 322.2 MB / 4.111 GB, free: 316.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005691/8.186, allocations: 63.16 kB / 4.111 GB, free: 316.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002848/8.189, allocations: 2.166 MB / 4.113 GB, free: 316.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004744/8.19, allocations: 348.3 kB / 4.114 GB, free: 316 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/8.19, allocations: 35.84 kB / 4.114 GB, free: 316 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001323/8.19, allocations: 393 kB / 4.114 GB, free: 315.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001798/8.192, allocations: 1.304 MB / 4.116 GB, free: 315.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001815/8.194, allocations: 1.627 MB / 4.117 GB, free: 315.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002204/8.196, allocations: 1.623 MB / 4.119 GB, free: 315.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/8.196, allocations: 0 / 4.119 GB, free: 315.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.02721/8.223, allocations: 3.847 MB / 4.122 GB, free: 314.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001855/8.223, allocations: 173.4 kB / 4.123 GB, free: 314.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/8.223, allocations: 3.656 kB / 4.123 GB, free: 314.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006654/8.224, allocations: 93 kB / 4.123 GB, free: 314.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001656/8.226, allocations: 374.6 kB / 4.123 GB, free: 314.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/8.227, allocations: 1.539 MB / 4.125 GB, free: 313.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01898/8.246, allocations: 0.5587 MB / 4.125 GB, free: 313.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006982/8.247, allocations: 116.8 kB / 4.125 GB, free: 313.6 MB / 1.167 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.003966/8.251, allocations: 2.142 MB / 4.127 GB, free: 313.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02026/8.271, allocations: 471.6 kB / 4.128 GB, free: 313.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00685/8.278, allocations: 2.907 MB / 4.131 GB, free: 313 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/8.278, allocations: 9.781 kB / 4.131 GB, free: 313 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/8.278, allocations: 3.781 kB / 4.131 GB, free: 313 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/8.278, allocations: 7.219 kB / 4.131 GB, free: 313 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1937/8.472, allocations: 127 MB / 4.255 GB, free: 274.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/8.472, allocations: 0 / 4.255 GB, free: 274.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007202/8.473, allocations: 176.2 kB / 4.255 GB, free: 274 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005298/8.473, allocations: 87.17 kB / 4.255 GB, free: 273.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.834e-05/8.473, allocations: 40.11 kB / 4.255 GB, free: 273.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001642/8.475, allocations: 1.567 MB / 4.256 GB, free: 272.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/8.475, allocations: 3.75 kB / 4.256 GB, free: 272.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02428/8.499, allocations: 2.63 MB / 4.259 GB, free: 269.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1236/8.623, allocations: 64.01 MB / 4.322 GB, free: 208.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02506/8.648, allocations: 36 kB / 4.322 GB, free: 208.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02103/8.669, allocations: 434.9 kB / 4.322 GB, free: 207.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004805/8.67, allocations: 85.38 kB / 4.322 GB, free: 207.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003155/8.67, allocations: 87.03 kB / 4.322 GB, free: 207.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.9709/9.641, allocations: 236.5 MB / 4.553 GB, free: 313.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 8.12e-07/9.641, allocations: 0 / 4.553 GB, free: 313.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.04114/9.682, allocations: 16.37 MB / 4.569 GB, free: 313.2 MB / 1.167 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.03261/9.715, allocations: 4.871 MB / 4.574 GB, free: 312.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006756/9.722, allocations: 3.884 MB / 4.578 GB, free: 312.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/9.722, allocations: 0 / 4.578 GB, free: 312.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002454/9.724, allocations: 1.707 MB / 4.579 GB, free: 312 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02104/9.745, allocations: 0.5438 MB / 4.58 GB, free: 311.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05367/9.799, allocations: 17.75 MB / 4.597 GB, free: 303.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005817/9.805, allocations: 3.045 MB / 4.6 GB, free: 302.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.04787/9.853, allocations: 32.75 MB / 4.632 GB, free: 298.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05943/9.912, allocations: 11.46 MB / 4.643 GB, free: 292.2 MB / 1.167 GB Notification: Performance of SimCode: time 3.888e-06/9.912, allocations: 0 / 4.643 GB, free: 292.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.891/13.8, allocations: 1.541 GB / 6.185 GB, free: 25.05 MB / 1.307 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/13.8, allocations: 281 kB / 6.185 GB, free: 24.69 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.55/27.36, allocations: 7.938 kB / 6.185 GB, free: 24.68 MB / 1.307 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)