Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.572/2.572, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.001525/0.001524, allocations: 184.8 kB / 360.6 MB, free: 7.277 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.252/2.252, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001063/0.001062, allocations: 92.05 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.127e-05/2.125e-05, allocations: 4 kB / 0.8509 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8052/0.8052, allocations: 115.3 MB / 0.9634 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.075/6.881, allocations: 2.071 GB / 3.034 GB, free: 48.13 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/6.881, allocations: 95.41 kB / 3.034 GB, free: 48.08 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8585/7.739, allocations: 56.47 MB / 3.089 GB, free: 320 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.364e-06/7.739, allocations: 0 / 3.089 GB, free: 320 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001108/7.74, allocations: 23.97 kB / 3.089 GB, free: 320 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.002524/7.742, allocations: 1.024 MB / 3.09 GB, free: 319.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/7.742, allocations: 16.47 kB / 3.09 GB, free: 319.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/7.744, allocations: 178.7 kB / 3.091 GB, free: 319.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/7.745, allocations: 0.597 MB / 3.091 GB, free: 319.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.184e-05/7.745, allocations: 24.47 kB / 3.091 GB, free: 319.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/7.745, allocations: 45.91 kB / 3.091 GB, free: 319.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002276/7.748, allocations: 0.9566 MB / 3.092 GB, free: 319.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/7.749, allocations: 0.6909 MB / 3.093 GB, free: 319 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/7.749, allocations: 0 / 3.093 GB, free: 319 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/7.749, allocations: 0 / 3.093 GB, free: 319 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/7.749, allocations: 21.53 kB / 3.093 GB, free: 319 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005096/7.755, allocations: 2.184 MB / 3.095 GB, free: 318.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/7.756, allocations: 0.7016 MB / 3.096 GB, free: 318.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005062/7.757, allocations: 231.6 kB / 3.096 GB, free: 318.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/7.757, allocations: 38.69 kB / 3.096 GB, free: 318.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007558/7.758, allocations: 378.9 kB / 3.096 GB, free: 318.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 3.226e-06/7.758, allocations: 0 / 3.096 GB, free: 318.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.002377/7.76, allocations: 0.6178 MB / 3.097 GB, free: 318.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.658e-05/7.76, allocations: 239.7 kB / 3.097 GB, free: 317.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009399/7.761, allocations: 499.1 kB / 3.098 GB, free: 317.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.468e-05/7.761, allocations: 28.02 kB / 3.098 GB, free: 317.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000333/7.761, allocations: 370.7 kB / 3.098 GB, free: 317.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000218/7.762, allocations: 220.2 kB / 3.098 GB, free: 317.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/7.762, allocations: 0 / 3.098 GB, free: 317.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001286/7.762, allocations: 372 kB / 3.099 GB, free: 317 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004478/7.762, allocations: 178.1 kB / 3.099 GB, free: 317 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005807/7.763, allocations: 285.3 kB / 3.099 GB, free: 317 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005951/7.763, allocations: 225.8 kB / 3.099 GB, free: 316.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/7.764, allocations: 3.953 kB / 3.099 GB, free: 316.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002287/7.766, allocations: 0.6198 MB / 3.1 GB, free: 316.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/7.766, allocations: 5.562 kB / 3.1 GB, free: 316.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/7.766, allocations: 4.234 kB / 3.1 GB, free: 316.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009752/7.767, allocations: 84.3 kB / 3.1 GB, free: 316.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/7.768, allocations: 134.7 kB / 3.1 GB, free: 316.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002758/7.771, allocations: 1.46 MB / 3.101 GB, free: 315.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/7.772, allocations: 59 kB / 3.101 GB, free: 315.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-05/7.772, allocations: 22.97 kB / 3.102 GB, free: 315.6 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 (72): * Single equations (assignments): 71 * 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.0002463/7.773, allocations: 134.9 kB / 3.102 GB, free: 315.5 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00231/7.775, allocations: 0.6138 MB / 3.102 GB, free: 315.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/7.775, allocations: 68.39 kB / 3.102 GB, free: 315.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003221/7.778, allocations: 0.8719 MB / 3.103 GB, free: 315.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/7.778, allocations: 8.719 kB / 3.103 GB, free: 315.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/7.779, allocations: 2.25 kB / 3.103 GB, free: 315.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/7.779, allocations: 4.406 kB / 3.103 GB, free: 315.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004591/7.783, allocations: 1.64 MB / 3.105 GB, free: 314.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/7.783, allocations: 1.859 kB / 3.105 GB, free: 314.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/7.784, allocations: 138.6 kB / 3.105 GB, free: 314.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000843/7.785, allocations: 85.89 kB / 3.105 GB, free: 314.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-05/7.785, allocations: 13.03 kB / 3.105 GB, free: 314.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002291/7.788, allocations: 1.484 MB / 3.106 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/7.788, allocations: 3.953 kB / 3.106 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002342/7.79, allocations: 0.7943 MB / 3.107 GB, free: 313.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005442/7.79, allocations: 269.7 kB / 3.107 GB, free: 313.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/7.791, allocations: 4.531 kB / 3.108 GB, free: 313.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009781/7.792, allocations: 49.16 kB / 3.108 GB, free: 313.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000202/7.792, allocations: 60.78 kB / 3.108 GB, free: 313.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.893e-05/7.792, allocations: 34.05 kB / 3.108 GB, free: 313.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007069/7.793, allocations: 393.6 kB / 3.108 GB, free: 313.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.713e-06/7.793, allocations: 0 / 3.108 GB, free: 313.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001539/7.794, allocations: 293.3 kB / 3.108 GB, free: 313.2 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 (81): * Single equations (assignments): 78 * 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.005235/7.799, allocations: 2.285 MB / 3.111 GB, free: 312.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00198/7.802, allocations: 0.6212 MB / 3.111 GB, free: 312.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/7.802, allocations: 1.281 kB / 3.111 GB, free: 312.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/7.803, allocations: 438.2 kB / 3.112 GB, free: 312.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001913/7.805, allocations: 219.5 kB / 3.112 GB, free: 312.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005998/7.811, allocations: 1.405 MB / 3.113 GB, free: 311.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006631/7.811, allocations: 1.006 MB / 3.114 GB, free: 311.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001465/7.813, allocations: 248 kB / 3.114 GB, free: 311.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007041/7.814, allocations: 332.6 kB / 3.115 GB, free: 311.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.052e-06/7.814, allocations: 0.9688 kB / 3.115 GB, free: 311.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09511/7.909, allocations: 22.25 MB / 3.136 GB, free: 309.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002408/7.909, allocations: 202.7 kB / 3.137 GB, free: 309.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.856/11.77, allocations: 3.609 kB / 3.137 GB, free: 309.3 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)