Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_latest_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.002281/0.002282, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.003031/0.003031, allocations: 190.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.531/2.531, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.26/5.26, allocations: 461.9 MB / 0.7343 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002913/0.002913, allocations: 66.31 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6005/0.6035, allocations: 157.4 MB / 1.052 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.02408/0.6276, allocations: 6.937 MB / 1.059 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.36/0.9877, allocations: 153.1 MB / 1.209 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003627/0.9914, allocations: 19.88 kB / 1.209 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0117/1.003, allocations: 1.659 MB / 1.21 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006753/1.01, allocations: 0.8039 MB / 1.211 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0042/1.014, allocations: 0.8831 MB / 1.212 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005049/1.019, allocations: 2.586 MB / 1.215 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002197/1.022, allocations: 0.9415 MB / 1.215 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002837/1.024, allocations: 0.9148 MB / 1.216 GB, free: 104 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002677/1.027, allocations: 0.9455 MB / 1.217 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0005675/1.028, allocations: 184 kB / 1.217 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007786/1.036, allocations: 2.243 MB / 1.22 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002829/1.038, allocations: 1.224 MB / 1.221 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.004268/1.043, allocations: 1.423 MB / 1.222 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01698/1.06, allocations: 5.38 MB / 1.227 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/1.06, allocations: 0 / 1.227 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.995e-06/1.06, allocations: 0 / 1.227 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.00016/1.06, allocations: 0 / 1.227 GB, free: 4.676 MB / 0.9825 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.02009/1.08, allocations: 3.978 MB / 1.231 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 9.427e-05/1.08, allocations: 8.625 kB / 1.231 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008888/1.081, allocations: 190.3 kB / 1.232 GB, free: 440 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004174/1.085, allocations: 357.2 kB / 1.232 GB, free: 80 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.504/2.59, allocations: 87.6 MB / 1.317 GB, free: 151.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001697/2.59, allocations: 102.5 kB / 1.318 GB, free: 151.4 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005775/2.59, allocations: 132 kB / 1.318 GB, free: 151.3 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005012/2.596, allocations: 1.363 MB / 1.319 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.709e-05/2.596, allocations: 0 / 1.319 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003129/2.596, allocations: 52 kB / 1.319 GB, free: 150 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.006e-05/2.596, allocations: 32.56 kB / 1.319 GB, free: 150 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003976/2.6, allocations: 1.5 MB / 1.321 GB, free: 148.5 MB / 0.9981 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.03006/2.63, allocations: 23.91 MB / 1.344 GB, free: 124.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003732/2.634, allocations: 1.122 MB / 1.345 GB, free: 123.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00117/2.635, allocations: 445.4 kB / 1.345 GB, free: 122.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/2.635, allocations: 37.09 kB / 1.345 GB, free: 122.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001687/2.637, allocations: 0.6566 MB / 1.346 GB, free: 122.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=100): time 7.144e-06/2.637, allocations: 5.828 kB / 1.346 GB, free: 122.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100): time 0.007143/2.644, allocations: 1.729 MB / 1.348 GB, free: 120.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.013e-05/2.644, allocations: 196.9 kB / 1.348 GB, free: 120.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1893/2.834, allocations: 99.42 MB / 1.445 GB, free: 20.68 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004256/2.834, allocations: 51.78 kB / 1.445 GB, free: 20.62 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001603/2.836, allocations: 1.053 MB / 1.446 GB, free: 19.56 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000652/2.836, allocations: 335.2 kB / 1.446 GB, free: 19.23 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005783/2.837, allocations: 242.8 kB / 1.447 GB, free: 18.98 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001054/2.837, allocations: 345.9 kB / 1.447 GB, free: 18.64 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/2.838, allocations: 494.4 kB / 1.447 GB, free: 18.16 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/2.84, allocations: 0.6246 MB / 1.448 GB, free: 17.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006621/2.846, allocations: 1.002 MB / 1.449 GB, free: 16.48 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.289e-05/2.846, allocations: 5.188 kB / 1.449 GB, free: 16.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.00566/2.852, allocations: 1.503 MB / 1.451 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.845e-05/2.852, allocations: 8 kB / 1.451 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/2.852, allocations: 0 / 1.451 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008278/2.853, allocations: 84.84 kB / 1.451 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/2.854, allocations: 235.7 kB / 1.451 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01093/2.865, allocations: 1.652 MB / 1.452 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003477/2.869, allocations: 275.9 kB / 1.453 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003311/2.869, allocations: 55.58 kB / 1.453 GB, free: 12.53 MB / 0.9981 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.002367/2.872, allocations: 0.8131 MB / 1.454 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001902/2.874, allocations: 221.1 kB / 1.454 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005806/2.879, allocations: 1.622 MB / 1.455 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/2.879, allocations: 15.75 kB / 1.455 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/2.879, allocations: 0 / 1.455 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.837e-05/2.879, allocations: 3.984 kB / 1.455 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005103/2.885, allocations: 1.972 MB / 1.457 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/2.885, allocations: 0 / 1.457 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005333/2.89, allocations: 183.7 kB / 1.457 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006825/2.891, allocations: 77.95 kB / 1.458 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001695/2.891, allocations: 31.97 kB / 1.458 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002394/2.893, allocations: 1.66 MB / 1.459 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/2.893, allocations: 0 / 1.459 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00495/2.898, allocations: 1.361 MB / 1.461 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002611/2.901, allocations: 0.7591 MB / 1.461 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001392/2.902, allocations: 24 kB / 1.461 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002857/2.905, allocations: 192 kB / 1.461 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003138/2.906, allocations: 84.88 kB / 1.462 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/2.906, allocations: 51.97 kB / 1.462 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.1745/3.08, allocations: 79.4 MB / 1.539 GB, free: 3.801 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.283e-06/3.08, allocations: 0 / 1.539 GB, free: 3.801 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.006652/3.087, allocations: 1.017 MB / 1.54 GB, free: 2.855 MB / 1.076 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.01327/3.1, allocations: 2.769 MB / 1.543 GB, free: 344 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.007467/3.108, allocations: 1.537 MB / 1.544 GB, free: 14.79 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/3.108, allocations: 0 / 1.544 GB, free: 14.79 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002158/3.11, allocations: 0.6684 MB / 1.545 GB, free: 14.11 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004963/3.115, allocations: 434.2 kB / 1.545 GB, free: 13.7 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.528/4.643, allocations: 411.2 MB / 1.947 GB, free: 236.8 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002268/4.646, allocations: 1.716 MB / 1.949 GB, free: 235.1 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.00377/4.649, allocations: 0.7724 MB / 1.949 GB, free: 234.4 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002915/4.652, allocations: 1.107 MB / 1.95 GB, free: 233.3 MB / 1.248 GB Notification: Performance of SimCode: time 1.483e-06/4.652, allocations: 0 / 1.95 GB, free: 233.3 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.381/6.033, allocations: 107.4 MB / 2.055 GB, free: 127.2 MB / 1.248 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.06387/6.097, allocations: 311.9 kB / 2.056 GB, free: 126.8 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.366/14.46, allocations: 1.547 kB / 2.056 GB, free: 126.8 MB / 1.248 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1)