Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.531/1.531, 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.001094/0.001094, allocations: 177.8 kB / 326.5 MB, free: 2.254 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.867/1.867, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.001068/0.001068, allocations: 99.98 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003206/0.0003207, allocations: 10.34 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2588, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004659/0.2635, allocations: 3.499 MB / 0.9036 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1591/0.4226, allocations: 127.2 MB / 1.028 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008221/0.4235, allocations: 11.94 kB / 1.028 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003905/0.4239, allocations: 71.34 kB / 1.028 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001424/0.4253, allocations: 425.1 kB / 1.028 GB, free: 12.33 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00178/0.4271, allocations: 0.593 MB / 1.029 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001062/0.4282, allocations: 0.7363 MB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006735/0.4288, allocations: 455.1 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004281/0.4293, allocations: 302.7 kB / 1.03 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003808/0.4297, allocations: 286.5 kB / 1.031 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.068e-05/0.4297, allocations: 20 kB / 1.031 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006222/0.4304, allocations: 255.6 kB / 1.031 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.4306, allocations: 155.3 kB / 1.031 GB, free: 9.559 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.4307, allocations: 185.1 kB / 1.031 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.4318, allocations: 1.017 MB / 1.032 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4318, allocations: 0 / 1.032 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4318, allocations: 3.938 kB / 1.032 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.4318, allocations: 0 / 1.032 GB, free: 8.348 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002022/0.4338, allocations: 1.108 MB / 1.033 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.4339, allocations: 8.031 kB / 1.033 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001602/0.4341, allocations: 134.8 kB / 1.033 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008376/0.4349, allocations: 190.6 kB / 1.034 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.436, allocations: 0.6681 MB / 1.034 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.583e-05/0.4361, allocations: 65.98 kB / 1.034 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.4362, allocations: 76 kB / 1.034 GB, free: 6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.4376, allocations: 0.8403 MB / 1.035 GB, free: 5.121 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.4376, allocations: 7.875 kB / 1.035 GB, free: 5.113 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.339e-05/0.4377, allocations: 32 kB / 1.035 GB, free: 5.082 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.4377, allocations: 23.95 kB / 1.035 GB, free: 5.059 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001596/0.4393, allocations: 1.065 MB / 1.036 GB, free: 3.988 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004275/0.4436, allocations: 2.384 MB / 1.039 GB, free: 1.539 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.445, allocations: 0.8011 MB / 1.039 GB, free: 0.7109 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.699e-05/0.4451, allocations: 44.66 kB / 1.039 GB, free: 0.668 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008001/0.446, allocations: 427.2 kB / 1.04 GB, free: 236 kB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 3.086e-06/0.446, allocations: 0 / 1.04 GB, free: 236 kB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.002837/0.4488, allocations: 1.09 MB / 1.041 GB, free: 15.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.4489, allocations: 188.6 kB / 1.041 GB, free: 14.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007563/0.4497, allocations: 0.5703 MB / 1.042 GB, free: 14.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.776e-05/0.4498, allocations: 37.7 kB / 1.042 GB, free: 14.26 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003233/0.4501, allocations: 372.3 kB / 1.042 GB, free: 13.89 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002128/0.4503, allocations: 240.4 kB / 1.042 GB, free: 13.66 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.4504, allocations: 8 kB / 1.042 GB, free: 13.65 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001932/0.4506, allocations: 386.8 kB / 1.043 GB, free: 13.26 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000422/0.451, allocations: 213.2 kB / 1.043 GB, free: 13.05 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005249/0.4515, allocations: 318.8 kB / 1.043 GB, free: 12.71 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004938/0.452, allocations: 263.1 kB / 1.043 GB, free: 12.46 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.4521, allocations: 0 / 1.043 GB, free: 12.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001691/0.4538, allocations: 0.7276 MB / 1.044 GB, free: 11.72 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.4538, allocations: 4 kB / 1.044 GB, free: 11.72 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.4538, allocations: 4 kB / 1.044 GB, free: 11.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000584/0.4544, allocations: 80.86 kB / 1.044 GB, free: 11.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005627/0.455, allocations: 143.8 kB / 1.044 GB, free: 11.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002036/0.457, allocations: 1.533 MB / 1.046 GB, free: 9.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006824/0.4577, allocations: 81.48 kB / 1.046 GB, free: 9.742 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.522e-05/0.4578, allocations: 23.98 kB / 1.046 GB, free: 9.719 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 (76): * Single equations (assignments): 75 * 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.0004395/0.4582, allocations: 249.8 kB / 1.046 GB, free: 9.465 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.4584, allocations: 79.34 kB / 1.046 GB, free: 9.387 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002231/0.4606, allocations: 1.021 MB / 1.047 GB, free: 8.348 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.4606, allocations: 8 kB / 1.047 GB, free: 8.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.4606, allocations: 0 / 1.047 GB, free: 8.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.4606, allocations: 11.97 kB / 1.047 GB, free: 8.328 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003202/0.4638, allocations: 1.869 MB / 1.049 GB, free: 6.398 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.4639, allocations: 3.953 kB / 1.049 GB, free: 6.395 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005559/0.4644, allocations: 147.8 kB / 1.049 GB, free: 6.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000502/0.465, allocations: 84.78 kB / 1.049 GB, free: 6.164 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.763e-05/0.465, allocations: 19.98 kB / 1.049 GB, free: 6.145 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001872/0.4669, allocations: 1.564 MB / 1.051 GB, free: 4.445 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4669, allocations: 0 / 1.051 GB, free: 4.445 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001833/0.4688, allocations: 0.9142 MB / 1.052 GB, free: 3.512 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004216/0.4692, allocations: 279.7 kB / 1.052 GB, free: 3.219 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.4693, allocations: 19.94 kB / 1.052 GB, free: 3.199 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000565/0.4699, allocations: 68.55 kB / 1.052 GB, free: 3.133 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.47, allocations: 60.91 kB / 1.052 GB, free: 3.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-05/0.4701, allocations: 31.98 kB / 1.052 GB, free: 3.039 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005781/0.4707, allocations: 419 kB / 1.053 GB, free: 2.637 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4707, allocations: 0 / 1.053 GB, free: 2.637 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008349/0.4715, allocations: 259.4 kB / 1.053 GB, free: 2.383 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 (87): * Single equations (assignments): 84 * 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.003198/0.4747, allocations: 1.927 MB / 1.055 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.4342/0.909, allocations: 0.7262 MB / 1.055 GB, free: 153.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/0.9091, allocations: 1.219 kB / 1.055 GB, free: 153.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.9103, allocations: 495.6 kB / 1.056 GB, free: 153.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.9116, allocations: 242 kB / 1.056 GB, free: 153.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008764/0.9203, allocations: 5.012 MB / 1.061 GB, free: 151.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005647/0.9209, allocations: 1.02 MB / 1.062 GB, free: 151 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009556/0.9219, allocations: 251.5 kB / 1.062 GB, free: 151 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005116/0.9224, allocations: 355.2 kB / 1.063 GB, free: 151 MB / 0.698 GB Notification: Performance of SimCode: time 1.994e-06/0.9224, allocations: 1.859 kB / 1.063 GB, free: 151 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05704/0.9795, allocations: 19.42 MB / 1.082 GB, free: 144.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/0.9797, allocations: 306.1 kB / 1.082 GB, free: 144.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.658/3.638, allocations: 2.812 kB / 1.082 GB, free: 144.2 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)