Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.46/2.46, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.002118/0.002118, allocations: 180.8 kB / 360.6 MB, free: 7.293 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.198/2.198, allocations: 205.3 MB / 0.6191 GB, free: 12.17 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.001064/0.001064, allocations: 95.73 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.486e-05/2.497e-05, allocations: 3.984 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7962/0.7963, allocations: 115.3 MB / 0.9634 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.2/6.997, allocations: 2.071 GB / 3.034 GB, free: 47.44 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003326/6.997, allocations: 95.66 kB / 3.034 GB, free: 47.39 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8681/7.865, allocations: 57.05 MB / 3.09 GB, free: 319.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.246e-06/7.865, allocations: 4.719 kB / 3.09 GB, free: 319.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001093/7.865, allocations: 25.41 kB / 3.09 GB, free: 319.7 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.002661/7.868, allocations: 1.04 MB / 3.091 GB, free: 319.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/7.868, allocations: 10.28 kB / 3.091 GB, free: 319.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001489/7.87, allocations: 185.6 kB / 3.091 GB, free: 319.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00158/7.871, allocations: 0.6057 MB / 3.092 GB, free: 318.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.903e-05/7.871, allocations: 23.59 kB / 3.092 GB, free: 318.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/7.872, allocations: 44.09 kB / 3.092 GB, free: 318.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002443/7.874, allocations: 0.9721 MB / 3.093 GB, free: 318.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/7.876, allocations: 0.7134 MB / 3.094 GB, free: 318.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.147e-05/7.876, allocations: 0 / 3.094 GB, free: 318.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/7.876, allocations: 2.75 kB / 3.094 GB, free: 318.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/7.876, allocations: 19.28 kB / 3.094 GB, free: 318.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006182/7.882, allocations: 2.218 MB / 3.096 GB, free: 318.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/7.884, allocations: 0.7242 MB / 3.097 GB, free: 317.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006384/7.885, allocations: 236.6 kB / 3.097 GB, free: 317.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/7.885, allocations: 31.41 kB / 3.097 GB, free: 317.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009446/7.886, allocations: 391 kB / 3.097 GB, free: 317.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=72): time 4.038e-06/7.886, allocations: 0 / 3.097 GB, free: 317.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=72): time 0.002775/7.889, allocations: 0.6363 MB / 3.098 GB, free: 317.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.376e-05/7.889, allocations: 247.5 kB / 3.098 GB, free: 317.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/7.89, allocations: 0.4898 MB / 3.098 GB, free: 317.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002252/7.89, allocations: 28.02 kB / 3.098 GB, free: 317.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003816/7.891, allocations: 372.7 kB / 3.099 GB, free: 317.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003559/7.891, allocations: 234.2 kB / 3.099 GB, free: 317 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-05/7.891, allocations: 0 / 3.099 GB, free: 317 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001559/7.891, allocations: 378.4 kB / 3.099 GB, free: 316.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005069/7.892, allocations: 182.4 kB / 3.1 GB, free: 316.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000617/7.893, allocations: 285.6 kB / 3.1 GB, free: 316.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006249/7.893, allocations: 233.6 kB / 3.1 GB, free: 316.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/7.893, allocations: 0 / 3.1 GB, free: 316.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00256/7.896, allocations: 0.6321 MB / 3.101 GB, free: 316.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/7.896, allocations: 8.625 kB / 3.101 GB, free: 316.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/7.896, allocations: 1.844 kB / 3.101 GB, free: 316.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/7.897, allocations: 81.89 kB / 3.101 GB, free: 316.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/7.898, allocations: 136.1 kB / 3.101 GB, free: 316.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002609/7.901, allocations: 1.455 MB / 3.102 GB, free: 315.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/7.902, allocations: 62.17 kB / 3.102 GB, free: 315.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/7.902, allocations: 27.22 kB / 3.102 GB, free: 315.3 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.0002616/7.903, allocations: 122.3 kB / 3.103 GB, free: 315.2 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00272/7.905, allocations: 0.6392 MB / 3.103 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004165/7.906, allocations: 73.42 kB / 3.103 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003674/7.909, allocations: 0.9158 MB / 3.104 GB, free: 314.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/7.909, allocations: 9 kB / 3.104 GB, free: 314.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/7.91, allocations: 1.5 kB / 3.104 GB, free: 314.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.577e-05/7.91, allocations: 8.875 kB / 3.104 GB, free: 314.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004995/7.915, allocations: 1.688 MB / 3.106 GB, free: 314.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/7.915, allocations: 0 / 3.106 GB, free: 314.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/7.916, allocations: 150.5 kB / 3.106 GB, free: 314.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008646/7.917, allocations: 81.34 kB / 3.106 GB, free: 314.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001707/7.917, allocations: 18.22 kB / 3.106 GB, free: 314.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002321/7.919, allocations: 1.475 MB / 3.107 GB, free: 313.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/7.919, allocations: 1.062 kB / 3.107 GB, free: 313.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002734/7.922, allocations: 0.8233 MB / 3.108 GB, free: 313.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000761/7.923, allocations: 279.2 kB / 3.109 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002176/7.923, allocations: 3.812 kB / 3.109 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/7.924, allocations: 51.44 kB / 3.109 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002251/7.924, allocations: 60.8 kB / 3.109 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/7.925, allocations: 31.59 kB / 3.109 GB, free: 313 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007932/7.925, allocations: 402 kB / 3.109 GB, free: 312.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.11e-07/7.925, allocations: 4.281 kB / 3.109 GB, free: 312.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001777/7.927, allocations: 299.8 kB / 3.109 GB, free: 312.9 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.005427/7.933, allocations: 2.302 MB / 3.112 GB, free: 312.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002158/7.935, allocations: 0.6374 MB / 3.112 GB, free: 312 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/7.935, allocations: 1.312 kB / 3.112 GB, free: 312 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001273/7.936, allocations: 453.5 kB / 3.113 GB, free: 311.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002033/7.938, allocations: 212.1 kB / 3.113 GB, free: 311.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007093/7.945, allocations: 1.452 MB / 3.114 GB, free: 311.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000807/7.946, allocations: 1.022 MB / 3.115 GB, free: 310.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001677/7.948, allocations: 252 kB / 3.116 GB, free: 310.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009362/7.949, allocations: 347.9 kB / 3.116 GB, free: 310.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.593e-06/7.949, allocations: 0 / 3.116 GB, free: 310.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1108/8.06, allocations: 22.66 MB / 3.138 GB, free: 309.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002213/8.06, allocations: 206.8 kB / 3.138 GB, free: 308.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.605/11.67, allocations: 1.375 kB / 3.138 GB, free: 308.9 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)