Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004484/0.004484, allocations: 99.11 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 195.2 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.507/2.507, allocations: 469.8 MB / 0.7425 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 67.89 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2517, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.008024/0.2598, allocations: 6.966 MB / 1.227 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6667/0.9265, allocations: 155.4 MB / 1.379 GB, free: 6.383 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.9277, allocations: 29.09 kB / 1.379 GB, free: 6.371 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00431/0.932, allocations: 1.803 MB / 1.38 GB, free: 5.633 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002448/0.9345, allocations: 0.8925 MB / 1.381 GB, free: 5.008 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002073/0.9366, allocations: 0.9871 MB / 1.382 GB, free: 4.254 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002185/0.9388, allocations: 2.577 MB / 1.385 GB, free: 2.688 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001123/0.9399, allocations: 0.9421 MB / 1.386 GB, free: 2.109 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009214/0.9408, allocations: 0.9028 MB / 1.387 GB, free: 1.574 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009943/0.9418, allocations: 0.9309 MB / 1.388 GB, free: 0.9375 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002163/0.9421, allocations: 184.2 kB / 1.388 GB, free: 0.9375 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003237/0.9453, allocations: 2.264 MB / 1.39 GB, free: 15.79 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0009409/0.9463, allocations: 1.212 MB / 1.391 GB, free: 15.12 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001251/0.9475, allocations: 1.423 MB / 1.393 GB, free: 14.07 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005226/0.9528, allocations: 5.47 MB / 1.398 GB, free: 10.62 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.9528, allocations: 0 / 1.398 GB, free: 10.62 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.103e-06/0.9528, allocations: 0 / 1.398 GB, free: 10.62 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.683e-05/0.9528, allocations: 1.375 kB / 1.398 GB, free: 10.62 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.006137/0.9589, allocations: 4.078 MB / 1.402 GB, free: 7.805 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.959, allocations: 14.97 kB / 1.402 GB, free: 7.801 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001996/0.9592, allocations: 188 kB / 1.402 GB, free: 7.648 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.9604, allocations: 368.4 kB / 1.402 GB, free: 7.457 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08194/1.042, allocations: 87.68 MB / 1.488 GB, free: 3.105 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.856e-05/1.042, allocations: 98.55 kB / 1.488 GB, free: 3.008 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/1.043, allocations: 132 kB / 1.488 GB, free: 2.879 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002173/1.045, allocations: 1.36 MB / 1.49 GB, free: 1.457 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/1.045, allocations: 5.812 kB / 1.49 GB, free: 1.453 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/1.045, allocations: 55.98 kB / 1.49 GB, free: 1.398 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/1.045, allocations: 32 kB / 1.49 GB, free: 1.367 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002259/1.047, allocations: 1.496 MB / 1.491 GB, free: 15.86 MB / 1.186 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0202/1.067, allocations: 23.88 MB / 1.514 GB, free: 7.785 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/1.069, allocations: 1.119 MB / 1.516 GB, free: 6.66 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006855/1.07, allocations: 451.6 kB / 1.516 GB, free: 6.219 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 8.143e-05/1.07, allocations: 33.03 kB / 1.516 GB, free: 6.188 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001031/1.071, allocations: 0.6528 MB / 1.517 GB, free: 5.512 MB / 1.201 GB Notification: Performance of pre-optimization done (n=100): time 2.204e-06/1.071, allocations: 0 / 1.517 GB, free: 5.512 MB / 1.201 GB Notification: Performance of matching and sorting (n=100): time 0.00395/1.075, allocations: 1.75 MB / 1.518 GB, free: 3.738 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/1.075, allocations: 200.9 kB / 1.519 GB, free: 3.496 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1013/1.177, allocations: 99.42 MB / 1.616 GB, free: 36 kB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0002616/1.177, allocations: 45.75 kB / 1.616 GB, free: 15.98 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.001015/1.178, allocations: 1.073 MB / 1.617 GB, free: 14.91 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003073/1.178, allocations: 337.1 kB / 1.617 GB, free: 14.57 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003531/1.179, allocations: 242.6 kB / 1.617 GB, free: 14.34 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001428/1.179, allocations: 349.9 kB / 1.618 GB, free: 13.99 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008316/1.18, allocations: 494.4 kB / 1.618 GB, free: 13.5 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009471/1.181, allocations: 0.6285 MB / 1.619 GB, free: 12.84 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001596/1.182, allocations: 1.002 MB / 1.62 GB, free: 11.82 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.182, allocations: 0 / 1.62 GB, free: 11.82 MB / 1.311 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003073/1.185, allocations: 1.516 MB / 1.621 GB, free: 10.29 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/1.185, allocations: 12.02 kB / 1.621 GB, free: 10.28 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/1.185, allocations: 4 kB / 1.621 GB, free: 10.27 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005467/1.186, allocations: 80.78 kB / 1.621 GB, free: 10.19 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008644/1.187, allocations: 243.6 kB / 1.621 GB, free: 9.953 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/1.189, allocations: 1.636 MB / 1.623 GB, free: 8.176 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/1.19, allocations: 277.1 kB / 1.623 GB, free: 7.906 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.461e-05/1.19, allocations: 47.97 kB / 1.623 GB, free: 7.859 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 18 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009739/1.191, allocations: 0.8122 MB / 1.624 GB, free: 7.035 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004456/1.191, allocations: 230.5 kB / 1.624 GB, free: 6.809 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003005/1.194, allocations: 1.621 MB / 1.626 GB, free: 5.18 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.978e-06/1.194, allocations: 12 kB / 1.626 GB, free: 5.168 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.195, allocations: 4 kB / 1.626 GB, free: 5.164 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/1.195, allocations: 11.91 kB / 1.626 GB, free: 5.152 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002034/1.197, allocations: 1.968 MB / 1.628 GB, free: 3.133 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/1.197, allocations: 0 / 1.628 GB, free: 3.133 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006715/1.197, allocations: 183.8 kB / 1.628 GB, free: 2.953 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000403/1.198, allocations: 68.78 kB / 1.628 GB, free: 2.883 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-05/1.198, allocations: 31.98 kB / 1.628 GB, free: 2.852 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001763/1.2, allocations: 1.662 MB / 1.63 GB, free: 1.043 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.2, allocations: 3.938 kB / 1.63 GB, free: 1.039 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002524/1.202, allocations: 1.37 MB / 1.631 GB, free: 15.64 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009517/1.203, allocations: 0.7799 MB / 1.632 GB, free: 14.84 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002949/1.203, allocations: 27.95 kB / 1.632 GB, free: 14.82 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/1.204, allocations: 179.9 kB / 1.632 GB, free: 14.64 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/1.205, allocations: 88.88 kB / 1.632 GB, free: 14.55 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.289e-05/1.205, allocations: 43.98 kB / 1.632 GB, free: 14.51 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.06853/1.273, allocations: 79.4 MB / 1.71 GB, free: 15.09 MB / 1.404 GB Notification: Performance of sort global known variables: time 6.61e-07/1.273, allocations: 7.938 kB / 1.71 GB, free: 15.08 MB / 1.404 GB Notification: Performance of remove unused functions: time 0.002732/1.276, allocations: 1.025 MB / 1.711 GB, free: 14.05 MB / 1.404 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005343/1.281, allocations: 2.799 MB / 1.714 GB, free: 11.4 MB / 1.404 GB Notification: Performance of simCode: created initialization part: time 0.002084/1.283, allocations: 1.243 MB / 1.715 GB, free: 10.15 MB / 1.404 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.283, allocations: 4.312 kB / 1.715 GB, free: 10.15 MB / 1.404 GB Notification: Performance of simCode: created simulation system equations: time 0.001066/1.284, allocations: 0.6681 MB / 1.715 GB, free: 9.465 MB / 1.404 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/1.286, allocations: 418.2 kB / 1.716 GB, free: 9.07 MB / 1.404 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7036/1.99, allocations: 407.1 MB / 2.113 GB, free: 283.4 MB / 1.498 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008658/1.99, allocations: 1.724 MB / 2.115 GB, free: 281.6 MB / 1.498 GB Notification: Performance of simCode: alias equations: time 0.001543/1.992, allocations: 0.7748 MB / 2.116 GB, free: 281 MB / 1.498 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/1.993, allocations: 1.11 MB / 2.117 GB, free: 279.9 MB / 1.498 GB Notification: Performance of SimCode: time 4.21e-07/1.993, allocations: 0 / 2.117 GB, free: 279.9 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.746/4.739, allocations: 108.4 MB / 2.223 GB, free: 172.7 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.64/29.38, allocations: 5.75 kB / 2.223 GB, free: 172.7 MB / 1.498 GB (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.fmu > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1)