Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 198.4 kB / 16.14 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.22/1.22, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.306/2.306, allocations: 437 MB / 0.7099 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.91 kB / 0.8687 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4697/0.4709, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005377/0.4763, allocations: 4.966 MB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1285/0.6048, allocations: 148.3 MB / 1.166 GB, free: 8.898 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007582/0.6056, allocations: 15.94 kB / 1.166 GB, free: 8.883 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006641/0.6063, allocations: 162.8 kB / 1.167 GB, free: 8.723 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00161/0.608, allocations: 489.1 kB / 1.167 GB, free: 8.246 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.6097, allocations: 0.7389 MB / 1.168 GB, free: 7.512 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001376/0.6111, allocations: 1.331 MB / 1.169 GB, free: 6.176 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008027/0.6119, allocations: 0.569 MB / 1.17 GB, free: 5.59 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000613/0.6125, allocations: 442.2 kB / 1.17 GB, free: 5.156 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006186/0.6131, allocations: 493.7 kB / 1.171 GB, free: 4.672 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000186/0.6133, allocations: 60 kB / 1.171 GB, free: 4.613 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007513/0.6141, allocations: 399.6 kB / 1.171 GB, free: 4.223 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002458/0.6143, allocations: 247 kB / 1.171 GB, free: 3.98 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000506/0.6148, allocations: 0.5166 MB / 1.172 GB, free: 3.461 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.6164, allocations: 1.573 MB / 1.173 GB, free: 1.883 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.6164, allocations: 4 kB / 1.173 GB, free: 1.879 MB / 0.92 GB Notification: Performance of FrontEnd: time 7.41e-07/0.6164, allocations: 3.938 kB / 1.173 GB, free: 1.875 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.293e-05/0.6164, allocations: 0 / 1.173 GB, free: 1.875 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002751/0.6192, allocations: 1.46 MB / 1.175 GB, free: 368 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.6192, allocations: 8.031 kB / 1.175 GB, free: 360 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001731/0.6194, allocations: 139.6 kB / 1.175 GB, free: 212 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008933/0.6203, allocations: 187.4 kB / 1.175 GB, free: 24 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.6213, allocations: 0.7621 MB / 1.176 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.214e-05/0.6214, allocations: 66 kB / 1.176 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.6215, allocations: 87.94 kB / 1.176 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.623, allocations: 0.9457 MB / 1.177 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.6231, allocations: 0 / 1.177 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-05/0.6232, allocations: 40 kB / 1.177 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/0.6232, allocations: 24 kB / 1.177 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/0.6249, allocations: 1.128 MB / 1.178 GB, free: 12.89 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003637/0.6285, allocations: 2.767 MB / 1.181 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/0.6299, allocations: 0.9085 MB / 1.182 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005114/0.6305, allocations: 318.6 kB / 1.182 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.306e-05/0.6306, allocations: 32.69 kB / 1.182 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008551/0.6314, allocations: 0.5236 MB / 1.182 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=85): time 1.924e-06/0.6314, allocations: 0 / 1.182 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of matching and sorting (n=85): time 0.003052/0.6345, allocations: 1.259 MB / 1.184 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.165e-05/0.6346, allocations: 192.9 kB / 1.184 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006664/0.6352, allocations: 0.6372 MB / 1.184 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.249e-05/0.6353, allocations: 41.7 kB / 1.184 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/0.6356, allocations: 404.4 kB / 1.185 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000185/0.6358, allocations: 276.1 kB / 1.185 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/0.636, allocations: 154.5 kB / 1.185 GB, free: 5.141 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.6361, allocations: 394.7 kB / 1.186 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000469/0.6366, allocations: 253.9 kB / 1.186 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005655/0.6372, allocations: 383.3 kB / 1.186 GB, free: 4.09 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.6382, allocations: 0.6094 MB / 1.187 GB, free: 3.469 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.6382, allocations: 0 / 1.187 GB, free: 3.469 MB / 0.9356 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001756/0.64, allocations: 0.8409 MB / 1.188 GB, free: 2.617 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.64, allocations: 7.938 kB / 1.188 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.64, allocations: 4 kB / 1.188 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005545/0.6406, allocations: 80.89 kB / 1.188 GB, free: 2.523 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00061/0.6412, allocations: 167.7 kB / 1.188 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/0.643, allocations: 1.528 MB / 1.189 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006433/0.6437, allocations: 95.22 kB / 1.189 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.908e-05/0.6437, allocations: 31.98 kB / 1.19 GB, free: 0.5703 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003392/0.6441, allocations: 269.7 kB / 1.19 GB, free: 304 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.6442, allocations: 86.97 kB / 1.19 GB, free: 216 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002343/0.6466, allocations: 1.144 MB / 1.191 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.6466, allocations: 8 kB / 1.191 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.6466, allocations: 3.938 kB / 1.191 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.946e-06/0.6466, allocations: 3.984 kB / 1.191 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002967/0.6496, allocations: 2.027 MB / 1.193 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.6496, allocations: 7.984 kB / 1.193 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005666/0.6502, allocations: 151.8 kB / 1.193 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005/0.6507, allocations: 84.77 kB / 1.193 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.594e-05/0.6508, allocations: 31.97 kB / 1.193 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/0.6524, allocations: 1.54 MB / 1.195 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.6524, allocations: 0 / 1.195 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/0.6543, allocations: 1.054 MB / 1.196 GB, free: 9.922 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000327/0.6546, allocations: 287.6 kB / 1.196 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.6547, allocations: 19.98 kB / 1.196 GB, free: 9.602 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006811/0.6554, allocations: 67.84 kB / 1.196 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.6556, allocations: 80.88 kB / 1.196 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.917e-05/0.6557, allocations: 44.05 kB / 1.196 GB, free: 9.41 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004937/0.6562, allocations: 467 kB / 1.197 GB, free: 8.957 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6562, allocations: 0 / 1.197 GB, free: 8.957 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007616/0.6569, allocations: 327.2 kB / 1.197 GB, free: 8.637 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003213/0.6602, allocations: 2.106 MB / 1.199 GB, free: 6.688 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001489/0.6617, allocations: 0.8389 MB / 1.2 GB, free: 5.836 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.6617, allocations: 4 kB / 1.2 GB, free: 5.832 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008677/0.6625, allocations: 0.5356 MB / 1.2 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.6636, allocations: 283.8 kB / 1.201 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.6739, allocations: 7.047 MB / 1.208 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005005/0.6744, allocations: 1.04 MB / 1.209 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007654/0.6752, allocations: 266.9 kB / 1.209 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005009/0.6757, allocations: 403.3 kB / 1.209 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of SimCode: time 6.01e-07/0.6757, allocations: 0 / 1.209 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.087/7.763, allocations: 21.2 MB / 1.23 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003156/7.763, allocations: 313.2 kB / 1.23 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.591/12.35, allocations: 0 / 1.23 GB, free: 6.895 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)