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.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.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.001163/0.001163, 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.001119/0.001119, allocations: 198.1 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.161/1.161, allocations: 222.9 MB / 239.8 MB, free: 4.637 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.071/2.071, allocations: 390.2 MB / 0.6643 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 59.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.474/0.4752, allocations: 140.4 MB / 0.9491 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004173/0.4794, allocations: 4.456 MB / 0.9534 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.134/0.6134, allocations: 148.3 MB / 1.098 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007501/0.6142, allocations: 19.88 kB / 1.098 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005716/0.6148, allocations: 138.9 kB / 1.098 GB, free: 8.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001504/0.6163, allocations: 441 kB / 1.099 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.618, allocations: 0.7374 MB / 1.099 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001227/0.6192, allocations: 1.257 MB / 1.101 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007512/0.62, allocations: 0.6039 MB / 1.101 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005414/0.6205, allocations: 442.2 kB / 1.102 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004429/0.621, allocations: 489.7 kB / 1.102 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.6211, allocations: 56 kB / 1.102 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006881/0.6218, allocations: 399.6 kB / 1.103 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002125/0.622, allocations: 243 kB / 1.103 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003789/0.6224, allocations: 0.4971 MB / 1.103 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.6236, allocations: 1.538 MB / 1.105 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.6237, allocations: 3.938 kB / 1.105 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.01e-07/0.6237, allocations: 3.938 kB / 1.105 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.345e-06/0.6237, allocations: 0 / 1.105 GB, free: 1.957 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.002324/0.626, allocations: 1.464 MB / 1.106 GB, free: 456 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.6261, allocations: 12.03 kB / 1.106 GB, free: 444 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000148/0.6262, allocations: 135.6 kB / 1.106 GB, free: 300 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008108/0.627, allocations: 187.4 kB / 1.107 GB, free: 112 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008771/0.6279, allocations: 0.7544 MB / 1.107 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.641e-05/0.628, allocations: 69.98 kB / 1.107 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.629e-05/0.6281, allocations: 80 kB / 1.107 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.6295, allocations: 0.9495 MB / 1.108 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.6295, allocations: 0 / 1.108 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.958e-05/0.6296, allocations: 40 kB / 1.108 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/0.6296, allocations: 23.94 kB / 1.108 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.6312, allocations: 1.136 MB / 1.11 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003363/0.6346, allocations: 2.554 MB / 1.112 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/0.636, allocations: 0.9102 MB / 1.113 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005057/0.6366, allocations: 314.7 kB / 1.113 GB, free: 9.102 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.53e-05/0.6366, allocations: 32.62 kB / 1.113 GB, free: 9.07 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008377/0.6375, allocations: 0.512 MB / 1.114 GB, free: 8.539 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=85): time 1.813e-06/0.6375, allocations: 0 / 1.114 GB, free: 8.539 MB / 0.8731 GB Notification: Performance of matching and sorting (n=85): time 0.002966/0.6405, allocations: 1.259 MB / 1.115 GB, free: 7.254 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.145e-05/0.6406, allocations: 196.9 kB / 1.115 GB, free: 7.02 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006476/0.6412, allocations: 0.6333 MB / 1.116 GB, free: 6.379 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.333e-05/0.6413, allocations: 41.7 kB / 1.116 GB, free: 6.332 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000249/0.6415, allocations: 408.3 kB / 1.116 GB, free: 5.926 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/0.6417, allocations: 276 kB / 1.117 GB, free: 5.652 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/0.642, allocations: 150.6 kB / 1.117 GB, free: 5.496 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.6421, allocations: 394.8 kB / 1.117 GB, free: 5.102 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004678/0.6426, allocations: 253.9 kB / 1.117 GB, free: 4.855 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005637/0.6431, allocations: 379.3 kB / 1.118 GB, free: 4.457 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.6442, allocations: 0.6094 MB / 1.118 GB, free: 3.832 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6442, allocations: 0 / 1.118 GB, free: 3.832 MB / 0.8731 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001744/0.6459, allocations: 0.8409 MB / 1.119 GB, free: 2.98 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.6459, allocations: 7.938 kB / 1.119 GB, free: 2.973 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.646, allocations: 0 / 1.119 GB, free: 2.973 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005549/0.6465, allocations: 88.77 kB / 1.119 GB, free: 2.883 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006007/0.6471, allocations: 159.8 kB / 1.119 GB, free: 2.727 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001756/0.6489, allocations: 1.512 MB / 1.121 GB, free: 1.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005932/0.6495, allocations: 105.3 kB / 1.121 GB, free: 0.9688 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.668e-05/0.6496, allocations: 31.98 kB / 1.121 GB, free: 0.9375 MB / 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.0003287/0.6499, allocations: 273.3 kB / 1.121 GB, free: 0.6602 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.65, allocations: 82.97 kB / 1.121 GB, free: 0.5781 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002299/0.6524, allocations: 1.14 MB / 1.122 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.6524, allocations: 15.98 kB / 1.122 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.6524, allocations: 3.938 kB / 1.122 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.6524, allocations: 7.969 kB / 1.122 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002903/0.6553, allocations: 2.036 MB / 1.124 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.6553, allocations: 0 / 1.124 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005467/0.6559, allocations: 151.8 kB / 1.125 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004555/0.6563, allocations: 84.77 kB / 1.125 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.758e-05/0.6564, allocations: 23.98 kB / 1.125 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001619/0.658, allocations: 1.548 MB / 1.126 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.6581, allocations: 0 / 1.126 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.6599, allocations: 1.043 MB / 1.127 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003107/0.6602, allocations: 295.5 kB / 1.127 GB, free: 9.988 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.6604, allocations: 24 kB / 1.127 GB, free: 9.965 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006566/0.661, allocations: 69.95 kB / 1.128 GB, free: 9.898 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.6612, allocations: 76.89 kB / 1.128 GB, free: 9.82 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.648e-05/0.6612, allocations: 35.97 kB / 1.128 GB, free: 9.785 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004762/0.6617, allocations: 467 kB / 1.128 GB, free: 9.332 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6617, allocations: 0 / 1.128 GB, free: 9.332 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006907/0.6624, allocations: 319.2 kB / 1.128 GB, free: 9.02 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.003197/0.6656, allocations: 2.107 MB / 1.13 GB, free: 7.062 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001417/0.6671, allocations: 0.8353 MB / 1.131 GB, free: 6.215 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6671, allocations: 0 / 1.131 GB, free: 6.215 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008658/0.6679, allocations: 0.5392 MB / 1.132 GB, free: 5.668 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.669, allocations: 265.7 kB / 1.132 GB, free: 5.414 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/0.68, allocations: 7.148 MB / 1.139 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005239/0.6806, allocations: 1.032 MB / 1.14 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007364/0.6813, allocations: 270.9 kB / 1.14 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005041/0.6818, allocations: 403.3 kB / 1.141 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of SimCode: time 4.01e-07/0.6818, allocations: 0 / 1.141 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4969/1.179, allocations: 20.83 MB / 1.161 GB, free: 7.938 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002587/1.179, allocations: 322.9 kB / 1.161 GB, free: 7.547 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.311/3.49, allocations: 0 / 1.161 GB, free: 7.547 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)