Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_9_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.001466/0.001466, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001713/0.001714, allocations: 197.9 kB / 16.14 MB, free: 6.711 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.317/1.317, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.19/2.19, allocations: 390.2 MB / 0.6643 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 75.88 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5102/0.5114, allocations: 140.3 MB / 0.949 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.005965/0.5174, allocations: 6.948 MB / 0.9558 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1484/0.6659, allocations: 157.4 MB / 1.11 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001478/0.6674, allocations: 35.69 kB / 1.11 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004319/0.6718, allocations: 1.783 MB / 1.111 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002755/0.6745, allocations: 1.073 MB / 1.112 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002557/0.6771, allocations: 1.241 MB / 1.114 GB, free: 9.02 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003713/0.6808, allocations: 5.212 MB / 1.119 GB, free: 3.805 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.682, allocations: 1.141 MB / 1.12 GB, free: 2.609 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001381/0.6834, allocations: 1.409 MB / 1.121 GB, free: 1.195 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.6847, allocations: 1.416 MB / 1.123 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000245/0.6849, allocations: 132 kB / 1.123 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002635/0.6876, allocations: 2.083 MB / 1.125 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001852/0.6895, allocations: 2.877 MB / 1.128 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002036/0.6915, allocations: 2.49 MB / 1.13 GB, free: 8.172 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.007156/0.6987, allocations: 10.5 MB / 1.14 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.6987, allocations: 4 kB / 1.14 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of FrontEnd: time 7.12e-07/0.6987, allocations: 3.938 kB / 1.14 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.645e-05/0.6987, allocations: 4 kB / 1.14 GB, free: 13.64 MB / 0.9044 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.01163/0.7104, allocations: 8.234 MB / 1.148 GB, free: 5.309 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.7104, allocations: 8.031 kB / 1.148 GB, free: 5.301 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002274/0.7106, allocations: 219.9 kB / 1.148 GB, free: 5.074 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001806/0.7125, allocations: 0.5995 MB / 1.149 GB, free: 4.469 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5195/1.232, allocations: 276 MB / 1.419 GB, free: 123.7 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.628e-05/1.232, allocations: 142.9 kB / 1.419 GB, free: 123.6 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00018/1.232, allocations: 184 kB / 1.419 GB, free: 123.4 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002286/1.235, allocations: 1.96 MB / 1.421 GB, free: 121.3 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/1.235, allocations: 3.938 kB / 1.421 GB, free: 121.3 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/1.235, allocations: 64 kB / 1.421 GB, free: 121.3 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/1.235, allocations: 36 kB / 1.421 GB, free: 121.2 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002156/1.237, allocations: 1.986 MB / 1.423 GB, free: 119.2 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03493/1.272, allocations: 69.9 MB / 1.491 GB, free: 49.24 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002281/1.274, allocations: 1.785 MB / 1.493 GB, free: 47.45 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000937/1.275, allocations: 1.082 MB / 1.494 GB, free: 46.36 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.204e-05/1.275, allocations: 36.95 kB / 1.494 GB, free: 46.32 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001223/1.276, allocations: 1.202 MB / 1.495 GB, free: 45.11 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=117): time 2.445e-06/1.276, allocations: 0 / 1.495 GB, free: 45.11 MB / 0.9981 GB Notification: Performance of matching and sorting (n=117): time 0.006413/1.283, allocations: 3.69 MB / 1.499 GB, free: 41.38 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/1.283, allocations: 346.5 kB / 1.499 GB, free: 40.99 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5952/1.878, allocations: 315.9 MB / 1.808 GB, free: 308.3 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0003478/1.879, allocations: 65.7 kB / 1.808 GB, free: 308.2 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.002167/1.881, allocations: 2.236 MB / 1.81 GB, free: 306.2 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003867/1.881, allocations: 385 kB / 1.81 GB, free: 306 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007221/1.882, allocations: 458.4 kB / 1.811 GB, free: 305.6 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 3.248e-05/1.882, allocations: 304.9 kB / 1.811 GB, free: 305.3 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001632/1.884, allocations: 1.523 MB / 1.812 GB, free: 303.7 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001687/1.885, allocations: 1.84 MB / 1.814 GB, free: 301.8 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002954/1.888, allocations: 3.233 MB / 1.817 GB, free: 298.5 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/1.888, allocations: 0 / 1.817 GB, free: 298.5 MB / 1.139 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.006365/1.895, allocations: 4.277 MB / 1.822 GB, free: 294.3 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/1.895, allocations: 167.5 kB / 1.822 GB, free: 294.1 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/1.895, allocations: 8 kB / 1.822 GB, free: 294.1 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005714/1.895, allocations: 88.5 kB / 1.822 GB, free: 294 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/1.897, allocations: 391.4 kB / 1.822 GB, free: 293.6 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001504/1.898, allocations: 1.53 MB / 1.824 GB, free: 292 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002925/1.901, allocations: 0.6331 MB / 1.824 GB, free: 291.3 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001547/1.901, allocations: 87.97 kB / 1.824 GB, free: 291.2 MB / 1.139 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.001876/1.903, allocations: 2.166 MB / 1.826 GB, free: 289.1 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001757/1.905, allocations: 460.7 kB / 1.827 GB, free: 288.6 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004341/1.909, allocations: 3.378 MB / 1.83 GB, free: 285.2 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/1.909, allocations: 15.94 kB / 1.83 GB, free: 285.2 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/1.909, allocations: 0.75 kB / 1.83 GB, free: 285.2 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/1.909, allocations: 3.984 kB / 1.83 GB, free: 285.2 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003845/1.913, allocations: 4.086 MB / 1.834 GB, free: 281.1 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/1.913, allocations: 7.281 kB / 1.834 GB, free: 281.1 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000649/1.914, allocations: 183.7 kB / 1.834 GB, free: 280.9 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004583/1.914, allocations: 82.58 kB / 1.834 GB, free: 280.8 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.69e-05/1.914, allocations: 41.28 kB / 1.834 GB, free: 280.8 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001267/1.916, allocations: 1.547 MB / 1.836 GB, free: 279.1 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/1.916, allocations: 8 kB / 1.836 GB, free: 279.1 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004414/1.92, allocations: 3.036 MB / 1.839 GB, free: 276 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002233/1.922, allocations: 1.771 MB / 1.841 GB, free: 274.2 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001087/1.923, allocations: 31.98 kB / 1.841 GB, free: 274.2 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002188/1.925, allocations: 412.6 kB / 1.841 GB, free: 273.8 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/1.926, allocations: 99.67 kB / 1.841 GB, free: 273.7 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-05/1.926, allocations: 63.97 kB / 1.841 GB, free: 273.6 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.1364/2.062, allocations: 251.5 MB / 2.087 GB, free: 22.1 MB / 1.139 GB Notification: Performance of sort global known variables: time 4.11e-07/2.062, allocations: 0 / 2.087 GB, free: 22.1 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003785/2.066, allocations: 1.387 MB / 2.088 GB, free: 20.79 MB / 1.139 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.007337/2.073, allocations: 4.451 MB / 2.093 GB, free: 16.61 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.004303/2.078, allocations: 4.326 MB / 2.097 GB, free: 12.26 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/2.078, allocations: 0 / 2.097 GB, free: 12.26 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001743/2.079, allocations: 1.906 MB / 2.099 GB, free: 10.34 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004502/2.084, allocations: 0.5582 MB / 2.099 GB, free: 9.785 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.852/3.936, allocations: 1.278 GB / 3.377 GB, free: 40.59 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001956/3.938, allocations: 3.015 MB / 3.38 GB, free: 37.57 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.003103/3.941, allocations: 1.682 MB / 3.382 GB, free: 36.06 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002495/3.943, allocations: 2.352 MB / 3.384 GB, free: 33.71 MB / 1.154 GB Notification: Performance of SimCode: time 5.51e-07/3.943, allocations: 2.656 kB / 3.384 GB, free: 33.71 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.766/5.709, allocations: 273.6 MB / 3.652 GB, free: 205.7 MB / 1.154 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001498/5.71, allocations: 305 kB / 3.652 GB, free: 205.3 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.597/10.31, allocations: 4 kB / 3.652 GB, free: 205.3 MB / 1.154 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1)