Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.59/1.59, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001228/0.001228, allocations: 179 kB / 326.5 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.021/2.021, allocations: 205.4 MB / 0.5775 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008809/0.0008809, allocations: 99.03 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003533, allocations: 10.5 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2494, allocations: 106.3 MB / 0.9001 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.004701/0.2542, allocations: 3.561 MB / 0.9036 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1541/0.4084, allocations: 127.2 MB / 1.028 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000739/0.4092, allocations: 11.94 kB / 1.028 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003748/0.4096, allocations: 75.33 kB / 1.028 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001369/0.4109, allocations: 449.4 kB / 1.028 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.4127, allocations: 0.603 MB / 1.029 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001112/0.4138, allocations: 0.7675 MB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006937/0.4145, allocations: 458.7 kB / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004541/0.415, allocations: 322.7 kB / 1.03 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004014/0.4154, allocations: 306.4 kB / 1.031 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.863e-05/0.4155, allocations: 24 kB / 1.031 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005811/0.4161, allocations: 247.6 kB / 1.031 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001719/0.4163, allocations: 167.3 kB / 1.031 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.4164, allocations: 189.1 kB / 1.031 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.4175, allocations: 1.033 MB / 1.032 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.4175, allocations: 3.938 kB / 1.032 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.284e-06/0.4175, allocations: 0 / 1.032 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.4175, allocations: 0 / 1.032 GB, free: 8.047 MB / 0.6823 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.002207/0.4197, allocations: 1.143 MB / 1.033 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.4198, allocations: 15.97 kB / 1.034 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001698/0.42, allocations: 134.9 kB / 1.034 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008673/0.4208, allocations: 186.6 kB / 1.034 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.4219, allocations: 0.6836 MB / 1.034 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001565/0.4221, allocations: 95.69 kB / 1.035 GB, free: 5.691 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.895e-05/0.4222, allocations: 72 kB / 1.035 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.4238, allocations: 0.8793 MB / 1.035 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.4238, allocations: 0 / 1.035 GB, free: 4.699 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.811e-05/0.4239, allocations: 39.95 kB / 1.036 GB, free: 4.66 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.4239, allocations: 16 kB / 1.036 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/0.4258, allocations: 1.097 MB / 1.037 GB, free: 3.547 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004107/0.4299, allocations: 2.447 MB / 1.039 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/0.432, allocations: 0.8845 MB / 1.04 GB, free: 120 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.837e-05/0.4321, allocations: 28.69 kB / 1.04 GB, free: 92 kB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008943/0.433, allocations: 459.1 kB / 1.04 GB, free: 15.62 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 3.116e-06/0.433, allocations: 0 / 1.04 GB, free: 15.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.003153/0.4362, allocations: 1.148 MB / 1.041 GB, free: 14.45 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.4363, allocations: 188.6 kB / 1.042 GB, free: 14.22 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007082/0.437, allocations: 0.586 MB / 1.042 GB, free: 13.63 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.304e-05/0.4371, allocations: 41.7 kB / 1.042 GB, free: 13.58 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002994/0.4374, allocations: 376.4 kB / 1.043 GB, free: 13.21 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002271/0.4376, allocations: 244.4 kB / 1.043 GB, free: 12.96 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.4377, allocations: 16 kB / 1.043 GB, free: 12.95 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.4378, allocations: 378.8 kB / 1.043 GB, free: 12.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005307/0.4384, allocations: 237.2 kB / 1.043 GB, free: 12.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000611/0.439, allocations: 338.7 kB / 1.044 GB, free: 11.98 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006306/0.4396, allocations: 275.1 kB / 1.044 GB, free: 11.71 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4396, allocations: 0 / 1.044 GB, free: 11.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001918/0.4416, allocations: 0.7742 MB / 1.045 GB, free: 10.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.4416, allocations: 6.969 kB / 1.045 GB, free: 10.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.4416, allocations: 3.984 kB / 1.045 GB, free: 10.92 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005811/0.4422, allocations: 84.94 kB / 1.045 GB, free: 10.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006327/0.4429, allocations: 159.8 kB / 1.045 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00209/0.445, allocations: 1.52 MB / 1.047 GB, free: 9.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006693/0.4456, allocations: 98.41 kB / 1.047 GB, free: 8.926 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.692e-05/0.4457, allocations: 31.97 kB / 1.047 GB, free: 8.895 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.0004853/0.4462, allocations: 257.6 kB / 1.047 GB, free: 8.633 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.4463, allocations: 75.06 kB / 1.047 GB, free: 8.559 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002462/0.4488, allocations: 1.1 MB / 1.048 GB, free: 7.438 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.4488, allocations: 8 kB / 1.048 GB, free: 7.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.4488, allocations: 0 / 1.048 GB, free: 7.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.4489, allocations: 7.984 kB / 1.048 GB, free: 7.422 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003382/0.4522, allocations: 1.959 MB / 1.05 GB, free: 5.402 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.4523, allocations: 0 / 1.05 GB, free: 5.402 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006104/0.4529, allocations: 155.8 kB / 1.05 GB, free: 5.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005005/0.4534, allocations: 84.77 kB / 1.05 GB, free: 5.164 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.558e-05/0.4535, allocations: 23.98 kB / 1.05 GB, free: 5.141 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001791/0.4553, allocations: 1.563 MB / 1.052 GB, free: 3.438 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4553, allocations: 0 / 1.052 GB, free: 3.438 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/0.4573, allocations: 0.9726 MB / 1.053 GB, free: 2.445 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004833/0.4578, allocations: 279.7 kB / 1.053 GB, free: 2.152 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.4579, allocations: 20 kB / 1.053 GB, free: 2.133 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006039/0.4585, allocations: 71.94 kB / 1.053 GB, free: 2.062 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.4587, allocations: 68.89 kB / 1.053 GB, free: 1.996 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.891e-05/0.4587, allocations: 31.98 kB / 1.053 GB, free: 1.965 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005551/0.4593, allocations: 434.9 kB / 1.054 GB, free: 1.547 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4593, allocations: 0 / 1.054 GB, free: 1.547 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008556/0.4602, allocations: 275.2 kB / 1.054 GB, free: 1.277 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.5206/0.9808, allocations: 1.968 MB / 1.056 GB, free: 153.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002547/0.9834, allocations: 0.7731 MB / 1.056 GB, free: 153.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.9834, allocations: 2.594 kB / 1.056 GB, free: 153.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009942/0.9844, allocations: 0.5208 MB / 1.057 GB, free: 153.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.9857, allocations: 238.1 kB / 1.057 GB, free: 153.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009392/0.9951, allocations: 5.201 MB / 1.062 GB, free: 151.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000611/0.9957, allocations: 1.032 MB / 1.063 GB, free: 150.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009723/0.9967, allocations: 253.7 kB / 1.064 GB, free: 150.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005389/0.9973, allocations: 374 kB / 1.064 GB, free: 150.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.673e-06/0.9973, allocations: 0 / 1.064 GB, free: 150.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05244/1.05, allocations: 19.95 MB / 1.083 GB, free: 143.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/1.05, allocations: 293.2 kB / 1.084 GB, free: 143.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.713/3.763, allocations: 0 / 1.084 GB, free: 143.1 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)