Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.001185/0.001185, allocations: 108 kB / 15.6 MB, free: 132 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.001189/0.001189, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.177/1.177, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.076/2.076, allocations: 390.3 MB / 0.6647 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 63.91 kB / 0.8127 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4641/0.4652, allocations: 140.4 MB / 0.9497 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.004368/0.4696, allocations: 4.465 MB / 0.9541 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1368/0.6064, allocations: 150.8 MB / 1.101 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006917/0.6072, allocations: 15.94 kB / 1.101 GB, free: 5.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004696/0.6076, allocations: 182.3 kB / 1.101 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001358/0.6091, allocations: 0.5353 MB / 1.102 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001546/0.6106, allocations: 0.8276 MB / 1.103 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009706/0.6116, allocations: 1.374 MB / 1.104 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007018/0.6123, allocations: 0.6258 MB / 1.105 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004301/0.6127, allocations: 498.2 kB / 1.105 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004721/0.6132, allocations: 0.5304 MB / 1.106 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001418/0.6134, allocations: 120 kB / 1.106 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005847/0.614, allocations: 471.6 kB / 1.106 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002281/0.6142, allocations: 307 kB / 1.107 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004002/0.6146, allocations: 0.5713 MB / 1.107 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.6158, allocations: 1.616 MB / 1.109 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.6159, allocations: 0 / 1.109 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6159, allocations: 0 / 1.109 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.6159, allocations: 0 / 1.109 GB, free: 14.3 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002186/0.6181, allocations: 1.464 MB / 1.11 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.6181, allocations: 12.03 kB / 1.11 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001328/0.6182, allocations: 139.7 kB / 1.11 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008252/0.6191, allocations: 199.3 kB / 1.111 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008623/0.6199, allocations: 0.7583 MB / 1.111 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.46e-05/0.62, allocations: 69.94 kB / 1.111 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.947e-05/0.6201, allocations: 91.98 kB / 1.111 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.6215, allocations: 0.9652 MB / 1.112 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.6215, allocations: 4 kB / 1.112 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.729e-05/0.6216, allocations: 40 kB / 1.112 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.6216, allocations: 20 kB / 1.112 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/0.6232, allocations: 1.155 MB / 1.114 GB, free: 9.25 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003414/0.6267, allocations: 2.667 MB / 1.116 GB, free: 6.508 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.628, allocations: 0.8471 MB / 1.117 GB, free: 5.656 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005002/0.6285, allocations: 318.7 kB / 1.117 GB, free: 5.34 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.676e-05/0.6286, allocations: 36.67 kB / 1.117 GB, free: 5.305 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008172/0.6295, allocations: 0.5276 MB / 1.118 GB, free: 4.754 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=88): time 2.204e-06/0.6295, allocations: 0 / 1.118 GB, free: 4.754 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88): time 0.002915/0.6324, allocations: 1.29 MB / 1.119 GB, free: 3.441 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.619e-05/0.6325, allocations: 192.9 kB / 1.119 GB, free: 3.211 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000649/0.6331, allocations: 0.649 MB / 1.12 GB, free: 2.559 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.816e-05/0.6332, allocations: 49.64 kB / 1.12 GB, free: 2.504 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002423/0.6334, allocations: 404.4 kB / 1.12 GB, free: 2.102 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/0.6336, allocations: 287.8 kB / 1.121 GB, free: 1.816 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/0.6338, allocations: 166.5 kB / 1.121 GB, free: 1.645 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.634, allocations: 390.7 kB / 1.121 GB, free: 1.254 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000482/0.6345, allocations: 265.9 kB / 1.121 GB, free: 0.9961 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005789/0.6351, allocations: 394.5 kB / 1.122 GB, free: 0.582 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.6361, allocations: 0.6282 MB / 1.122 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.6361, allocations: 0 / 1.122 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001774/0.6379, allocations: 0.8761 MB / 1.123 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.6379, allocations: 5.406 kB / 1.123 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.638, allocations: 0 / 1.123 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005459/0.6385, allocations: 88.73 kB / 1.123 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006327/0.6391, allocations: 163.8 kB / 1.124 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/0.6409, allocations: 1.626 MB / 1.125 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005997/0.6416, allocations: 99.19 kB / 1.125 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.837e-05/0.6416, allocations: 39.97 kB / 1.125 GB, free: 12.89 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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,decAng.tNext,$PRE.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 (97): * Single equations (assignments): 96 * 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.0003107/0.6419, allocations: 273.4 kB / 1.125 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.6421, allocations: 82.97 kB / 1.126 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002362/0.6445, allocations: 1.175 MB / 1.127 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.6445, allocations: 12 kB / 1.127 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.6445, allocations: 0 / 1.127 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.6445, allocations: 7.969 kB / 1.127 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008666/0.6454, allocations: 0.9384 MB / 1.128 GB, free: 10.33 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.6454, allocations: 3.984 kB / 1.128 GB, free: 10.33 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005762/0.646, allocations: 155.8 kB / 1.128 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004069/0.6464, allocations: 76.72 kB / 1.128 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.067e-05/0.6464, allocations: 27.98 kB / 1.128 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/0.6481, allocations: 1.662 MB / 1.13 GB, free: 8.262 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6481, allocations: 0 / 1.13 GB, free: 8.262 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/0.6499, allocations: 0.998 MB / 1.13 GB, free: 7.242 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002884/0.6502, allocations: 279.6 kB / 1.131 GB, free: 6.949 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.6503, allocations: 31.81 kB / 1.131 GB, free: 6.918 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006147/0.651, allocations: 71.92 kB / 1.131 GB, free: 6.848 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.6511, allocations: 72.89 kB / 1.131 GB, free: 6.777 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-05/0.6512, allocations: 39.97 kB / 1.131 GB, free: 6.738 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004935/0.6517, allocations: 483 kB / 1.131 GB, free: 6.273 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6517, allocations: 0 / 1.131 GB, free: 6.273 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006406/0.6523, allocations: 323.2 kB / 1.132 GB, free: 5.957 MB / 0.8887 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,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (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 (100): * Single equations (assignments): 93 * 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.003121/0.6554, allocations: 2.054 MB / 1.134 GB, free: 4.055 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002179/0.6576, allocations: 1.085 MB / 1.135 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.6576, allocations: 0 / 1.135 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008678/0.6585, allocations: 0.5431 MB / 1.135 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000999/0.6595, allocations: 296.7 kB / 1.136 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009799/0.6693, allocations: 6.859 MB / 1.142 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004835/0.6698, allocations: 1.041 MB / 1.143 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000713/0.6706, allocations: 279 kB / 1.144 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004895/0.6711, allocations: 415.2 kB / 1.144 GB, free: 9.336 MB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/0.6711, allocations: 0 / 1.144 GB, free: 9.336 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07397/0.745, allocations: 22.06 MB / 1.166 GB, free: 3.645 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.4, allocations: 17.94 kB / 1.166 GB, free: 3.625 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)