Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.416/1.416, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001171/0.001171, allocations: 172.4 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.965/1.965, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.0009369/0.0009367, allocations: 86.36 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003702, allocations: 9.25 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2356, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004404/0.2401, allocations: 3.409 MB / 0.9035 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1944/0.4345, allocations: 127.2 MB / 1.028 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007174/0.4353, allocations: 11.94 kB / 1.028 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003364/0.4356, allocations: 63.42 kB / 1.028 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00132/0.437, allocations: 426.5 kB / 1.028 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001792/0.4388, allocations: 0.5713 MB / 1.029 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001382/0.4402, allocations: 0.7129 MB / 1.029 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007635/0.4409, allocations: 443 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005301/0.4415, allocations: 286.8 kB / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004676/0.442, allocations: 280.3 kB / 1.03 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.498e-05/0.442, allocations: 23.94 kB / 1.03 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007716/0.4428, allocations: 243.7 kB / 1.031 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002087/0.443, allocations: 163.3 kB / 1.031 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001841/0.4432, allocations: 173.1 kB / 1.031 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.4445, allocations: 0.99 MB / 1.032 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4445, allocations: 0 / 1.032 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.276e-06/0.4445, allocations: 0 / 1.032 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.537e-05/0.4446, allocations: 0 / 1.032 GB, free: 8.551 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.002383/0.447, allocations: 1.088 MB / 1.033 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.447, allocations: 16.02 kB / 1.033 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000156/0.4472, allocations: 126.6 kB / 1.033 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008718/0.4481, allocations: 190.6 kB / 1.033 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.4492, allocations: 0.668 MB / 1.034 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.595e-05/0.4492, allocations: 58 kB / 1.034 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.87e-05/0.4493, allocations: 72 kB / 1.034 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.4507, allocations: 0.8169 MB / 1.035 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.4508, allocations: 0 / 1.035 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.37e-05/0.4508, allocations: 32 kB / 1.035 GB, free: 5.352 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/0.4509, allocations: 23.95 kB / 1.035 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/0.4525, allocations: 1.046 MB / 1.036 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004053/0.4566, allocations: 2.332 MB / 1.038 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/0.4581, allocations: 0.78 MB / 1.039 GB, free: 1.066 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/0.4582, allocations: 32.58 kB / 1.039 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008274/0.4591, allocations: 417.7 kB / 1.039 GB, free: 0.6094 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 3.577e-06/0.4591, allocations: 0 / 1.039 GB, free: 0.6094 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.002832/0.4619, allocations: 1.056 MB / 1.04 GB, free: 15.53 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.462, allocations: 196.4 kB / 1.041 GB, free: 15.29 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007274/0.4628, allocations: 0.5538 MB / 1.041 GB, free: 14.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.631e-05/0.4628, allocations: 37.7 kB / 1.041 GB, free: 14.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003056/0.4632, allocations: 368.3 kB / 1.042 GB, free: 14.32 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/0.4634, allocations: 232.6 kB / 1.042 GB, free: 14.09 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.4634, allocations: 12 kB / 1.042 GB, free: 14.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.4636, allocations: 374.8 kB / 1.042 GB, free: 13.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004207/0.464, allocations: 217.1 kB / 1.042 GB, free: 13.49 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005453/0.4646, allocations: 302.8 kB / 1.043 GB, free: 13.17 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005116/0.4651, allocations: 263.1 kB / 1.043 GB, free: 12.91 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.4651, allocations: 0 / 1.043 GB, free: 12.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00166/0.4668, allocations: 0.7081 MB / 1.044 GB, free: 12.19 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.4668, allocations: 4 kB / 1.044 GB, free: 12.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.4668, allocations: 7.891 kB / 1.044 GB, free: 12.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000577/0.4674, allocations: 84.83 kB / 1.044 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005498/0.468, allocations: 131.9 kB / 1.044 GB, free: 11.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002137/0.4701, allocations: 1.525 MB / 1.045 GB, free: 10.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006461/0.4708, allocations: 85.42 kB / 1.045 GB, free: 10.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-05/0.4709, allocations: 23.98 kB / 1.045 GB, free: 10.2 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 (73): * Single equations (assignments): 72 * 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.0004925/0.4714, allocations: 249.8 kB / 1.046 GB, free: 9.945 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.4715, allocations: 75.38 kB / 1.046 GB, free: 9.871 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002162/0.4737, allocations: 0.9662 MB / 1.047 GB, free: 8.887 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/0.4737, allocations: 8 kB / 1.047 GB, free: 8.879 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.4737, allocations: 0 / 1.047 GB, free: 8.879 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.4737, allocations: 3.984 kB / 1.047 GB, free: 8.875 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003107/0.4768, allocations: 1.79 MB / 1.048 GB, free: 7.027 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.4768, allocations: 0 / 1.048 GB, free: 7.027 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005211/0.4774, allocations: 147.8 kB / 1.049 GB, free: 6.883 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005003/0.4779, allocations: 84.77 kB / 1.049 GB, free: 6.797 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.006e-05/0.4779, allocations: 23.94 kB / 1.049 GB, free: 6.773 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001851/0.4798, allocations: 1.548 MB / 1.05 GB, free: 5.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.4798, allocations: 3.984 kB / 1.05 GB, free: 5.086 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/0.4817, allocations: 0.8907 MB / 1.051 GB, free: 4.172 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004731/0.4822, allocations: 263.8 kB / 1.051 GB, free: 3.895 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.4823, allocations: 16 kB / 1.051 GB, free: 3.879 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005452/0.4829, allocations: 64.59 kB / 1.051 GB, free: 3.816 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.483, allocations: 56.92 kB / 1.051 GB, free: 3.762 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.323e-05/0.4831, allocations: 31.98 kB / 1.051 GB, free: 3.73 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005868/0.4837, allocations: 398.8 kB / 1.052 GB, free: 3.344 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4837, allocations: 3.938 kB / 1.052 GB, free: 3.34 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000875/0.4846, allocations: 259.2 kB / 1.052 GB, free: 3.086 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 (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.003305/0.4879, allocations: 1.881 MB / 1.054 GB, free: 1.332 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001499/0.4894, allocations: 0.7083 MB / 1.055 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4894, allocations: 0 / 1.055 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008563/0.4903, allocations: 480.3 kB / 1.055 GB, free: 136 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4132/0.9035, allocations: 233.8 kB / 1.055 GB, free: 153.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00926/0.9128, allocations: 4.899 MB / 1.06 GB, free: 152 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005043/0.9133, allocations: 1.001 MB / 1.061 GB, free: 151.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009951/0.9143, allocations: 250.9 kB / 1.061 GB, free: 151.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004974/0.9148, allocations: 337.9 kB / 1.062 GB, free: 151.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.563e-06/0.9148, allocations: 0 / 1.062 GB, free: 151.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05187/0.9667, allocations: 18.93 MB / 1.08 GB, free: 145.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/0.967, allocations: 297.4 kB / 1.08 GB, free: 144.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.738/3.705, allocations: 3.734 kB / 1.08 GB, free: 144.8 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)