Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.WindowRadiation,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_11_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.00142/0.00142, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 192.9 kB / 16.53 MB, free: 6.664 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.254/1.254, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.477/2.477, allocations: 469.8 MB / 0.7424 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 67.47 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2329, allocations: 159.1 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.009137/0.242, allocations: 8.199 MB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1607/0.4028, allocations: 159.5 MB / 1.228 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009557/0.4038, allocations: 39.75 kB / 1.228 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003565/0.4074, allocations: 1.996 MB / 1.23 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002175/0.4095, allocations: 1.275 MB / 1.231 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00249/0.412, allocations: 1.429 MB / 1.233 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00425/0.4163, allocations: 5.427 MB / 1.238 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.4176, allocations: 1.124 MB / 1.239 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001623/0.4192, allocations: 1.679 MB / 1.241 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00154/0.4208, allocations: 1.495 MB / 1.242 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003406/0.4211, allocations: 276 kB / 1.242 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002905/0.4241, allocations: 2.329 MB / 1.245 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002264/0.4263, allocations: 3.021 MB / 1.247 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.4126/0.8389, allocations: 2.927 MB / 1.25 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008994/0.848, allocations: 10.71 MB / 1.261 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.848, allocations: 0.7031 kB / 1.261 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.848, allocations: 0 / 1.261 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.41e-05/0.8481, allocations: 0 / 1.261 GB, free: 11.68 MB / 0.9981 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.01275/0.8608, allocations: 8.27 MB / 1.269 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.8609, allocations: 13.38 kB / 1.269 GB, free: 8.836 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000225/0.8611, allocations: 223.4 kB / 1.269 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001978/0.8631, allocations: 0.5987 MB / 1.27 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2648/1.128, allocations: 279.4 MB / 1.543 GB, free: 5.891 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/1.128, allocations: 134.9 kB / 1.543 GB, free: 5.758 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002541/1.128, allocations: 193.1 kB / 1.543 GB, free: 5.57 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002945/1.131, allocations: 1.956 MB / 1.545 GB, free: 3.551 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/1.131, allocations: 0.9062 kB / 1.545 GB, free: 3.551 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/1.131, allocations: 68 kB / 1.545 GB, free: 3.484 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.857e-05/1.131, allocations: 36.88 kB / 1.545 GB, free: 3.449 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002805/1.134, allocations: 1.985 MB / 1.547 GB, free: 1.469 MB / 1.201 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.05758/1.192, allocations: 70.37 MB / 1.616 GB, free: 11.05 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002858/1.195, allocations: 1.788 MB / 1.617 GB, free: 9.277 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/1.196, allocations: 1.078 MB / 1.618 GB, free: 8.199 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 7.96e-05/1.196, allocations: 42.83 kB / 1.618 GB, free: 8.168 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001587/1.198, allocations: 1.196 MB / 1.62 GB, free: 6.957 MB / 1.279 GB Notification: Performance of pre-optimization done (n=117): time 2.494e-06/1.198, allocations: 0 / 1.62 GB, free: 6.957 MB / 1.279 GB Notification: Performance of matching and sorting (n=117): time 0.007906/1.206, allocations: 3.701 MB / 1.623 GB, free: 3.234 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002239/1.206, allocations: 345.9 kB / 1.623 GB, free: 2.852 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6652/1.871, allocations: 315.9 MB / 1.932 GB, free: 468.2 MB / 1.42 GB Notification: Performance of collectPreVariables (initialization): time 0.0004226/1.872, allocations: 68.17 kB / 1.932 GB, free: 468.1 MB / 1.42 GB Notification: Performance of collectInitialEqns (initialization): time 0.001883/1.874, allocations: 2.23 MB / 1.934 GB, free: 466.1 MB / 1.42 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002484/1.874, allocations: 383.6 kB / 1.935 GB, free: 465.9 MB / 1.42 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005001/1.874, allocations: 463 kB / 1.935 GB, free: 465.5 MB / 1.42 GB Notification: Performance of setup shared object (initialization): time 3.054e-05/1.874, allocations: 301.1 kB / 1.935 GB, free: 465.2 MB / 1.42 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/1.876, allocations: 1.524 MB / 1.937 GB, free: 463.6 MB / 1.42 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/1.877, allocations: 1.835 MB / 1.939 GB, free: 461.7 MB / 1.42 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002792/1.88, allocations: 3.232 MB / 1.942 GB, free: 458.4 MB / 1.42 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/1.88, allocations: 4 kB / 1.942 GB, free: 458.4 MB / 1.42 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.006367/1.887, allocations: 4.284 MB / 1.946 GB, free: 454.2 MB / 1.42 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/1.887, allocations: 165.6 kB / 1.946 GB, free: 454 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/1.887, allocations: 7.984 kB / 1.946 GB, free: 454 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005296/1.887, allocations: 88.75 kB / 1.946 GB, free: 453.9 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/1.888, allocations: 399.4 kB / 1.947 GB, free: 453.5 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/1.89, allocations: 1.645 MB / 1.948 GB, free: 451.7 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002299/1.892, allocations: 0.6331 MB / 1.949 GB, free: 451.1 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/1.892, allocations: 87.97 kB / 1.949 GB, free: 451 MB / 1.42 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.001846/1.894, allocations: 2.162 MB / 1.951 GB, free: 448.8 MB / 1.42 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/1.895, allocations: 457.9 kB / 1.951 GB, free: 448.4 MB / 1.42 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003896/1.899, allocations: 3.379 MB / 1.955 GB, free: 445 MB / 1.42 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/1.899, allocations: 15.78 kB / 1.955 GB, free: 445 MB / 1.42 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/1.899, allocations: 0 / 1.955 GB, free: 445 MB / 1.42 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/1.899, allocations: 7.969 kB / 1.955 GB, free: 445 MB / 1.42 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002761/1.902, allocations: 4.086 MB / 1.959 GB, free: 440.9 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/1.902, allocations: 0 / 1.959 GB, free: 440.9 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006164/1.903, allocations: 179.7 kB / 1.959 GB, free: 440.7 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003783/1.903, allocations: 81.11 kB / 1.959 GB, free: 440.6 MB / 1.42 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.536e-05/1.903, allocations: 39.97 kB / 1.959 GB, free: 440.6 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001241/1.904, allocations: 1.661 MB / 1.961 GB, free: 438.8 MB / 1.42 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/1.904, allocations: 3.844 kB / 1.961 GB, free: 438.8 MB / 1.42 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00382/1.908, allocations: 3.029 MB / 1.964 GB, free: 435.7 MB / 1.42 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001768/1.91, allocations: 1.771 MB / 1.965 GB, free: 433.9 MB / 1.42 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006884/1.911, allocations: 43.83 kB / 1.965 GB, free: 433.9 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00181/1.912, allocations: 411.4 kB / 1.966 GB, free: 433.5 MB / 1.42 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001735/1.913, allocations: 105.6 kB / 1.966 GB, free: 433.4 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.753e-05/1.913, allocations: 62 kB / 1.966 GB, free: 433.3 MB / 1.42 GB Notification: Performance of sorting global known variables: time 0.1344/2.047, allocations: 251.5 MB / 2.212 GB, free: 181.8 MB / 1.42 GB Notification: Performance of sort global known variables: time 4.1e-07/2.047, allocations: 0 / 2.212 GB, free: 181.8 MB / 1.42 GB Notification: Performance of remove unused functions: time 0.00485/2.052, allocations: 1.398 MB / 2.213 GB, free: 180.5 MB / 1.42 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.006761/2.059, allocations: 4.459 MB / 2.217 GB, free: 176.3 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.004679/2.063, allocations: 4.861 MB / 2.222 GB, free: 171.4 MB / 1.42 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/2.063, allocations: 0 / 2.222 GB, free: 171.4 MB / 1.42 GB Notification: Performance of simCode: created simulation system equations: time 0.001521/2.065, allocations: 1.901 MB / 2.224 GB, free: 169.5 MB / 1.42 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/2.067, allocations: 0.6189 MB / 2.225 GB, free: 168.9 MB / 1.42 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.485/3.552, allocations: 1.277 GB / 3.502 GB, free: 111.8 MB / 1.42 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001975/3.554, allocations: 3.014 MB / 3.505 GB, free: 108.8 MB / 1.42 GB Notification: Performance of simCode: alias equations: time 0.003592/3.558, allocations: 1.695 MB / 3.506 GB, free: 107.3 MB / 1.42 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00241/3.56, allocations: 2.349 MB / 3.509 GB, free: 104.9 MB / 1.42 GB Notification: Performance of SimCode: time 5.61e-07/3.56, allocations: 0 / 3.509 GB, free: 104.9 MB / 1.42 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.218/9.778, allocations: 276.7 MB / 3.779 GB, free: 465.4 MB / 1.42 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.26/25.04, allocations: 6.094 kB / 3.779 GB, free: 465.3 MB / 1.42 GB (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)