Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.ZenithAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.854/1.854, allocations: 285.6 MB / 293.1 MB, free: 10.26 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.001156/0.001156, allocations: 172.9 kB / 361.4 MB, free: 6.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.573/2.573, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001208/0.001208, allocations: 89.5 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.573e-05/2.576e-05, allocations: 0 / 0.8518 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.172/1.172, allocations: 115.3 MB / 0.9645 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.671/8.843, allocations: 2.071 GB / 3.035 GB, free: 44.08 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004389/8.844, allocations: 90.7 kB / 3.036 GB, free: 44.04 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9894/9.833, allocations: 57.06 MB / 3.091 GB, free: 319.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.685e-06/9.833, allocations: 0 / 3.091 GB, free: 319.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001012/9.833, allocations: 29.81 kB / 3.091 GB, free: 319.5 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.002182/9.835, allocations: 1.041 MB / 3.092 GB, free: 318.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.838e-05/9.836, allocations: 9.531 kB / 3.092 GB, free: 318.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/9.837, allocations: 181.1 kB / 3.092 GB, free: 318.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/9.838, allocations: 0.6085 MB / 3.093 GB, free: 318.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.061e-05/9.838, allocations: 28.56 kB / 3.093 GB, free: 318.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/9.838, allocations: 44.56 kB / 3.093 GB, free: 318.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001628/9.84, allocations: 0.9686 MB / 3.094 GB, free: 318.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/9.841, allocations: 0.7119 MB / 3.095 GB, free: 318.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/9.841, allocations: 0 / 3.095 GB, free: 318.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.004e-05/9.841, allocations: 1 kB / 3.095 GB, free: 318.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/9.841, allocations: 20.19 kB / 3.095 GB, free: 318.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004304/9.845, allocations: 2.216 MB / 3.097 GB, free: 317.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/9.847, allocations: 0.7162 MB / 3.098 GB, free: 317.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004224/9.847, allocations: 240.6 kB / 3.098 GB, free: 317.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/9.847, allocations: 36.47 kB / 3.098 GB, free: 317.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006787/9.848, allocations: 383.5 kB / 3.098 GB, free: 317.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=72): time 3.236e-06/9.848, allocations: 0 / 3.098 GB, free: 317.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=72): time 0.001802/9.85, allocations: 0.6424 MB / 3.099 GB, free: 317.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.707e-05/9.85, allocations: 243.7 kB / 3.099 GB, free: 317.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007734/9.851, allocations: 498.4 kB / 3.1 GB, free: 317.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.007e-05/9.851, allocations: 26.83 kB / 3.1 GB, free: 317.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003303/9.851, allocations: 378.8 kB / 3.1 GB, free: 316.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/9.851, allocations: 226.7 kB / 3.1 GB, free: 316.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/9.851, allocations: 0 / 3.1 GB, free: 316.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001943/9.852, allocations: 375.5 kB / 3.101 GB, free: 316.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000396/9.852, allocations: 185.2 kB / 3.101 GB, free: 316.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004892/9.852, allocations: 286.2 kB / 3.101 GB, free: 316.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004976/9.853, allocations: 229.2 kB / 3.101 GB, free: 316.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/9.853, allocations: 2.062 kB / 3.101 GB, free: 316.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001792/9.855, allocations: 0.638 MB / 3.102 GB, free: 316.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.801e-05/9.855, allocations: 10.17 kB / 3.102 GB, free: 316.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/9.855, allocations: 2.531 kB / 3.102 GB, free: 316.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006786/9.856, allocations: 78.47 kB / 3.102 GB, free: 316.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006193/9.856, allocations: 142.9 kB / 3.102 GB, free: 316.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00193/9.858, allocations: 1.45 MB / 3.104 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006195/9.859, allocations: 63.92 kB / 3.104 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-05/9.859, allocations: 26.77 kB / 3.104 GB, free: 315 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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.0002143/9.859, allocations: 122.2 kB / 3.104 GB, free: 314.9 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001452/9.86, allocations: 0.643 MB / 3.104 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/9.861, allocations: 71.97 kB / 3.104 GB, free: 314.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002358/9.863, allocations: 0.9108 MB / 3.105 GB, free: 314.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/9.863, allocations: 16.39 kB / 3.105 GB, free: 314.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/9.863, allocations: 0 / 3.105 GB, free: 314.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-05/9.863, allocations: 4.734 kB / 3.105 GB, free: 314.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004029/9.867, allocations: 1.69 MB / 3.107 GB, free: 314.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/9.867, allocations: 2.562 kB / 3.107 GB, free: 314.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007149/9.868, allocations: 148.3 kB / 3.107 GB, free: 314.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006195/9.868, allocations: 83.3 kB / 3.107 GB, free: 314.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.891e-05/9.869, allocations: 16.2 kB / 3.107 GB, free: 314.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002217/9.871, allocations: 1.475 MB / 3.109 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/9.871, allocations: 3.953 kB / 3.109 GB, free: 313.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00256/9.873, allocations: 0.8208 MB / 3.109 GB, free: 312.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007123/9.874, allocations: 280.8 kB / 3.11 GB, free: 312.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002588/9.874, allocations: 3.047 kB / 3.11 GB, free: 312.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007383/9.875, allocations: 52.44 kB / 3.11 GB, free: 312.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002104/9.875, allocations: 60.08 kB / 3.11 GB, free: 312.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.098e-05/9.875, allocations: 30.44 kB / 3.11 GB, free: 312.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008218/9.876, allocations: 402.1 kB / 3.11 GB, free: 312.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/9.876, allocations: 2.312 kB / 3.11 GB, free: 312.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001736/9.878, allocations: 296.4 kB / 3.111 GB, free: 312.6 MB / 0.948 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * 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.004795/9.883, allocations: 2.317 MB / 3.113 GB, free: 311.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001555/9.884, allocations: 0.6463 MB / 3.113 GB, free: 311.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/9.884, allocations: 3.531 kB / 3.113 GB, free: 311.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008768/9.885, allocations: 449.8 kB / 3.114 GB, free: 311.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/9.887, allocations: 212.2 kB / 3.114 GB, free: 311.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004727/9.892, allocations: 1.45 MB / 3.115 GB, free: 311.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007882/9.892, allocations: 1.02 MB / 3.116 GB, free: 310.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001105/9.894, allocations: 247.9 kB / 3.117 GB, free: 310.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005825/9.894, allocations: 342.2 kB / 3.117 GB, free: 310.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.553e-06/9.894, allocations: 0 / 3.117 GB, free: 310.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07755/9.972, allocations: 22.68 MB / 3.139 GB, free: 308.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/9.972, allocations: 215.7 kB / 3.139 GB, free: 308.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.539/13.51, allocations: 0 / 3.139 GB, free: 308.5 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)