Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.758/1.758, allocations: 288.2 MB / 303.2 MB, free: 8.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001513/0.001513, allocations: 181.6 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.661/1.661, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008959/0.0008957, allocations: 90.92 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004197/0.0004198, allocations: 14.67 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2472, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.004027/0.2513, allocations: 3.55 MB / 0.9829 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6913/0.9426, allocations: 127.3 MB / 1.107 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008302/0.9435, allocations: 18.16 kB / 1.107 GB, free: 2.297 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000404/0.9439, allocations: 72.14 kB / 1.107 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001617/0.9456, allocations: 436.9 kB / 1.108 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.9476, allocations: 0.6194 MB / 1.108 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001353/0.949, allocations: 0.7589 MB / 1.109 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007731/0.9498, allocations: 462.2 kB / 1.11 GB, free: 2.066 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005562/0.9503, allocations: 320 kB / 1.11 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004855/0.9508, allocations: 308.6 kB / 1.11 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.47e-05/0.9509, allocations: 22 kB / 1.11 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009181/0.9518, allocations: 269.7 kB / 1.11 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002521/0.9521, allocations: 169.7 kB / 1.111 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003259/0.9524, allocations: 180.8 kB / 1.111 GB, free: 17.8 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001728/0.9542, allocations: 1.047 MB / 1.112 GB, free: 17.72 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.9542, allocations: 1 kB / 1.112 GB, free: 17.72 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.303e-06/0.9542, allocations: 4 kB / 1.112 GB, free: 17.72 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.263e-05/0.9542, allocations: 0 / 1.112 GB, free: 17.72 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002521/0.9567, allocations: 1.154 MB / 1.113 GB, free: 17 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.9568, allocations: 10.44 kB / 1.113 GB, free: 17 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001742/0.957, allocations: 126.2 kB / 1.113 GB, free: 16.96 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00089/0.9579, allocations: 192.4 kB / 1.113 GB, free: 16.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.959, allocations: 0.6869 MB / 1.114 GB, free: 16.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.9591, allocations: 69.2 kB / 1.114 GB, free: 16.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.9592, allocations: 74.94 kB / 1.114 GB, free: 16.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.9608, allocations: 0.8769 MB / 1.115 GB, free: 16.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.9609, allocations: 0 / 1.115 GB, free: 16.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.909e-05/0.9609, allocations: 34.8 kB / 1.115 GB, free: 16.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.774e-05/0.961, allocations: 26.41 kB / 1.115 GB, free: 16.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001846/0.9628, allocations: 1.087 MB / 1.116 GB, free: 16.41 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004209/0.967, allocations: 2.44 MB / 1.118 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001998/0.9691, allocations: 0.8766 MB / 1.119 GB, free: 15.45 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.5e-05/0.9692, allocations: 32.14 kB / 1.119 GB, free: 15.45 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008835/0.9701, allocations: 449.2 kB / 1.12 GB, free: 15.38 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 2.605e-06/0.9701, allocations: 0 / 1.12 GB, free: 15.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.003175/0.9733, allocations: 1.142 MB / 1.121 GB, free: 15.17 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.9734, allocations: 191.8 kB / 1.121 GB, free: 14.95 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008181/0.9742, allocations: 0.5753 MB / 1.122 GB, free: 14.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.29e-05/0.9743, allocations: 42.42 kB / 1.122 GB, free: 14.79 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003088/0.9746, allocations: 379.5 kB / 1.122 GB, free: 14.61 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002246/0.9748, allocations: 252.3 kB / 1.122 GB, free: 14.45 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.9749, allocations: 11.31 kB / 1.122 GB, free: 14.45 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.9751, allocations: 379.4 kB / 1.123 GB, free: 14.14 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004403/0.9755, allocations: 236.1 kB / 1.123 GB, free: 14.13 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000558/0.9761, allocations: 332.8 kB / 1.123 GB, free: 14.05 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005318/0.9766, allocations: 279.6 kB / 1.123 GB, free: 14.04 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.9766, allocations: 1.969 kB / 1.123 GB, free: 14.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00166/0.9783, allocations: 0.7647 MB / 1.124 GB, free: 13.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.9783, allocations: 4.875 kB / 1.124 GB, free: 13.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.9783, allocations: 0 / 1.124 GB, free: 13.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005567/0.9789, allocations: 84.14 kB / 1.124 GB, free: 13.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005907/0.9795, allocations: 147.9 kB / 1.124 GB, free: 13.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001993/0.9815, allocations: 1.527 MB / 1.126 GB, free: 12.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007195/0.9822, allocations: 83.72 kB / 1.126 GB, free: 12.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.166e-05/0.9823, allocations: 28.86 kB / 1.126 GB, free: 12.58 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005293/0.9829, allocations: 259.7 kB / 1.126 GB, free: 12.45 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.983, allocations: 77.16 kB / 1.126 GB, free: 12.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002502/0.9855, allocations: 1.093 MB / 1.127 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.9855, allocations: 9.5 kB / 1.127 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.9855, allocations: 0 / 1.127 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/0.9856, allocations: 7.938 kB / 1.127 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003821/0.9894, allocations: 1.952 MB / 1.129 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.9894, allocations: 4 kB / 1.129 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006252/0.99, allocations: 160.7 kB / 1.129 GB, free: 11.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005061/0.9906, allocations: 82.91 kB / 1.129 GB, free: 11.28 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-05/0.9906, allocations: 25.95 kB / 1.13 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002109/0.9927, allocations: 1.556 MB / 1.131 GB, free: 9.902 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.9928, allocations: 4.062 kB / 1.131 GB, free: 9.898 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002398/0.9952, allocations: 0.962 MB / 1.132 GB, free: 9.582 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006537/0.9958, allocations: 279.7 kB / 1.132 GB, free: 9.387 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.996, allocations: 22.81 kB / 1.132 GB, free: 9.383 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007211/0.9967, allocations: 71.09 kB / 1.132 GB, free: 9.363 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/0.9969, allocations: 68.05 kB / 1.132 GB, free: 9.332 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.997, allocations: 37.09 kB / 1.132 GB, free: 9.324 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009069/0.998, allocations: 432.5 kB / 1.133 GB, free: 9.172 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.873e-06/0.998, allocations: 0 / 1.133 GB, free: 9.172 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001485/0.9995, allocations: 286 kB / 1.133 GB, free: 9.117 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004716/1.004, allocations: 1.978 MB / 1.135 GB, free: 8.098 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00223/1.006, allocations: 0.7662 MB / 1.136 GB, free: 7.867 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/1.007, allocations: 0 / 1.136 GB, free: 7.867 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001248/1.008, allocations: 0.517 MB / 1.136 GB, free: 7.672 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/1.009, allocations: 247.7 kB / 1.137 GB, free: 7.594 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01342/1.023, allocations: 5.183 MB / 1.142 GB, free: 5.074 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009819/1.024, allocations: 1.036 MB / 1.143 GB, free: 4.227 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001245/1.025, allocations: 260.9 kB / 1.143 GB, free: 4.098 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006335/1.026, allocations: 369.8 kB / 1.143 GB, free: 4.051 MB / 0.698 GB Notification: Performance of SimCode: time 1.773e-06/1.026, allocations: 3.938 kB / 1.143 GB, free: 4.047 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07191/1.098, allocations: 20.15 MB / 1.163 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003926/1.098, allocations: 294.7 kB / 1.163 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.704/3.802, allocations: 0 / 1.163 GB, free: 10.02 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)