Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.431/2.431, 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.001608/0.001608, allocations: 173 kB / 360.6 MB, free: 7.285 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.307/2.307, allocations: 205.2 MB / 0.6191 GB, free: 12.18 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.001444/0.001444, allocations: 94.33 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.102e-05/3.102e-05, allocations: 0 / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8908/0.8909, allocations: 115.3 MB / 0.9634 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.091/6.982, allocations: 2.072 GB / 3.035 GB, free: 46.45 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003294/6.982, allocations: 98.89 kB / 3.035 GB, free: 46.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.975/7.957, allocations: 58 MB / 3.092 GB, free: 319.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.365e-06/7.957, allocations: 0 / 3.092 GB, free: 319.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001023/7.958, allocations: 23.7 kB / 3.092 GB, free: 319.4 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002918/7.96, allocations: 1.07 MB / 3.093 GB, free: 318.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/7.961, allocations: 12.77 kB / 3.093 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001685/7.962, allocations: 188.6 kB / 3.093 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001779/7.964, allocations: 0.6212 MB / 3.094 GB, free: 318.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001538/7.964, allocations: 34.44 kB / 3.094 GB, free: 318.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001929/7.964, allocations: 45.38 kB / 3.094 GB, free: 318.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002607/7.967, allocations: 0.9914 MB / 3.095 GB, free: 318.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/7.969, allocations: 0.7355 MB / 3.096 GB, free: 318.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.185e-05/7.969, allocations: 0 / 3.096 GB, free: 318.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/7.969, allocations: 0 / 3.096 GB, free: 318.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/7.969, allocations: 21.22 kB / 3.096 GB, free: 318.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006448/7.976, allocations: 2.283 MB / 3.098 GB, free: 317.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002675/7.979, allocations: 0.7879 MB / 3.099 GB, free: 317.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000623/7.979, allocations: 252 kB / 3.099 GB, free: 317.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000135/7.979, allocations: 32.2 kB / 3.099 GB, free: 317.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009262/7.98, allocations: 409.9 kB / 3.099 GB, free: 317.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 3.366e-06/7.98, allocations: 1.344 kB / 3.099 GB, free: 317.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.002833/7.983, allocations: 0.6787 MB / 3.1 GB, free: 317.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.141e-05/7.983, allocations: 245.3 kB / 3.1 GB, free: 317.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/7.984, allocations: 0.4938 MB / 3.101 GB, free: 317 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001227/7.984, allocations: 29.48 kB / 3.101 GB, free: 317 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003303/7.985, allocations: 375.8 kB / 3.101 GB, free: 316.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002376/7.985, allocations: 241.6 kB / 3.101 GB, free: 316.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-05/7.985, allocations: 2.906 kB / 3.101 GB, free: 316.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001542/7.985, allocations: 382.8 kB / 3.102 GB, free: 316.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004967/7.986, allocations: 194.1 kB / 3.102 GB, free: 316.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006031/7.986, allocations: 295.2 kB / 3.102 GB, free: 316.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007672/7.987, allocations: 251.8 kB / 3.102 GB, free: 316.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/7.987, allocations: 0 / 3.102 GB, free: 316.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002723/7.99, allocations: 0.6665 MB / 3.103 GB, free: 316.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/7.99, allocations: 5.406 kB / 3.103 GB, free: 316.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/7.99, allocations: 1.156 kB / 3.103 GB, free: 316.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009756/7.991, allocations: 83.02 kB / 3.103 GB, free: 316.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/7.992, allocations: 149.3 kB / 3.103 GB, free: 316.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002521/7.995, allocations: 1.462 MB / 3.105 GB, free: 314.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/7.996, allocations: 67.19 kB / 3.105 GB, free: 314.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/7.996, allocations: 28.73 kB / 3.105 GB, free: 314.9 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 (78): * Single equations (assignments): 77 * 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.0002695/7.997, allocations: 125.5 kB / 3.105 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002549/7.999, allocations: 0.6844 MB / 3.105 GB, free: 314.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002968/8, allocations: 77.27 kB / 3.106 GB, free: 314.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003543/8.003, allocations: 0.9759 MB / 3.107 GB, free: 314.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/8.003, allocations: 10.5 kB / 3.107 GB, free: 314.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/8.003, allocations: 2.438 kB / 3.107 GB, free: 314.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.021e-05/8.003, allocations: 6 kB / 3.107 GB, free: 314.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005172/8.008, allocations: 1.758 MB / 3.108 GB, free: 314.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/8.008, allocations: 0.7031 kB / 3.108 GB, free: 314.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/8.01, allocations: 166.3 kB / 3.108 GB, free: 314.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008454/8.011, allocations: 83.22 kB / 3.108 GB, free: 314.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.582e-05/8.011, allocations: 15.33 kB / 3.108 GB, free: 314.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0023/8.013, allocations: 1.481 MB / 3.11 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/8.013, allocations: 0.7031 kB / 3.11 GB, free: 313 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002938/8.016, allocations: 0.8696 MB / 3.111 GB, free: 312.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006276/8.017, allocations: 290.5 kB / 3.111 GB, free: 312.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/8.017, allocations: 5.672 kB / 3.111 GB, free: 312.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/8.018, allocations: 54.16 kB / 3.111 GB, free: 312.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002171/8.018, allocations: 66.17 kB / 3.111 GB, free: 312.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/8.018, allocations: 33.88 kB / 3.111 GB, free: 312.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007487/8.019, allocations: 418.4 kB / 3.112 GB, free: 312.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.01e-07/8.019, allocations: 0 / 3.112 GB, free: 312.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001504/8.021, allocations: 317.2 kB / 3.112 GB, free: 312.5 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 (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.005442/8.026, allocations: 2.363 MB / 3.114 GB, free: 311.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002098/8.028, allocations: 0.6674 MB / 3.115 GB, free: 311.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/8.028, allocations: 0.6562 kB / 3.115 GB, free: 311.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001205/8.029, allocations: 473.9 kB / 3.115 GB, free: 311.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/8.031, allocations: 224 kB / 3.116 GB, free: 311.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007017/8.039, allocations: 1.507 MB / 3.117 GB, free: 311 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008114/8.039, allocations: 1.035 MB / 3.118 GB, free: 310.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001727/8.041, allocations: 267.1 kB / 3.118 GB, free: 310.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001022/8.042, allocations: 362.4 kB / 3.119 GB, free: 310.3 MB / 0.948 GB Notification: Performance of SimCode: time 2.755e-06/8.042, allocations: 0 / 3.119 GB, free: 310.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09709/8.139, allocations: 23.43 MB / 3.142 GB, free: 308.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002571/8.14, allocations: 203.3 kB / 3.142 GB, free: 308.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.698/11.84, allocations: 0 / 3.142 GB, free: 308.3 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)