Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.001965/0.001965, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.002358/0.002358, allocations: 194.9 kB / 16.26 MB, free: 6.637 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.343/2.343, allocations: 222.9 MB / 239.9 MB, free: 4.512 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 3.761/3.761, allocations: 390.2 MB / 0.6644 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002725/0.002725, allocations: 63.89 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074/1.077, allocations: 140.4 MB / 0.9492 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.0104/1.088, allocations: 4.447 MB / 0.9536 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.3328/1.421, allocations: 148.4 MB / 1.098 GB, free: 8.656 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00152/1.422, allocations: 19.88 kB / 1.098 GB, free: 8.637 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001142/1.423, allocations: 130.9 kB / 1.099 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003503/1.427, allocations: 464.7 kB / 1.099 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003642/1.431, allocations: 0.7578 MB / 1.1 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002607/1.433, allocations: 1.359 MB / 1.101 GB, free: 5.941 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001253/1.434, allocations: 0.6159 MB / 1.102 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/1.436, allocations: 498.2 kB / 1.102 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008296/1.436, allocations: 0.515 MB / 1.103 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001921/1.437, allocations: 124 kB / 1.103 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/1.438, allocations: 459.7 kB / 1.103 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004214/1.438, allocations: 307 kB / 1.104 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007801/1.439, allocations: 0.5635 MB / 1.104 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003279/1.443, allocations: 1.597 MB / 1.106 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/1.443, allocations: 0 / 1.106 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.774e-06/1.443, allocations: 0 / 1.106 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.919e-05/1.443, allocations: 0 / 1.106 GB, free: 1.258 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003242/1.446, allocations: 1.464 MB / 1.107 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.963e-05/1.446, allocations: 8.031 kB / 1.107 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001835/1.446, allocations: 139.6 kB / 1.107 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/1.447, allocations: 183.4 kB / 1.107 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/1.449, allocations: 0.7622 MB / 1.108 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.579e-05/1.449, allocations: 66 kB / 1.108 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/1.449, allocations: 80 kB / 1.108 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/1.451, allocations: 0.9456 MB / 1.109 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.397e-05/1.451, allocations: 4 kB / 1.109 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.517e-05/1.451, allocations: 43.92 kB / 1.109 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/1.451, allocations: 20 kB / 1.109 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002313/1.453, allocations: 1.128 MB / 1.11 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005292/1.459, allocations: 2.55 MB / 1.113 GB, free: 9.652 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00189/1.461, allocations: 0.9149 MB / 1.114 GB, free: 8.711 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007908/1.462, allocations: 318.7 kB / 1.114 GB, free: 8.395 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/1.462, allocations: 32.67 kB / 1.114 GB, free: 8.363 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001338/1.463, allocations: 0.512 MB / 1.115 GB, free: 7.832 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=85): time 4.498e-06/1.463, allocations: 4 kB / 1.115 GB, free: 7.828 MB / 0.8731 GB Notification: Performance of matching and sorting (n=85): time 0.004315/1.467, allocations: 1.251 MB / 1.116 GB, free: 6.551 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001677/1.468, allocations: 200.9 kB / 1.116 GB, free: 6.312 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/1.469, allocations: 0.6294 MB / 1.117 GB, free: 5.68 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001154/1.469, allocations: 49.7 kB / 1.117 GB, free: 5.625 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008196/1.47, allocations: 400.4 kB / 1.117 GB, free: 5.227 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003233/1.47, allocations: 272 kB / 1.117 GB, free: 4.957 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003534/1.471, allocations: 158.5 kB / 1.117 GB, free: 4.793 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0003045/1.471, allocations: 394.7 kB / 1.118 GB, free: 4.398 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009004/1.472, allocations: 261.9 kB / 1.118 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/1.473, allocations: 371.4 kB / 1.118 GB, free: 3.754 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001933/1.475, allocations: 0.6094 MB / 1.119 GB, free: 3.129 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/1.475, allocations: 3.938 kB / 1.119 GB, free: 3.125 MB / 0.8731 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.003292/1.478, allocations: 0.833 MB / 1.12 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.662e-05/1.478, allocations: 11.94 kB / 1.12 GB, free: 2.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/1.478, allocations: 8.062 kB / 1.12 GB, free: 2.262 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008806/1.479, allocations: 84.75 kB / 1.12 GB, free: 2.176 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/1.48, allocations: 167.8 kB / 1.12 GB, free: 2.012 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003393/1.484, allocations: 1.626 MB / 1.122 GB, free: 240 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/1.485, allocations: 89.16 kB / 1.122 GB, free: 152 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/1.485, allocations: 39.84 kB / 1.122 GB, free: 112 kB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (93): * Single equations (assignments): 92 * 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.001018/1.486, allocations: 273.7 kB / 1.122 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004992/1.487, allocations: 90.95 kB / 1.122 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003686/1.491, allocations: 1.144 MB / 1.123 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/1.491, allocations: 8 kB / 1.123 GB, free: 14.58 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/1.491, allocations: 0 / 1.123 GB, free: 14.58 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/1.491, allocations: 7.984 kB / 1.123 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006602/1.497, allocations: 2.029 MB / 1.125 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.353e-05/1.497, allocations: 3.984 kB / 1.125 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001425/1.499, allocations: 155.8 kB / 1.125 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008289/1.5, allocations: 76.77 kB / 1.126 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001774/1.5, allocations: 27.98 kB / 1.126 GB, free: 12.22 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003489/1.503, allocations: 1.662 MB / 1.127 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.503, allocations: 8.125 kB / 1.127 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004183/1.508, allocations: 1.043 MB / 1.128 GB, free: 9.34 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/1.509, allocations: 287.6 kB / 1.128 GB, free: 9.039 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000279/1.509, allocations: 24 kB / 1.128 GB, free: 9.016 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/1.51, allocations: 63.92 kB / 1.129 GB, free: 8.953 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000271/1.511, allocations: 80.89 kB / 1.129 GB, free: 8.871 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/1.511, allocations: 39.97 kB / 1.129 GB, free: 8.832 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001057/1.512, allocations: 463 kB / 1.129 GB, free: 8.387 MB / 0.8887 GB Notification: Performance of sort global known variables: time 6.01e-07/1.512, allocations: 0 / 1.129 GB, free: 8.387 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001649/1.513, allocations: 323.1 kB / 1.129 GB, free: 8.07 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.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.004916/1.518, allocations: 2.097 MB / 1.131 GB, free: 6.125 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00282/1.521, allocations: 1.05 MB / 1.132 GB, free: 5.062 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.521, allocations: 4.188 kB / 1.132 GB, free: 5.059 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/1.522, allocations: 0.5471 MB / 1.133 GB, free: 4.504 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/1.524, allocations: 301.5 kB / 1.133 GB, free: 4.227 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02321/1.547, allocations: 7.135 MB / 1.14 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/1.549, allocations: 1.036 MB / 1.141 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002051/1.551, allocations: 262.9 kB / 1.142 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001057/1.552, allocations: 399.3 kB / 1.142 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of SimCode: time 2.425e-06/1.552, allocations: 0 / 1.142 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.198/2.75, allocations: 21.46 MB / 1.163 GB, free: 6.129 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004869/2.75, allocations: 310.1 kB / 1.163 GB, free: 5.746 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.611/7.361, allocations: 7.234 kB / 1.163 GB, free: 5.742 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)