Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.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.AbsorbedRadiation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation",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.735/1.735, allocations: 288.2 MB / 303.2 MB, free: 8.062 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.001152/0.001152, allocations: 183.3 kB / 371.8 MB, free: 10.28 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.79/1.79, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.000942/0.000942, allocations: 86.91 kB / 0.7439 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004761/0.0004763, allocations: 17 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.268, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.005556/0.2736, allocations: 4.661 MB / 0.984 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8361/1.11, allocations: 131.1 MB / 1.112 GB, free: 2.102 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/1.111, allocations: 24.75 kB / 1.112 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004723/1.116, allocations: 1.305 MB / 1.113 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002355/1.118, allocations: 0.6572 MB / 1.114 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00292/1.121, allocations: 0.7565 MB / 1.115 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003191/1.124, allocations: 1.816 MB / 1.117 GB, free: 1.816 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001289/1.125, allocations: 0.701 MB / 1.117 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001821/1.127, allocations: 0.8801 MB / 1.118 GB, free: 1.5 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001716/1.129, allocations: 0.6877 MB / 1.119 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006466/1.13, allocations: 46.88 kB / 1.119 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004676/1.134, allocations: 1.656 MB / 1.12 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001738/1.136, allocations: 1.25 MB / 1.122 GB, free: 1.242 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001358/1.138, allocations: 414 kB / 1.122 GB, free: 17.12 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.007306/1.145, allocations: 4.208 MB / 1.126 GB, free: 15.91 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.145, allocations: 1 kB / 1.126 GB, free: 15.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.56e-06/1.145, allocations: 4 kB / 1.126 GB, free: 15.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002462/1.145, allocations: 3.938 kB / 1.126 GB, free: 15.9 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.01159/1.157, allocations: 3.343 MB / 1.129 GB, free: 13.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/1.157, allocations: 9.688 kB / 1.129 GB, free: 13.9 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006842/1.157, allocations: 180.5 kB / 1.13 GB, free: 13.83 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002363/1.16, allocations: 349.8 kB / 1.13 GB, free: 13.65 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08818/1.248, allocations: 80.82 MB / 1.209 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/1.248, allocations: 114.9 kB / 1.209 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006523/1.249, allocations: 143.9 kB / 1.209 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003621/1.253, allocations: 1.275 MB / 1.21 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.569e-05/1.253, allocations: 0 / 1.21 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001806/1.253, allocations: 48 kB / 1.21 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-05/1.253, allocations: 28 kB / 1.21 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002924/1.256, allocations: 1.374 MB / 1.212 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02854/1.284, allocations: 23.39 MB / 1.235 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002401/1.287, allocations: 1.123 MB / 1.236 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/1.287, allocations: 40.53 kB / 1.236 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001331/1.288, allocations: 0.7052 MB / 1.236 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=92): time 3.116e-06/1.288, allocations: 0 / 1.236 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=92): time 0.005548/1.294, allocations: 2.229 MB / 1.239 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002345/1.294, allocations: 322.2 kB / 1.239 GB, free: 9.199 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1182/1.412, allocations: 99.65 MB / 1.336 GB, free: 5.535 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005421/1.413, allocations: 57.7 kB / 1.336 GB, free: 5.473 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001935/1.415, allocations: 1.048 MB / 1.337 GB, free: 4.418 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006049/1.416, allocations: 316 kB / 1.338 GB, free: 4.113 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003175/1.416, allocations: 24 kB / 1.338 GB, free: 4.09 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002891/1.416, allocations: 373.9 kB / 1.338 GB, free: 3.719 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002179/1.418, allocations: 0.9967 MB / 1.339 GB, free: 2.723 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001776/1.42, allocations: 1.217 MB / 1.34 GB, free: 1.449 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001751/1.422, allocations: 1.256 MB / 1.341 GB, free: 188 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/1.422, allocations: 4 kB / 1.341 GB, free: 184 kB / 0.8698 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005402/1.427, allocations: 2.778 MB / 1.344 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001878/1.428, allocations: 149.6 kB / 1.344 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/1.428, allocations: 4 kB / 1.344 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.964e-05/1.428, allocations: 8 kB / 1.344 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/1.429, allocations: 287.6 kB / 1.345 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.864e-05/1.429, allocations: 8 kB / 1.345 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002329/1.431, allocations: 321.8 kB / 1.345 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/1.431, allocations: 63.97 kB / 1.345 GB, free: 12.55 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (166): * Single equations (assignments): 165 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002289/1.434, allocations: 1.024 MB / 1.346 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001135/1.435, allocations: 225.1 kB / 1.346 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003839/1.439, allocations: 2.084 MB / 1.348 GB, free: 9.191 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/1.439, allocations: 8 kB / 1.348 GB, free: 9.184 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/1.439, allocations: 1.75 kB / 1.348 GB, free: 9.184 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/1.439, allocations: 3.984 kB / 1.348 GB, free: 9.18 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008318/1.447, allocations: 4.301 MB / 1.352 GB, free: 4.836 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/1.447, allocations: 0 / 1.352 GB, free: 4.836 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006156/1.448, allocations: 155.8 kB / 1.352 GB, free: 4.684 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/1.448, allocations: 4 kB / 1.352 GB, free: 4.68 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.24e-05/1.448, allocations: 27.98 kB / 1.353 GB, free: 4.652 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/1.448, allocations: 7.984 kB / 1.353 GB, free: 4.645 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/1.448, allocations: 0 / 1.353 GB, free: 4.645 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003523/1.451, allocations: 1.959 MB / 1.354 GB, free: 2.664 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001774/1.453, allocations: 0.7941 MB / 1.355 GB, free: 1.848 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003711/1.453, allocations: 24 kB / 1.355 GB, free: 1.824 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/1.455, allocations: 187.9 kB / 1.355 GB, free: 1.641 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000199/1.455, allocations: 68.91 kB / 1.355 GB, free: 1.574 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/1.455, allocations: 49.78 kB / 1.356 GB, free: 1.527 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.07884/1.534, allocations: 79.54 MB / 1.433 GB, free: 1.969 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.71e-07/1.534, allocations: 0 / 1.433 GB, free: 1.969 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005175/1.539, allocations: 1.006 MB / 1.434 GB, free: 0.9648 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 (90): * Single equations (assignments): 87 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.6064/2.146, allocations: 3.288 MB / 1.437 GB, free: 372.4 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.007422/2.153, allocations: 3.112 MB / 1.44 GB, free: 371.6 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/2.153, allocations: 4.125 kB / 1.44 GB, free: 371.6 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003192/2.156, allocations: 1.315 MB / 1.442 GB, free: 371.1 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003929/2.16, allocations: 339 kB / 1.442 GB, free: 370.9 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02716/2.187, allocations: 9.537 MB / 1.451 GB, free: 365.1 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002918/2.19, allocations: 1.798 MB / 1.453 GB, free: 364.2 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004534/2.195, allocations: 0.7716 MB / 1.454 GB, free: 364.1 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003536/2.199, allocations: 1.091 MB / 1.455 GB, free: 363.3 MB / 0.9636 GB Notification: Performance of SimCode: time 1.322e-06/2.199, allocations: 4 kB / 1.455 GB, free: 363.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1682/2.367, allocations: 88.56 MB / 1.541 GB, free: 295.2 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/2.367, allocations: 264.6 kB / 1.542 GB, free: 294.8 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.752/6.119, allocations: 0 / 1.542 GB, free: 294.8 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiation.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1)