Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.WindowRadiation,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",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.001411/0.001411, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001718/0.001718, allocations: 195 kB / 16.14 MB, free: 6.648 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.323/1.323, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.549/2.549, allocations: 437 MB / 0.71 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 63.91 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5618/0.5631, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.008763/0.572, allocations: 8.182 MB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1555/0.7275, allocations: 157.5 MB / 1.179 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001489/0.729, allocations: 31.81 kB / 1.179 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004653/0.7337, allocations: 1.81 MB / 1.18 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.003073/0.7368, allocations: 1.167 MB / 1.181 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003064/0.7399, allocations: 1.258 MB / 1.183 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00494/0.7448, allocations: 5.402 MB / 1.188 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001548/0.7464, allocations: 1.095 MB / 1.189 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002131/0.7485, allocations: 1.432 MB / 1.19 GB, free: 216 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002018/0.7506, allocations: 1.451 MB / 1.192 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0005201/0.7511, allocations: 128 kB / 1.192 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003198/0.7543, allocations: 2.075 MB / 1.194 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.002282/0.7566, allocations: 2.885 MB / 1.197 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.00332/0.7599, allocations: 2.525 MB / 1.199 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00829/0.7682, allocations: 10.58 MB / 1.21 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.7682, allocations: 0 / 1.21 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of FrontEnd: time 6.92e-07/0.7682, allocations: 0 / 1.21 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.617e-05/0.7683, allocations: 0 / 1.21 GB, free: 12.52 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.01302/0.7813, allocations: 8.258 MB / 1.218 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.7814, allocations: 12.03 kB / 1.218 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002514/0.7816, allocations: 231.8 kB / 1.218 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002001/0.7836, allocations: 0.5917 MB / 1.219 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6631/1.447, allocations: 276 MB / 1.488 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.734e-05/1.447, allocations: 138.9 kB / 1.488 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/1.447, allocations: 184 kB / 1.488 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002573/1.45, allocations: 1.964 MB / 1.49 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/1.45, allocations: 0 / 1.49 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/1.45, allocations: 67.98 kB / 1.49 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/1.45, allocations: 36 kB / 1.49 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00236/1.452, allocations: 1.986 MB / 1.492 GB, free: 0.9883 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.0577/1.51, allocations: 70.35 MB / 1.561 GB, free: 10.41 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003432/1.513, allocations: 1.802 MB / 1.563 GB, free: 8.609 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/1.515, allocations: 1.079 MB / 1.564 GB, free: 7.531 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/1.515, allocations: 41.09 kB / 1.564 GB, free: 7.488 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001837/1.517, allocations: 1.192 MB / 1.565 GB, free: 6.277 MB / 1.076 GB Notification: Performance of pre-optimization done (n=117): time 3.346e-06/1.517, allocations: 0 / 1.565 GB, free: 6.277 MB / 1.076 GB Notification: Performance of matching and sorting (n=117): time 0.008705/1.526, allocations: 3.698 MB / 1.569 GB, free: 2.543 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002109/1.526, allocations: 342.5 kB / 1.569 GB, free: 2.16 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7559/2.282, allocations: 315.9 MB / 1.877 GB, free: 296.3 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0003636/2.282, allocations: 69.23 kB / 1.878 GB, free: 296.2 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.002166/2.285, allocations: 2.218 MB / 1.88 GB, free: 294.2 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003153/2.285, allocations: 392 kB / 1.88 GB, free: 294 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005572/2.285, allocations: 453.5 kB / 1.881 GB, free: 293.6 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 3.73e-05/2.285, allocations: 308.9 kB / 1.881 GB, free: 293.2 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001664/2.287, allocations: 1.528 MB / 1.882 GB, free: 291.7 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/2.289, allocations: 1.838 MB / 1.884 GB, free: 289.8 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003157/2.292, allocations: 3.233 MB / 1.887 GB, free: 286.5 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/2.292, allocations: 0 / 1.887 GB, free: 286.5 MB / 1.217 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.007482/2.3, allocations: 4.273 MB / 1.891 GB, free: 282.3 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/2.3, allocations: 165.6 kB / 1.892 GB, free: 282.1 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/2.3, allocations: 10.38 kB / 1.892 GB, free: 282.1 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000603/2.3, allocations: 93.45 kB / 1.892 GB, free: 282 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/2.302, allocations: 395.3 kB / 1.892 GB, free: 281.7 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001638/2.303, allocations: 1.542 MB / 1.894 GB, free: 280 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00341/2.307, allocations: 0.6407 MB / 1.894 GB, free: 279.3 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001539/2.307, allocations: 87.97 kB / 1.894 GB, free: 279.3 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (230): * Single equations (assignments): 228 * Array equations: 0 * Algorithm blocks: 1 * 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.002419/2.309, allocations: 2.171 MB / 1.896 GB, free: 277.1 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001949/2.311, allocations: 459 kB / 1.897 GB, free: 276.6 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004964/2.316, allocations: 3.37 MB / 1.9 GB, free: 273.3 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/2.316, allocations: 18.02 kB / 1.9 GB, free: 273.2 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/2.316, allocations: 4 kB / 1.9 GB, free: 273.2 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/2.316, allocations: 7.969 kB / 1.9 GB, free: 273.2 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00483/2.321, allocations: 4.088 MB / 1.904 GB, free: 269.1 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/2.321, allocations: 0 / 1.904 GB, free: 269.1 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007448/2.322, allocations: 179.8 kB / 1.904 GB, free: 268.9 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005337/2.322, allocations: 84.77 kB / 1.904 GB, free: 268.9 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/2.323, allocations: 39.97 kB / 1.904 GB, free: 268.8 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001524/2.324, allocations: 1.553 MB / 1.906 GB, free: 267.1 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/2.324, allocations: 0 / 1.906 GB, free: 267.1 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005361/2.329, allocations: 3.039 MB / 1.909 GB, free: 264.1 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002801/2.332, allocations: 1.778 MB / 1.911 GB, free: 262.3 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001505/2.334, allocations: 28 kB / 1.911 GB, free: 262.2 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002801/2.337, allocations: 426.4 kB / 1.911 GB, free: 261.8 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002415/2.337, allocations: 96.86 kB / 1.911 GB, free: 261.7 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/2.337, allocations: 56.95 kB / 1.911 GB, free: 261.7 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.1528/2.49, allocations: 251.5 MB / 2.157 GB, free: 10.12 MB / 1.217 GB Notification: Performance of sort global known variables: time 5.31e-07/2.49, allocations: 0 / 2.157 GB, free: 10.12 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.004125/2.494, allocations: 1.416 MB / 2.158 GB, free: 8.777 MB / 1.217 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 (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 1 * 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.007258/2.501, allocations: 4.44 MB / 2.163 GB, free: 4.594 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.00404/2.505, allocations: 4.33 MB / 2.167 GB, free: 248 kB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/2.505, allocations: 0.5 kB / 2.167 GB, free: 248 kB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.3759/2.881, allocations: 1.898 MB / 2.169 GB, free: 447.2 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003897/2.885, allocations: 0.5804 MB / 2.169 GB, free: 447 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.728/4.613, allocations: 1.278 GB / 3.447 GB, free: 109.4 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002209/4.615, allocations: 3.014 MB / 3.45 GB, free: 106.4 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.003452/4.619, allocations: 1.7 MB / 3.452 GB, free: 104.8 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00272/4.621, allocations: 2.346 MB / 3.454 GB, free: 102.5 MB / 1.232 GB Notification: Performance of SimCode: time 9.91e-07/4.621, allocations: 0 / 3.454 GB, free: 102.5 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.611/6.233, allocations: 274.3 MB / 3.722 GB, free: 298.4 MB / 1.232 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001852/6.233, allocations: 301.6 kB / 3.722 GB, free: 298 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.256/10.49, allocations: 64 / 3.722 GB, free: 298 MB / 1.232 GB (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)