Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.575/1.575, allocations: 288.2 MB / 303.2 MB, free: 8.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000984/0.0009841, allocations: 193 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 205.4 MB / 0.6305 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008355/0.0008354, allocations: 110.5 kB / 0.7439 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004111/0.0004111, allocations: 16.5 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2076, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.128/5.336, allocations: 2.104 GB / 3.083 GB, free: 161.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/5.336, allocations: 109.1 kB / 3.083 GB, free: 161 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.085/6.421, allocations: 195.6 MB / 3.274 GB, free: 244.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.405e-06/6.421, allocations: 3.828 kB / 3.274 GB, free: 244.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0009816/6.422, allocations: 87.66 kB / 3.274 GB, free: 244.3 MB / 0.948 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.1729/6.595, allocations: 69.58 MB / 3.342 GB, free: 238.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/6.595, allocations: 10.06 kB / 3.342 GB, free: 238.7 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009472/6.596, allocations: 204.1 kB / 3.342 GB, free: 238.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02142/6.617, allocations: 0.6148 MB / 3.343 GB, free: 238.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.9034/7.521, allocations: 292.8 MB / 3.629 GB, free: 233.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002674/7.521, allocations: 126.3 kB / 3.629 GB, free: 233.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001143/7.522, allocations: 176 kB / 3.629 GB, free: 233.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004117/7.526, allocations: 1.772 MB / 3.631 GB, free: 233.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/7.526, allocations: 4.062 kB / 3.631 GB, free: 233.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001428/7.527, allocations: 56.88 kB / 3.631 GB, free: 233.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/7.527, allocations: 30.84 kB / 3.631 GB, free: 233.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002838/7.529, allocations: 1.848 MB / 3.633 GB, free: 233.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4647/7.994, allocations: 258.8 MB / 3.886 GB, free: 65.85 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002519/7.997, allocations: 1.467 MB / 3.887 GB, free: 64.39 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.983e-05/7.997, allocations: 37.8 kB / 3.887 GB, free: 64.36 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001179/7.998, allocations: 0.9304 MB / 3.888 GB, free: 63.42 MB / 0.948 GB Notification: Performance of pre-optimization done (n=105): time 4.158e-06/7.998, allocations: 3.328 kB / 3.888 GB, free: 63.42 MB / 0.948 GB Notification: Performance of matching and sorting (n=105): time 0.02564/8.024, allocations: 3.139 MB / 3.891 GB, free: 60.25 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001716/8.024, allocations: 397.9 kB / 3.891 GB, free: 59.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.216/9.24, allocations: 322.2 MB / 4.206 GB, free: 109.1 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.000873/9.241, allocations: 61.7 kB / 4.206 GB, free: 109.1 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.004302/9.246, allocations: 2.171 MB / 4.208 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008473/9.247, allocations: 349.4 kB / 4.209 GB, free: 106.9 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008031/9.247, allocations: 40 kB / 4.209 GB, free: 106.9 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003132/9.248, allocations: 385.5 kB / 4.209 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003032/9.251, allocations: 1.307 MB / 4.21 GB, free: 105.4 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002993/9.254, allocations: 1.629 MB / 4.212 GB, free: 103.8 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002878/9.257, allocations: 1.623 MB / 4.214 GB, free: 102.4 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.398e-05/9.257, allocations: 7.797 kB / 4.214 GB, free: 102.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.03055/9.287, allocations: 3.843 MB / 4.217 GB, free: 98.88 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003427/9.288, allocations: 168.3 kB / 4.217 GB, free: 98.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.408e-05/9.288, allocations: 4 kB / 4.217 GB, free: 98.73 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007851/9.288, allocations: 93.98 kB / 4.218 GB, free: 98.66 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002267/9.291, allocations: 374 kB / 4.218 GB, free: 98.37 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002155/9.293, allocations: 1.537 MB / 4.219 GB, free: 96.79 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02402/9.317, allocations: 0.5627 MB / 4.22 GB, free: 96.29 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001053/9.318, allocations: 119.8 kB / 4.22 GB, free: 96.2 MB / 0.9636 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.005962/9.324, allocations: 2.139 MB / 4.222 GB, free: 94.29 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.022/9.346, allocations: 464 kB / 4.223 GB, free: 93.83 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008024/9.354, allocations: 2.897 MB / 4.225 GB, free: 91.34 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/9.354, allocations: 8 kB / 4.225 GB, free: 91.33 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/9.354, allocations: 3.797 kB / 4.225 GB, free: 91.33 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/9.354, allocations: 6.297 kB / 4.225 GB, free: 91.33 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8188/10.17, allocations: 127 MB / 4.349 GB, free: 255.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/10.17, allocations: 3.781 kB / 4.349 GB, free: 255.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009107/10.17, allocations: 178.6 kB / 4.35 GB, free: 255.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006411/10.17, allocations: 86.67 kB / 4.35 GB, free: 255.3 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001421/10.17, allocations: 40.45 kB / 4.35 GB, free: 255.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/10.18, allocations: 1.557 MB / 4.351 GB, free: 254 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/10.18, allocations: 0 / 4.351 GB, free: 254 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02636/10.2, allocations: 2.632 MB / 4.354 GB, free: 253.7 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1725/10.38, allocations: 64 MB / 4.416 GB, free: 247.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02544/10.4, allocations: 44.33 kB / 4.416 GB, free: 247.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02106/10.42, allocations: 439.9 kB / 4.417 GB, free: 247.8 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006246/10.42, allocations: 80.92 kB / 4.417 GB, free: 247.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002355/10.42, allocations: 81.08 kB / 4.417 GB, free: 247.7 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.2534/10.68, allocations: 236.5 MB / 4.648 GB, free: 36.88 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.803e-06/10.68, allocations: 0 / 4.648 GB, free: 36.88 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.03995/10.72, allocations: 16.34 MB / 4.664 GB, free: 20.74 MB / 0.9636 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.03141/10.75, allocations: 4.836 MB / 4.669 GB, free: 16.98 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.005251/10.75, allocations: 3.888 MB / 4.672 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/10.75, allocations: 0 / 4.672 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001793/10.76, allocations: 1.703 MB / 4.674 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02036/10.78, allocations: 0.5388 MB / 4.675 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5735/11.35, allocations: 17.68 MB / 4.692 GB, free: 246 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005404/11.35, allocations: 3.043 MB / 4.695 GB, free: 245.2 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.05322/11.41, allocations: 32.75 MB / 4.727 GB, free: 245.1 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.06148/11.47, allocations: 11.47 MB / 4.738 GB, free: 245.1 MB / 0.9636 GB Notification: Performance of SimCode: time 1.583e-06/11.47, allocations: 0 / 4.738 GB, free: 245.1 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.302/15.77, allocations: 1.541 GB / 6.279 GB, free: 468.4 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002639/15.77, allocations: 277.1 kB / 6.279 GB, free: 468.1 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.53/31.3, allocations: 0 / 6.279 GB, free: 468.1 MB / 1.198 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)