Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.001157/0.001157, 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.001125/0.001125, allocations: 194.3 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.163/1.163, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.048/2.048, allocations: 390.3 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 55.91 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4754/0.4766, allocations: 140.4 MB / 0.9497 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.004583/0.4812, allocations: 4.497 MB / 0.9541 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1308/0.612, allocations: 150.7 MB / 1.101 GB, free: 6.059 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007353/0.6127, allocations: 15.94 kB / 1.101 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005444/0.6133, allocations: 174.3 kB / 1.101 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001608/0.6149, allocations: 0.5206 MB / 1.102 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001809/0.6168, allocations: 0.8744 MB / 1.103 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001251/0.618, allocations: 1.382 MB / 1.104 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007765/0.6188, allocations: 0.6372 MB / 1.105 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005765/0.6194, allocations: 0.5021 MB / 1.105 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005768/0.62, allocations: 0.5211 MB / 1.106 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001849/0.6202, allocations: 120 kB / 1.106 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000754/0.6209, allocations: 487.6 kB / 1.106 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002484/0.6212, allocations: 311 kB / 1.107 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000461/0.6217, allocations: 0.5792 MB / 1.107 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001517/0.6232, allocations: 1.655 MB / 1.109 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.6232, allocations: 0 / 1.109 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.355e-06/0.6232, allocations: 3.984 kB / 1.109 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.265e-05/0.6232, allocations: 0 / 1.109 GB, free: 14.26 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002434/0.6257, allocations: 1.487 MB / 1.11 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.6257, allocations: 12.03 kB / 1.11 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001379/0.6259, allocations: 147.8 kB / 1.11 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008278/0.6267, allocations: 183.3 kB / 1.111 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009077/0.6276, allocations: 0.7738 MB / 1.111 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.021e-05/0.6277, allocations: 66 kB / 1.111 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-05/0.6278, allocations: 88 kB / 1.112 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.6292, allocations: 0.9769 MB / 1.112 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.6292, allocations: 0 / 1.112 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.067e-05/0.6293, allocations: 43.98 kB / 1.113 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.6293, allocations: 20 kB / 1.113 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00163/0.631, allocations: 1.155 MB / 1.114 GB, free: 9.176 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003629/0.6346, allocations: 2.695 MB / 1.116 GB, free: 6.406 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001884/0.6365, allocations: 0.9849 MB / 1.117 GB, free: 5.398 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005267/0.637, allocations: 326.7 kB / 1.118 GB, free: 5.074 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.865e-05/0.6371, allocations: 38.73 kB / 1.118 GB, free: 5.039 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000873/0.638, allocations: 0.5392 MB / 1.118 GB, free: 4.477 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=88): time 1.924e-06/0.638, allocations: 0 / 1.118 GB, free: 4.477 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88): time 0.002979/0.641, allocations: 1.294 MB / 1.119 GB, free: 3.16 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.831e-05/0.6411, allocations: 196.9 kB / 1.12 GB, free: 2.926 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000664/0.6417, allocations: 0.6528 MB / 1.12 GB, free: 2.27 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.527e-05/0.6418, allocations: 41.7 kB / 1.12 GB, free: 2.223 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000247/0.6421, allocations: 404.5 kB / 1.121 GB, free: 1.82 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/0.6423, allocations: 283.9 kB / 1.121 GB, free: 1.539 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002118/0.6425, allocations: 162.5 kB / 1.121 GB, free: 1.371 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.6426, allocations: 386.8 kB / 1.121 GB, free: 0.9844 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004971/0.6431, allocations: 281.8 kB / 1.122 GB, free: 0.7109 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005797/0.6437, allocations: 374.5 kB / 1.122 GB, free: 324 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.6448, allocations: 0.6321 MB / 1.123 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.6448, allocations: 0 / 1.123 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001772/0.6466, allocations: 0.8682 MB / 1.124 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.6466, allocations: 7.938 kB / 1.124 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.6466, allocations: 0 / 1.124 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005437/0.6472, allocations: 84.83 kB / 1.124 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000623/0.6478, allocations: 163.8 kB / 1.124 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/0.6496, allocations: 1.636 MB / 1.125 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006388/0.6502, allocations: 103.2 kB / 1.125 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.759e-05/0.6503, allocations: 35.92 kB / 1.126 GB, free: 12.62 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: 19 (solAzi.outsidePolarCircle,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 (96): * Single equations (assignments): 95 * 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.0003134/0.6506, allocations: 271.5 kB / 1.126 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.6508, allocations: 86.88 kB / 1.126 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002335/0.6531, allocations: 1.195 MB / 1.127 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.6531, allocations: 12 kB / 1.127 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.6531, allocations: 0 / 1.127 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.6532, allocations: 3.984 kB / 1.127 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00296/0.6561, allocations: 2.118 MB / 1.129 GB, free: 8.859 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.6561, allocations: 4 kB / 1.129 GB, free: 8.855 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005909/0.6567, allocations: 159.8 kB / 1.129 GB, free: 8.699 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004057/0.6571, allocations: 80.72 kB / 1.129 GB, free: 8.617 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.742e-05/0.6572, allocations: 31.97 kB / 1.129 GB, free: 8.586 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001606/0.6588, allocations: 1.646 MB / 1.131 GB, free: 6.793 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6588, allocations: 3.938 kB / 1.131 GB, free: 6.789 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/0.6607, allocations: 1.097 MB / 1.132 GB, free: 5.676 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003031/0.661, allocations: 291.6 kB / 1.132 GB, free: 5.371 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.6612, allocations: 20 kB / 1.132 GB, free: 5.352 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006489/0.6618, allocations: 74.11 kB / 1.132 GB, free: 5.281 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.662, allocations: 84.88 kB / 1.133 GB, free: 5.195 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.859e-05/0.662, allocations: 47.97 kB / 1.133 GB, free: 5.148 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004752/0.6625, allocations: 467 kB / 1.133 GB, free: 4.699 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6625, allocations: 0 / 1.133 GB, free: 4.699 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006979/0.6632, allocations: 339.2 kB / 1.133 GB, free: 4.367 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 (106): * Single equations (assignments): 99 * 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.003194/0.6664, allocations: 2.157 MB / 1.135 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002222/0.6687, allocations: 1.101 MB / 1.137 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.6687, allocations: 7.938 kB / 1.137 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008692/0.6696, allocations: 0.5627 MB / 1.137 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.6706, allocations: 297.2 kB / 1.137 GB, free: 408 kB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009941/0.6806, allocations: 6.912 MB / 1.144 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000515/0.6811, allocations: 1.048 MB / 1.145 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007238/0.6818, allocations: 279 kB / 1.145 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004986/0.6823, allocations: 415.2 kB / 1.146 GB, free: 7.551 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/0.6824, allocations: 0 / 1.146 GB, free: 7.551 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.213/1.895, allocations: 22.3 MB / 1.168 GB, free: 1.602 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 12/13.9, allocations: 3.938 kB / 1.168 GB, free: 1.598 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)